restrict inserting number of rows

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I restrict a user from inserting more than certain number of rows into a datagrid?
 
Hi,

When the limit is about to be exceeded set the DataView.AllowNew=false of
the DataView you are binding (DataTable.DefaultView if you are binging
DataTable)

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

aamirghanchi said:
How can I restrict a user from inserting more than certain number of rows
into a datagrid?
 
Back
Top