PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Edit Only DataGrid.

Reply

Edit Only DataGrid.

 
Thread Tools Rate Thread
Old 25-06-2003, 04:40 PM   #1
Hex Adezimal
Guest
 
Posts: n/a
Default Edit Only DataGrid.


Is it possible to hide the last row or "insert row" line of a datagrid?
Setting it to read only will not work. I want the users to only be able to
edit existing rows.

Thanks,

Hex


  Reply With Quote
Old 26-06-2003, 09:04 AM   #2
Claes Bergefall
Guest
 
Posts: n/a
Default Re: Edit Only DataGrid.

Bind to a DataView and set its AllowNew property to false

/claes

"Hex Adezimal" <hadezimal@hotmail.com> wrote in message
news:eS9m2hzODHA.3088@TK2MSFTNGP10.phx.gbl...
> Is it possible to hide the last row or "insert row" line of a datagrid?
> Setting it to read only will not work. I want the users to only be able

to
> edit existing rows.
>
> Thanks,
>
> Hex
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off