Re: Query Problems
- From: "Master Programmer" <master_programmer@xxxxxxxxxx>
- Date: 4 Dec 2006 14:47:08 -0800
thanks
The Grand Master
FishingScout wrote:
He did thank you, you illiterate putz! Read his message.
I am impressed that you actually help someone. (by the way, you don't
need to thank me for that nice comment)
Master Programmer wrote:
"Thanks for your help" would have been nice. Ignorant *** !
jimmy wrote:
Hi
In my application i have a dataSet which has been created by the
designer. I have added the following query to one of the tables;
------------------------------------------------------------------------------------------------------------------------------------------------
INSERT INTO reservationsTbl
(OrderID, CustomerID, Time, PartySize, Date)
VALUES (@OrderID, @CustomerID,@Time,@PartySize,@Date)
------------------------------------------------------------------------------------------------------------------------------------------------
I now have the following code to try and execute this query;
------------------------------------------------------------------------------------------------------------------------------------------------
Dim reservationsAdapter As New
dsTableAdapters.reservationsTblTableAdapter
Try
reservationsAdapter.InsertReservation(10, ID,
TimeTxt.Text, PartySizeTxt.Text, DatePicker.Value)
Catch ex As Exception
MsgBox("Inserting new record failed. " + ex.Message)
End Try
------------------------------------------------------------------------------------------------------------------------------------------------
No error message is shown when the code is executed however the record
is not inserted. Can anyone help?
Thanks in advance!
.
- References:
- Query Problems
- From: jimmy
- Re: Query Problems
- From: Master Programmer
- Re: Query Problems
- From: FishingScout
- Query Problems
- Prev by Date: Re: Is VB.NET Popular???
- Next by Date: Call Multithreaded Sub from Timer
- Previous by thread: Re: Query Problems
- Next by thread: SAPI 5.1 SKI Question.
- Index(es):