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.



I am using a data table and a datagridview. I am creating two columns in data grid view : 1)DataGr..

Answer / 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

More C Sharp Interview Questions

Are tuples immutable c#?

0 Answers  


Can you instantiate a struct without using a new operator in c#?

0 Answers  


Can abstract class instantiated c#?

0 Answers  


what is difference between destruct or and garbage collection ?

0 Answers   Wipro,


Integer at long type variable are not object.Support your answer with example.And explain the technique to convert from value type to reference type and vice-versa.

1 Answers   HCL,






Explain the difference between the debug class and trace class?

0 Answers  


Is there throws keyword in c#?

0 Answers  


What is the object class in c#?

0 Answers  


What is an int in c#?

0 Answers  


How does dependency injection work c#?

0 Answers  


What is a linked list c#?

0 Answers  


How to assign Null value to Var?

0 Answers   HCL,


Categories