Commerce Server General - Trouble Updating ADODB Recordsets

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > May 2004 > Trouble Updating ADODB Recordsets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Trouble Updating ADODB Recordsets
KevGilmour

2004-05-14, 12:55 pm

Hi there I'm new to Microsoft Commerce Server and web development so I'm hoping someone here might be able to help.

I'm trying to customize the 'product_new.asp' page to include my own extra fields which will be posted into my SQL db.

My form is populated with 2 types of fields...text boxes and check boxes.

<INPUT TYPE="text" SIZE="32" NAME="name" VALUE="<%= Request("name") %>" onChange="dirty = true"><input type="checkbox" name="web_publish" value="<%= Request("web_publish") %>" onChange="dirty = true" checked>

I've been trying to use the following code to update the fields in the db.

name = mscsPage.RequestString("name", "", 1, 255)
web_publish = mscsPage.RequestNumber("web_publish", "0", 1, 255)

The name value works okay... web_publish does not. I really don't know what I'm doing someone please help!

Thanks

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com