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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datagrid edit... but not add row 1

Status
Not open for further replies.

robertkjr3d

Programmer
Dec 19, 2003
36
US
I have a datagrid in a C# Win32 application in VS03. I do wish to be able to edit rows.. (or the one row). But I do not want to allow adding rows.

How can I accomplish this? I know this is something simple, but my brain is not giving it to me.
 
Yes... But the Datagrid at least gives them the look of an add row. I don't want to make them think that they can add a row.
 
I'm sorry, can you please explain what you mean? Is there a blank row at the top of your grid? Is there a button column with 'Add Row' or something?
 
He wants something like...

AllowEdit = true
AllowAdd = false (without the extra blank row)

:)
 
Yes sir... that's it! But I'm doubting there is a 'AllowAdd' = false
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top