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 / 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 |
What are nullable types? Is Nullable<int> I and int ?i are same.
Is struct object oriented?
Where is the output of TextWriterTraceListener redirected?
Can you store multiple data types in System.Array?
20 Answers Satyam, Siebel Systems,
Why is it not a good idea to use empty destructors?
What is the gac, and where is it located?
Can dictionary have duplicate keys c#?
What is the difference between array and list in c#?
How many types of methods are there in c#?
What is short circuit logical evaluation?
Is string primitive?
Why do we write system in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)