Konkretne se jedna o tento kod,je to v podstate jiz vyresene podminkou,pokud je gridview count roven 0, tak nezobraz. Jinak filtrovani je pres.
'Filtrovani
If Not (DropDownList1.SelectedIndex = 0) And Not (TextBox1.Text = "") Then
duData.RowFilter = "processcd = '" & DropDownList1.SelectedItem.Value & "' AND " + "[resultsym] LIKE '" + TextBox1.Text + "%'"
End If
'/Filtrovani
|