I am using a data table and a datagridview.
I am creating two columns in data grid view :
1)DataGridViewComboBoxColumn 2)DataGridViewTextBoxColumn.
The items of datagridviewcombo are the list of all items in
data table column 1.
I want that the data type of the DataGridViewTextBoxColumn
should be the same as the data type of the item selected
from the datagridviewcombo at runtime.
How can I do that.Also I want that each cell in column of
datatable should be of variable data type.
Pls help.
thnx.
Answer Posted / rajashekar reddy.y
use remote script to acheave at run time
or use java script methods like
document.getelementbyid('gridfind contol').onblur=textchange
()//method
this is normal java script method to change at client side
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Illustrate namespaces in c#?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
Show us in simple steps to create setup & deployment project for windows application?
how can one use hcl and c sharp together?
What is a partial class in c#?
Is c sharp free?
Can a constructor have a return type?
What is the compiler of c#?
What is a struct in C#?
How can I produce an assembly?
Explain About Web.config
Is there regular expression (regex) support available to c# developers?
In how many ways you can overload a method?
how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used
How do you serialize an object?