Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a profile value in a database update

Status
Not open for further replies.

GBall

Programmer
May 23, 2001
193
0
0
GB
Hi,
I've got a formview on a page and the sql was generated automatically when I configured the datasource.
What I want to do now is change one of the fields to pick up a value from a profile I've set up in web.config.
It happens to be a unique userid, so that I can see who last updated the record.
Does anyone know if this can be done ?
I tried just inserting profile.userid into the update string, but it blows up with unrecognised multiple-part type.

Regards,
Graham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top