Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Make a page to update information, show saved data from database.

Thread Tools

Make a page to update information, show saved data from database.

Øyvind Isaksen
Posts: n/a
I want to make a page to update articles stored in my SQL Server. Ofcourse,
the saved article information needs to be displayed in the form fields when
the page is opened. Then the user can update the information, and save it
back to the database.

I got different prosedures to display controls like RadioButtonLists,
dropdownlists and image and textboxes.
Its no problem to fill the radiobuttonlist and dropdownlist with data, but I
wonder how the best method is to make them show the stored value by default?

Is the best solution to make a procedure that declares variables with all
the information about the stored article, and use these variables as input
for the procedures that lists out data?

One more thing, if I declare a variable in one procedure, how can I use this
in another procedure? When I try to use the variable I get the error
Message: Name 'variable1' is not declared.

Thank you for all replies!!!

Reply With Quote
Rote Rote
Posts: n/a
Maybe try posting what you are trying to do..

*** Sent via Developersdex ***
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MS ACCESS Jet SQL: Update statements that utilize saved queries/dmax ASP General 2 09-12-2007 07:40 PM
Saved Mail Gone and Sent Mail Not Being Saved Gregg Firefox 6 03-06-2006 02:13 AM
I saved password into the database with "binary" data type from GetByte method. How can I to compare the password that between database and transfered from the page? Benny Ng ASP .Net 3 01-25-2006 06:49 AM
Need to briefly show message on screen (Data saved! etc) Iver Erling Årva Javascript 5 11-17-2004 05:21 AM
Size of data saved back to Active Directory Robin ASP .Net 0 10-15-2004 11:40 AM