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
Which is faster abstract class or interface in c#?
What are the types of operator?
Explain the Usage of web.config
What is the difference between finally and finalize block?
What is the advantage of static class in c#?
Which property of the textbox cannot be changed at runtime?
What is an example of a delegate?
Can I do things in il that I can't do in c#?
What is the meaning of 0 in c#?
Why do we need reflection in c#?
Can abstract class be sealed?
Is there a way of specifying which block or loop to break out of when working with nested loops?
What is the purpose of dictionary in c#?
What is polymorphism c# example?
3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close