0

hi,

i am new to .net...

i created the many datagrid view at run time,

My datagrid view have a check box. when user clicks that check box.
i need to get that row information..

how can i set the event handler for all datagrid view......

i think u can understand my problem....

2
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by thegreatkk
0
DataGridView dgv = new DataGridView();
dgv.CellValueChanged += new DataGridViewCellEventHandler(dgv_CellValueChanged);
0

hi,

i followed the same thing in my program but i got some error

datagridview[intindex]=new Datagridview();

datagridview[intindex].cellvaluechanged +=new DataGridViewCellEventHandler(datatgridview[intindex]_CellValueChanged);


error is : missing ;
missing (
missing )


maximum i tried to solve. but i m not able to solve it

pls share ur idea

0

hi,

Finally i got the answer..

that my mistake. i m not created the event funtion. so thats why i faced that problem..

Thank you,

Regards,
The greatkk

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.