Based on OP's Comment,
Quote:
Yes ..Its working, Exacting you answer is write but also need in database also only 10 records accepting ..tell me any suggestion
Sai Prasad anumolu
SqlCommand cmd = new SqlCommand("Select top 10 *from Tbl_TextAdds", con);
try this to get only 10 records from the database and bind it to gridview.
Check and share your findings.
:)
EDIT: For OP's another requirement i.e Limit table rows.
You have to trigger the table using the link below.
Possible solution can be found
HERE.