How can I disable the "Add New Record" function in an SQL DataGridView?  
Author Message
furjaw





PostPosted: Visual Basic Express Edition, How can I disable the "Add New Record" function in an SQL DataGridView? Top

Visual Basic 2005 Express:

I have a DataGridView on my form for the doctor database.

I want to permit only one record in this database.

I will deploy the app with a blank record in this database which the user can change to his name and address.

How can I disable the "Add New Record" function



Visual Studio Express Editions35  
 
 
Tall Dude





PostPosted: Visual Basic Express Edition, How can I disable the "Add New Record" function in an SQL DataGridView? Top

Me.DataGridView1.AllowUserToAddRows = False