Click here to Skip to main content
15,903,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I need help with ADO.NET Pin
fiaolle15-Feb-09 10:19
fiaolle15-Feb-09 10:19 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak15-Feb-09 18:03
mveDave Kreskowiak15-Feb-09 18:03 
GeneralRe: I need help with ADO.NET Pin
fiaolle15-Feb-09 20:52
fiaolle15-Feb-09 20:52 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak16-Feb-09 2:15
mveDave Kreskowiak16-Feb-09 2:15 
GeneralRe: I need help with ADO.NET Pin
fiaolle16-Feb-09 5:25
fiaolle16-Feb-09 5:25 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak16-Feb-09 13:52
mveDave Kreskowiak16-Feb-09 13:52 
GeneralRe: I need help with ADO.NET Pin
fiaolle16-Feb-09 21:41
fiaolle16-Feb-09 21:41 
GeneralRe: I need help with ADO.NET Pin
Dave Kreskowiak17-Feb-09 1:44
mveDave Kreskowiak17-Feb-09 1:44 
OK. It's obvious that you're really, really confused and a beginner at programming in general. You're passing ComboBox's and table names when you don't need either. All you need to pass is the ID selected in the ComboBox. The method you call to delete the record should already know which table it's dealing with. You also don't know how DataAdapters work and your SQL also needs work to support parameters. Describing all of this is way beyond the focus of a forum post and would take a large amount of space.

I couldn't tell you how to fix this because, really, it would involved scraping the code you have entirely, and starting over from scratch. I seriously recommend picking up a beginners book on VB.NET and ADO.NET.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: I need help with ADO.NET Pin
fiaolle17-Feb-09 3:40
fiaolle17-Feb-09 3:40 
QuestionNewbie - User Selection Needed Pin
JayMar814-Feb-09 8:27
JayMar814-Feb-09 8:27 
AnswerRe: Newbie - User Selection Needed Pin
Dave Kreskowiak15-Feb-09 4:34
mveDave Kreskowiak15-Feb-09 4:34 
GeneralRe: Newbie - User Selection Needed Pin
JayMar815-Feb-09 7:31
JayMar815-Feb-09 7:31 
QuestionUse of Timer in VB 6.0 Pin
mjrose14-Feb-09 4:34
mjrose14-Feb-09 4:34 
AnswerRe: Use of Timer in VB 6.0 Pin
Zaegra14-Feb-09 23:45
Zaegra14-Feb-09 23:45 
QuestionData in Datagridview Pin
ivo7513-Feb-09 20:20
ivo7513-Feb-09 20:20 
AnswerRe: Data in Datagridview Pin
Andy_L_J13-Feb-09 22:02
Andy_L_J13-Feb-09 22:02 
GeneralRe: Data in Datagridview Pin
ivo7513-Feb-09 22:26
ivo7513-Feb-09 22:26 
QuestionCreate Structure Dynamically Pin
Samir Ibrahim13-Feb-09 20:11
Samir Ibrahim13-Feb-09 20:11 
AnswerRe: Create Structure Dynamically Pin
Dave Kreskowiak14-Feb-09 1:08
mveDave Kreskowiak14-Feb-09 1:08 
GeneralRe: Create Structure Dynamically Pin
Samir Ibrahim14-Feb-09 2:37
Samir Ibrahim14-Feb-09 2:37 
GeneralRe: Create Structure Dynamically Pin
Luc Pattyn14-Feb-09 2:43
sitebuilderLuc Pattyn14-Feb-09 2:43 
GeneralRe: Create Structure Dynamically Pin
Samir Ibrahim14-Feb-09 3:14
Samir Ibrahim14-Feb-09 3:14 
GeneralRe: Create Structure Dynamically Pin
Luc Pattyn14-Feb-09 4:58
sitebuilderLuc Pattyn14-Feb-09 4:58 
GeneralRe: Create Structure Dynamically Pin
Dave Kreskowiak15-Feb-09 3:50
mveDave Kreskowiak15-Feb-09 3:50 
GeneralRe: Create Structure Dynamically Pin
Samir Ibrahim15-Feb-09 19:41
Samir Ibrahim15-Feb-09 19:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.