Results 1 to 2 of 2

Thread: How to delete a row in my database?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2006
    Posts
    40

    How to delete a row in my database?

    How can I delete a specific row in my database from my windows form?

    ex. the user chooses the data he wants to delete and press the delete button....

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to delete a row in my database?

    You need to execute an SQL DELETE statement against your database. I suggest that you read the ADO.NET tutorials in my signature. The four basic operations you would perform would be SELECT, DELETE, INSERT and UPDATE and those tutorials will explain how to do each of those. If you aren't too familiar with SQL syntax there is a link to an SQL tute in my sig too.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

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



Click Here to Expand Forum to Full Width