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

What is the Difference between value and reference type?

12 Answers   Wipro,


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

0 Answers  


What standard types does c# use?

0 Answers  


Describe how a .net application is compiled and executed

0 Answers  


Explain how to add controls dynamically to the form using c#.net.

0 Answers  






Does c# provide copy constructor?

0 Answers  


What is response redirect in c#?

0 Answers  


What are floating point numbers?

0 Answers  


What is xml c#?

0 Answers  


List some Advantages of switch-case over if else?

0 Answers  


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

0 Answers   Avanade,


What is the use of GC.KeepAlive Method?

0 Answers   HCL,


Categories