473,386 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Edit Mode

Hi,
I have a datagrid attached to a dataset. It displays the records
fine however, when I edit one
of the cells it does not change the edit icon to the pencil icon on the
left of the row I just changed. I have the allowediting property set
to true which should upon editing a cell indicate
row is in edit mode. How can I set the edit mode ?

Thanks in advance.

Regards,

Jun 7 '06 #1
4 1898
A DataGrid web control or a Windows Forms DataGrid control?

Mike McIntyre

"wandii" <wa****@yahoo.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
Hi,
I have a datagrid attached to a dataset. It displays the records
fine however, when I edit one
of the cells it does not change the edit icon to the pencil icon on the
left of the row I just changed. I have the allowediting property set
to true which should upon editing a cell indicate
row is in edit mode. How can I set the edit mode ?

Thanks in advance.

Regards,

Jun 7 '06 #2
Wandii,

If you see the Pencil than it is in edit mode.
Witch clicking on the pencil again or on an other row, it leaves the edit
mode.

(Although this is as it should be)

I hope this helps,

Cor

"wandii" <wa****@yahoo.com> schreef in bericht
news:11**********************@u72g2000cwu.googlegr oups.com...
Hi,
I have a datagrid attached to a dataset. It displays the records
fine however, when I edit one
of the cells it does not change the edit icon to the pencil icon on the
left of the row I just changed. I have the allowediting property set
to true which should upon editing a cell indicate
row is in edit mode. How can I set the edit mode ?

Thanks in advance.

Regards,

Jun 7 '06 #3
Thank you for the respone.

Answer to Mike question it's a Windows Forms DataGrid control.

Cor - I can edit any cell of a row by clicking on it that works fine -
allowediting property is set to true, but while I am editing a row the
pencil icon does not appear seems to me
I need to set another property of the grid. I know if you see a pencil
icon it's in edit mode
how can i make it appear so a user can see it.

Thanks in advance.

Cor Ligthert [MVP] wrote:
Wandii,

If you see the Pencil than it is in edit mode.
Witch clicking on the pencil again or on an other row, it leaves the edit
mode.

(Although this is as it should be)

I hope this helps,

Cor

"wandii" <wa****@yahoo.com> schreef in bericht
news:11**********************@u72g2000cwu.googlegr oups.com...
Hi,
I have a datagrid attached to a dataset. It displays the records
fine however, when I edit one
of the cells it does not change the edit icon to the pencil icon on the
left of the row I just changed. I have the allowediting property set
to true which should upon editing a cell indicate
row is in edit mode. How can I set the edit mode ?

Thanks in advance.

Regards,


Jun 7 '06 #4
Wandii,

Do you mean with editing by the programcode?

The user would never see that, so fast that goes.

Cor

"wandii" <wa****@yahoo.com> schreef in bericht
news:11**********************@g10g2000cwb.googlegr oups.com...
Thank you for the respone.

Answer to Mike question it's a Windows Forms DataGrid control.

Cor - I can edit any cell of a row by clicking on it that works fine -
allowediting property is set to true, but while I am editing a row the
pencil icon does not appear seems to me
I need to set another property of the grid. I know if you see a pencil
icon it's in edit mode
how can i make it appear so a user can see it.

Thanks in advance.

Cor Ligthert [MVP] wrote:
Wandii,

If you see the Pencil than it is in edit mode.
Witch clicking on the pencil again or on an other row, it leaves the edit
mode.

(Although this is as it should be)

I hope this helps,

Cor

"wandii" <wa****@yahoo.com> schreef in bericht
news:11**********************@u72g2000cwu.googlegr oups.com...
> Hi,
> I have a datagrid attached to a dataset. It displays the records
> fine however, when I edit one
> of the cells it does not change the edit icon to the pencil icon on the
> left of the row I just changed. I have the allowediting property set
> to true which should upon editing a cell indicate
> row is in edit mode. How can I set the edit mode ?
>
> Thanks in advance.
>
> Regards,
>

Jun 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tamir Khason | last post by:
How to prevent the selected cell from being editable (visual) at DataGrid? Once click on cell (even readonly) there are cursor inside it and select text appears. How to prevent it Thankx
0
by: Alex | last post by:
Interested in more .NET stuff visit www.dedicatedsolutions.co.uk The DataList is not as powerful as the DataGrid. It requires more work from you since it has no default data presentation format....
3
by: Leo | last post by:
I have a datagrid with the first column as a Edit,Update,Cancel button column. The other 5 columns are template columns. When I click the Edit button in IE6 the row correctly displays the...
1
by: sck10 | last post by:
Hello, I am trying to change a value when a user goes into edit mode on a DetailsView control. I am trying to use the following, but can not figure out how to get to the bound field...
1
by: phamer | last post by:
Hello. My switchbaord contains 2 options: add a record and edit a record. So, of course, if I click add a record, the first form opens in add mode; if I click edit, the first form opens in edit...
1
by: Mark Stafford | last post by:
I am attempting to use a DetailsView control to view some data where the fields returned by the database are determined at runtime. I create the TemplateFields on the fly using a class that...
9
by: rn5a | last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB table. Users can modify the records using this DataGrid for which I am using EditCommandColumn in the DataGrid. This is the...
2
by: =?Utf-8?B?Z2FuZQ==?= | last post by:
Hi, In a gridview, How can i display different columns between item and edit modes. For eg. i have a sql that returns productname, categoryname, etc. In viewmode, i need to display only...
8
by: =?Utf-8?B?bWlrZWc=?= | last post by:
Hi, I am building a small Help Desk application for my company and need to be able to edit "open" help desk issues. I use a simple datagrid to display each issue (6 per page) , with an Edit...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.