943,912 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 649
  • VB.NET RSS
Jul 18th, 2008
0

dropdownlist

Expand Post »
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!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mirainc is offline Offline
9 posts
since Jul 2008
Jul 18th, 2008
0

Re: dropdownlist

vb Syntax (Toggle Plain Text)
  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.
Reputation Points: 1182
Solved Threads: 392
Posting Sensei
Jx_Man is offline Offline
3,140 posts
since Nov 2007
Jul 18th, 2008
0

Re: dropdownlist

Correct Code, just use ECC instead of EEC
Last edited by selvaganapathy; Jul 18th, 2008 at 11:13 am.
Reputation Points: 44
Solved Threads: 101
Posting Pro
selvaganapathy is offline Offline
547 posts
since Feb 2008
Jul 20th, 2008
0

Re: dropdownlist

want to add combobox in data grid and if i enter next row generated and combobox automatically generate how?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
manas91 is offline Offline
1 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: TreeViewCollection Help!
Next Thread in VB.NET Forum Timeline: Retrieve selected row from datagrid lookup and populate text box





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC