Getting ComboBox Value

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2009
Posts: 7
Reputation: Moody1 is an unknown quantity at this point 
Solved Threads: 0
Moody1 Moody1 is offline Offline
Newbie Poster

Getting ComboBox Value

 
0
  #1
Nov 2nd, 2009
Hello guys,
i'm using Windows Application C#
i want to get a comboBox value which in Form1 from Form2
ex.
in the form1 i have comboBox1 + Button, now after clicking that button i'm moving to form2
in the form2 i want to load some information from DB depending on the ComboBox1 value which in form1
so any help?
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 446
Reputation: Ramesh S will become famous soon enough Ramesh S will become famous soon enough 
Solved Threads: 82
Ramesh S Ramesh S is offline Offline
Posting Pro in Training
 
0
  #2
Nov 3rd, 2009
Hi Moody,

Post WinForms related questions here in future.

Hope these links will help you.

Passing Data between Windows Forms - C# Corner
Passing Data Between Forms - CodeProject
C# Information Between WinForms
Last edited by Ramesh S; Nov 3rd, 2009 at 4:42 am.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 7
Reputation: Moody1 is an unknown quantity at this point 
Solved Threads: 0
Moody1 Moody1 is offline Offline
Newbie Poster
 
0
  #3
Nov 3rd, 2009
Hi Ramesh,
thanks a lot i'll check them. and sorry for posting in the wrong place.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 6
Reputation: mailme.vibin is an unknown quantity at this point 
Solved Threads: 1
mailme.vibin mailme.vibin is offline Offline
Newbie Poster
 
0
  #4
Nov 3rd, 2009
use a secession variable. first save the value in that variable. so u can use it the other form
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC