GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  ADO.NET 2.0

 Print  |  
Question:  How can we retrieve the value which was selected from a combo box in a datagrid view.

Answer: The grid view consists of 3 columns which are combo Boxes. I want the string in the 1st column.


September 09, 2007 04:57:55 #1
 devendra   Member Since: Visitor    Total Comments: N/A 

RE: How can we retrieve the value which was selected f...
 
You have to first fill combo box by particular field then on selectiveindexchanged event of combobox fill the gridview by query("select * from tablename where field =' " & combobox1.text & '' ' ")
     

 

Back To Question