Click here to Skip to main content
15,889,874 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to get count of list value from Cs Page to Aspx Page
Posted

1 solution

like below
C#
Label.Text = MyList.Count.ToString();
 
Share this answer
 
Comments
MAGuru 19-Jun-14 2:11am    
I have tried
alert(datalist.Count.ToString());
But its not working. please give me other option.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900