|
-
Apr 23rd, 2014, 10:21 AM
#3
Thread Starter
New Member
Re: Error: Procedure or function usp_MoveData expects param
I tried that with still the same message.
 Originally Posted by thetimmer
@WDate does not equal @Wdate
you need to match what the proc wants.
Also, please remember to use code tags when posting code
Code:
Using my Cmd As New SqlCommand("usp_MoveData"), SqlConn)
myCmd.Parameters.AddWithValue("@WDate", dtWorshipDate.Value)
SqlConn.Open()
Try
myCmd.ExecuteNonQuery()
Catch ex As Exception
MsgBox(ex.ToString)
EndTry
EndUsing
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|