954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

dropdownlist

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!

mirainc
Newbie Poster
9 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 
Private Sub DDL_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
    If ComboBox1.SelectedItem = "EEC" Then
            EECGridview.Visible = True
            MITGridview.Visible = False
    Else
            EECGridview.Visible = False
            MITGridview.Visible = True
   End If
End Sub
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

Correct Code, just use ECC instead of EEC

selvaganapathy
Posting Pro
547 posts since Feb 2008
Reputation Points: 44
Solved Threads: 100
 

want to add combobox in data grid and if i enter next row generated and combobox automatically generate how?

manas91
Newbie Poster
1 post since May 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You