Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable new line in datagrid

Status
Not open for further replies.

magmo

Programmer
May 26, 2004
291
SE
Hi


I wonder if there is a way to disable the last (new) line in a datagrid.



Regards
 
Yes. Create a read-only DataView and use that for the datasource.
 
Is there a way to do this when I use a dataset?
 
Solved it by setting datagrid to readonly
 
Readonly does not allow you to make any updates. The only way to accomplish updates without new rows is to use a DataView.
 
Well thats fine, beacuse I only use it to write out database rows together with a checkbox so that the user can select one or more rows.


/Magnus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top