J
Joe777
Hi all,
I am attempting to return the number of returned rows in a table
within a dataset and display that on a label on my page. I figured
this would be a fairly easy process, but alas it seems I am missing
something.
This is in my Sub Page_Load after my db connection and dataset
creation, etc...:
mylabel.Text = ds.Tables(0).Rows.Count
My label in my html is this:
<asp:label ID ="mylabel" runat="server"/>
What am I missing?
cheers, Joe
I am attempting to return the number of returned rows in a table
within a dataset and display that on a label on my page. I figured
this would be a fairly easy process, but alas it seems I am missing
something.
This is in my Sub Page_Load after my db connection and dataset
creation, etc...:
mylabel.Text = ds.Tables(0).Rows.Count
My label in my html is this:
<asp:label ID ="mylabel" runat="server"/>
What am I missing?
cheers, Joe