kabila
Posts: 30
|
Posted: 04/05/2004, 9:07 PM |
|
I created a grid - pmthistory and has a label L1count. I want to store the count of rows found. I am using the following per the example in the BeforeShow of the label in the Grid
//Control L1count Event BeforeShow. Action Retrieve Value for Control @134-A082F33A
pmthistoryL1count.Text =(pmthistory.Recordset.RecordCount).ToString();
//End Control L1count Event BeforeShow. Action Retrieve Value for Control
I am getting compile error...Will appreciate any pointers..
thank you..
-s
|
|
|
peterr
Posts: 5971
|
Posted: 04/05/2004, 11:53 PM |
|
Looks like you're trying to use ASP-type syntax. If using C# it should be:
pmthistoryL1count.Text = ((pmthistoryItem[])pmthistoryRepeater.DataSource).Length.ToString();
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|