Skip to content

Tuesday, December 15th, 2009

Specifying Parameters for UPDATE Statements

July 20, 2007 by Jason Bean  
Filed under Computers

parameters-for-updates

Are you tired of my questions about Visual Web Developer Express and .NET development? I hope not as it seems to be a popular source of information and research on the Internet.

Here’s my question for today.

If I’m using separate stored procedures to SELECT, UPDATE and INSERT values into a database, why doesn’t the Visual Web Developer Express interface allow me to choose my parameter source locations for the parameters requested in each of those statements?

As you can see form the screen shot above, the only option I have in the “Define Parameters” window are those requested in the Select Statement.

The application example for this is that in the SELET statement, I don’t care who the UserID is, but when I’m updating the record I need to know the UserID because I want to know who just updated the record. In this instance, I’m pulling the UserID from a Session stored parameter.

If you’ve got a solution or a website that has the solution for me, let me know in the comments.

  • StumbleUpon
  • Digg
  • Facebook
  • Mixx
  • Google
  • TwitThis
  • Reddit
  • Yahoo! Buzz
  • Slashdot
  • E-mail this story to a friend!
  • BallHype
  • YardBarker

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!


About Us | Advertise with us | Blog for EveryJoe | Privacy Policy | Terms of Use
Get This Theme | Sitemap


All content is Copyright © 2005-2009 b5media. All rights reserved.