Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Form field changes

Reply
Thread Tools

Form field changes

 
 
momo
Guest
Posts: n/a
 
      04-13-2006
Hi,

I have a page that contain almost 70 textboxes, dropdown boxes and
checkboxes. This page retrieves data from a table and display them in the
appropriate control. My dilemma is when I need to make a change to any of
the control. I want to be able to update the table fields with the ones that
has a value. I created an update SQL statement that had all the fields but
it bombs out when on of the controls does not have anything in it. How do I
go about making this work.

--


Thanks,



 
Reply With Quote
 
 
 
 
Jeff Dillon
Guest
Posts: n/a
 
      04-13-2006
Define "bombs out". Do you get a specific error message? Do these database
fields allow nulls?

If the user is supposed to fill all of them out, then you need to check that
and let them know, before trying to save. This can be done either clientside
or serverside.

Jeff

"momo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have a page that contain almost 70 textboxes, dropdown boxes and
> checkboxes. This page retrieves data from a table and display them in the
> appropriate control. My dilemma is when I need to make a change to any of
> the control. I want to be able to update the table fields with the ones
> that has a value. I created an update SQL statement that had all the
> fields but it bombs out when on of the controls does not have anything in
> it. How do I go about making this work.
>
> --
>
>
> Thanks,
>
>
>



 
Reply With Quote
 
 
 
Reply

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
How to retrieve form field value if form is EncType=multipart/form-dataForm? Li Zhang ASP .Net 4 02-27-2009 01:23 AM
1.Enter space bar for field names and save the field.The field shoud not get saved and an alert should be there as"Space bars are not allowed" Sound Javascript 2 09-28-2006 02:43 PM
Pass hidden form field value to another form field to insert in db GavMc ASP General 4 09-22-2005 06:33 PM
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome? NotGiven Javascript 3 05-13-2004 12:15 AM
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome? NotGiven ASP General 3 05-13-2004 12:15 AM



Advertisments