hello sir,
I want to display no. of rows a table contain from database on label, how can i do that..
Hi Priyanka,
You can do that by firing below query let say your table name is Employees
SELECT COUNT(*) counts FROM Employees
Get this value by ExecuteScalar and than set this value to appropriate control.
Thanks and Regards,
Rk_Hirpara.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.