PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
insert message Help!
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
insert message Help!
![]() |
insert message Help! |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I'm working on a small sql project to insert some job numbers, what I need
to do is tell the user in a message box that the insert was either successful or unsuccessful, I am curious the best way to do this? would I need to use some if then statements? I would appreciate any help on this. Right no the code works but I cant figure out how to do a message retuning successful. Thank You.... [MY CODE] 'open sql connection... SqlConn.Open() 'sql insert command(stored proc) & parameters... SqlInsertCommand1.Parameters("@JobNumber").Value = txtJobNumber.Text 'sql execute command.... SqlInsertCommand1.ExecuteNonQuery() 'close sql connection... SqlConn.Close() |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

