Posted on: 10/5/2012 12:41:09 AM | Views : 301

I HAVE A GRID VIEW IN asp.net + VB Code. There is a drop down list and the selected data is displayed in web page. I placed a label in web page and code behind i used following code.
Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Label1.Text = GridView1.Rows.Count.ToString() End Sub The row count is not displayed in label. as the same code works in the page without dropdownlist selection.



...

Go to the complete details ...