b5media.com

Advertise with us

Enjoying this blog? Check out the rest of the Technology Channel Subscribe to this Feed

Microsoft Weblog

Specifying Parameters for UPDATE Statements

by Jason Bean on July 20th, 2007

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.

POSTED IN: Business Users, Servers, Training, User Experience, Visual Web Developer Express, Web Design

0 opinions for Specifying Parameters for UPDATE Statements

  • No one has left a comment yet. You know what this means, right? You could be first!

Have an opinion? Leave a comment: