the selected inf of other combobox?How do you achieve it?
Answer / pankil patel
We can use Events and Delegates for this purpose.
1) Create one Delegate with one Parameter and event for it.
From SelectedIndexChanged event of combobox, fire new event
and pass parameter (selected value in combobox)
2) Point Delegate to the function where you want to use
this selected value.
| Is This Answer Correct ? | 0 Yes | 0 No |
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.
What is dictionary collection in c#?
What is data bind in c#?
What is ilasm.exe used for?
What is Dispose method in .NET ?
9 Answers 247Customer, KAP, TCS,
Are there constructors in c sharp?
difference between keyword internal and protected?
Why multiple inheritance is not possible in c#
windows c# using datagridview in edit form sql server
What Is A Satellite Assembly?
0 Answers PUCIT, Siebel Systems,
What is different between Implicit conversion and Explicit conversion in C#?
How do I register my code for use by classic com clients?
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)