Skip to content

How to restrict a gridview for not taking more than 5 recor

vijay kumar

Asked Aug 1, 2014, 2:00 AM EDT1 answer
Share
LinkedInX
hi guys,


 i am  having  a web page ,in that web page  i have a gridview, in that gridview i have to  restrict the user for not entering more than 5 records.
 if the user try to enter has to show an alert message  

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    hey Vijay, u can count the no of rows in gridview everytime before saving and if these are >5 u can display a message...
    0