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!

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

Correct Code, just use ECC instead of EEC

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.