|
-
Jul 5th, 2012, 03:14 PM
#8
Thread Starter
Junior Member
Re: Conversion failed when converting the varchar value ' ' to data type int.
 Originally Posted by ForumAccount
You are close, do not use the .Add method, use the .AddWithValue method (used in the article). The value you specify should come from your data row that you were using earlier. You haven't actually specified any values the way you have it (notice how the article specifies the value).
ok i see which one you are talking about to use.
im trying to figure it out but i have a question. in the code .AddWithValue("@UNITID", Me. what do i put after that? i see in the article they have Me.firstNameField.tex) where would that come from?
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
|