Results 1 to 3 of 3

Thread: DataGridView Help!

  1. #1
    dbodenheimer is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jan 2010
    Posts
    2
    Reputation
    0

    DataGridView Help!

    I'm new to VB.net 2008 and I'm trying to use a DataGridView Control to Add/Edit/Delete records in a simple database table. I used the wizard to create the datagridview and it created a dataset a bindingsource and a tableadaptor.

    When i run my project, data that is in the database table is displayed correctly, but I can't add/edit/delete.

    What events/actions do I need to perform to add these capabilities?

  2. #2
    Hack's Avatar
    Hack is offline VB.NET Forum Master
    .NET Framework
    .NET 3.0 (VS 2005/2008)
    Join Date
    Apr 2009
    Location
    Sterling Heights, MI
    Posts
    336
    Reputation
    109
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Good Article: Language Enhancements In VS 2010
    Microsoft MVP 2005/2006/2007/2008/2009/2010

  3. #3
    dbodenheimer is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Jan 2010
    Posts
    2
    Reputation
    0
    Hack,

    Thanks for the code example. I was hoping for a vb snippet. Any thoughts?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking