0

Hi friends
can any one help me to solve this problem.
I want to display the inputs of text boxes by using datadrid control.
i am using visual studio2005.I tried with the following code

(datagridobject).DataSource=(arrayname)

but this displaying column name as "length" and its values are numeric.How can solve this problem.
Can we add click event to rows of datagrid control.


with regards

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by Antenka
0

but this displaying column name as "length" and its values are numeric.How can solve this problem.

Here you can find the answers. There examples on VB, but good explanation of why that happens and how to solve it. Hope it will help you..

Can we add click event to rows of datagrid control.

This depends on why you need that. As one of the possible ways, you could catch DataGridView.CellMouseClick Event. And then locate the row, on which this cell placed.

This topic has been dead for over six months. 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.