dropdownlist

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

Join Date: Jul 2008
Posts: 9
Reputation: mirainc is an unknown quantity at this point 
Solved Threads: 0
mirainc mirainc is offline Offline
Newbie Poster

dropdownlist

 
0
  #1
Jul 18th, 2008
hey all..

i have a drop down list with 2 data in it..ECC and MIT

is it possible to bind the drop down list to 2 gridview?

for example, when i click on ECC only the ecc gridview is suppose to show..
the MIT gridview should not be visible..

thanks in advance!
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 2,641
Reputation: Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light Jx_Man is a glorious beacon of light 
Solved Threads: 245
Jx_Man's Avatar
Jx_Man Jx_Man is offline Offline
Posting Maven

Re: dropdownlist

 
0
  #2
Jul 18th, 2008
  1. Private Sub DDL_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
  2. If ComboBox1.SelectedItem = "EEC" Then
  3. EECGridview.Visible = True
  4. MITGridview.Visible = False
  5. Else
  6. EECGridview.Visible = False
  7. MITGridview.Visible = True
  8. End If
  9. End Sub
Last edited by Jx_Man; Jul 18th, 2008 at 3:46 am.
Never tried = Never Know
So, Please do something before post your thread.
* PM Asking will be ignored *
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 509
Reputation: selvaganapathy is an unknown quantity at this point 
Solved Threads: 88
selvaganapathy's Avatar
selvaganapathy selvaganapathy is offline Offline
Posting Pro

Re: dropdownlist

 
0
  #3
Jul 18th, 2008
Correct Code, just use ECC instead of EEC
Last edited by selvaganapathy; Jul 18th, 2008 at 11:13 am.
KSG
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 1
Reputation: manas91 is an unknown quantity at this point 
Solved Threads: 0
manas91 manas91 is offline Offline
Newbie Poster

Re: dropdownlist

 
0
  #4
Jul 20th, 2008
want to add combobox in data grid and if i enter next row generated and combobox automatically generate how?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC