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


Please Help Members By Posting Answers For Below Questions

Which is faster abstract class or interface in c#?

719


What are the types of operator?

625


Explain the Usage of web.config

766


What is the difference between finally and finalize block?

694


What is the advantage of static class in c#?

679


Which property of the textbox cannot be changed at runtime?

657


What is an example of a delegate?

695


Can I do things in il that I can't do in c#?

703


What is the meaning of 0 in c#?

744


Why do we need reflection in c#?

679


Can abstract class be sealed?

642


Is there a way of specifying which block or loop to break out of when working with nested loops?

732


What is the purpose of dictionary in c#?

637


What is polymorphism c# example?

672


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

1617