473,503 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Editable windows form datagrid?

Hi there,

Is there anyone knows how to make windows form datagrid that is bound to an
array editable? How to catch when a cell has been edited?

Thank you for your help.

Nina
Nov 21 '05 #1
3 2109
Hi,

The class contained in the array that is displayed in the datagrid
must implement IEditableObject.

http://msdn.microsoft.com/library/de...classtopic.asp

Example that uses an arraylist instead of an array
http://www.onteorasoftware.com/downl...todatagrid.zip

Ken
---------------------
"Nina" <Ni**@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
Hi there,

Is there anyone knows how to make windows form datagrid that is bound to an
array editable? How to catch when a cell has been edited?

Thank you for your help.

Nina
Nov 21 '05 #2
Hi Ken,

Thank you so much for your help. I'm new to VB.Net. I don't have problem
binding array to datagrid, but am not sure if I could figure out how to
implement a class to IEditableObject. Could you please give me more specific
information on that?

I appreciate your help greatly.

Nina

"Ken Tucker [MVP]" wrote:
Hi,

The class contained in the array that is displayed in the datagrid
must implement IEditableObject.

http://msdn.microsoft.com/library/de...classtopic.asp

Example that uses an arraylist instead of an array
http://www.onteorasoftware.com/downl...todatagrid.zip

Ken
---------------------
"Nina" <Ni**@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
Hi there,

Is there anyone knows how to make windows form datagrid that is bound to an
array editable? How to catch when a cell has been edited?

Thank you for your help.

Nina

Nov 21 '05 #3
Hi,

http://msdn.microsoft.com/library/de...atabinding.asp

Ken
-----------------------
"Nina" <Ni**@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
Hi Ken,

Thank you so much for your help. I'm new to VB.Net. I don't have problem
binding array to datagrid, but am not sure if I could figure out how to
implement a class to IEditableObject. Could you please give me more
specific
information on that?

I appreciate your help greatly.

Nina

"Ken Tucker [MVP]" wrote:
Hi,

The class contained in the array that is displayed in the datagrid
must implement IEditableObject.

http://msdn.microsoft.com/library/de...classtopic.asp

Example that uses an arraylist instead of an array
http://www.onteorasoftware.com/downl...todatagrid.zip

Ken
---------------------
"Nina" <Ni**@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
Hi there,

Is there anyone knows how to make windows form datagrid that is bound to
an
array editable? How to catch when a cell has been edited?

Thank you for your help.

Nina

Nov 21 '05 #4

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

Similar topics

0
4022
by: Faith | last post by:
I found code on www.codeproject.com. Here is a sample it is called DataGridColumnDropDown. I modified it to use the text box when I wanted it to depended on a certain search criteria. Public...
0
1161
by: Andla Rand | last post by:
Hi, Could you help me to understand how datagrid works. I'm trying to make a datagrid editable. Now most of the tutorials I read says that i should turn the Enable ViewState off. Why is that? ...
1
1364
by: mai via DotNetMonster.com | last post by:
hi, i'm sort of a newbie in .net and i'm currently doing my major project. i would like to know if it is possible to have a datagrid that would not be having a database as its datasource? and is it...
4
1784
by: Stephan Bour | last post by:
Hi, I have a datagrid databound to a SQL query. I'd like to allow editing of some columns but not all. Is there a way to turn off the conversion of the datagrid cells to textboxes for some columns...
2
1404
by: Jesper Stocholm | last post by:
I have a challenge, that I do not seem to be able to solve. I have an "overview"-page that presently displays data from 2 columns in a database table. The users should be allowed to edit data in...
0
1331
by: DaveR | last post by:
I have a webform with a two-column datagrid based on an Arraylist. The Arraylist draws the data for the two columns from two different tables in an SQL database. The data is displayed in datagrid...
7
2292
by: Diane | last post by:
Hi- I've been struggling with this problem and none of the fixes posted seem to help out at all. Yet, it seems like such a simple problem... I have a DataGrid, and load it up with data on...
6
1599
by: Richard L Rosenheim | last post by:
I'm sure it can be done, I haven't been able to find the right article yet. I want to be able to filter the records that the datagrid displays, but still have an editable datagrid. That is, I...
1
2390
by: Joe Spears | last post by:
Hi I want to display a datagrid summary of a datatable. The grid will not show all the fields, but when the user selects a row, I want the other controls (text boxes) to also bind to the same row...
0
7072
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
7271
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.