Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Inserting into sql server using parameterized - get new column value
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="ryan.mclean, post: 458125"] Ah, I was confused because the auto 'number' uses the newid() sql server function. This is expecting an int . . . I feel so dumb. So then if using a command object, how is the value retrieved? Should I be using a dataadapter? I tried: strTrackid = CType(.Parameters("@TrackId").Value, String) Which didn't work. I could try to put the command into dataadapter and create a datatable . . . not quite sure what to go from here. Maybe what I want is not possible and I'll just have to query after the insert. Or it could be that I’ve had too much coffee and I’m missing something obvious ïŠ Thanks again for your help. Ryan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Inserting into sql server using parameterized - get new column value
Top