i need to get the values from the stored procedure below, basically the Name, Description, and is Active values and display them in two textboxes and a checkbox. How can i do this? Or can it be done with this stored procedure? I havent been able to find any good examples on the web... Code:
I am currently writing an online registration system for my work. When I collect data from users I ask them to submit there first and last names on different fields.
When I try to pass them as a value to our Verisign account it concatenates the names to look like this
JohnSmith JaneRoe
I would Like them to look like this
John Smith Jane Roe
Here is the line of code I use in my form. I am not sure how to put a space in between the values.
I've encountered is in a UTF-8 test script. Here, the input - a single two-byte Cyrillic character (as reported by Javascript in the originating form) is posted to the receiving script, where IIS or IE has expanded that to a 4-byte field. -- while the display of that character is correct. What encoding is the latter?
is there a way in ASP to automatically submit a form and its values when a page loads ?
if not is there any way round this scenario. i want to have a drop down list of options depending on which is selected will depend on where the form is submitted to.
I have two textboxes, nett, vat and gross value.Nett and vat are entered manually, is there a way to say, when nett textbox lostfocus or vat lostfocus then add the two and show the value in the gross value textbox WITHOUT calling the page again as i would have to do in vbscript?
When I retrieve this data into standard text boxes (using ASP/ADO) so that the user can update/file the following problems occur on what I would call price fields:
10 << I want 10.00
11.6 << I want 11.60
12.89 << this is fine
My MySQL DB holds prices as decimal(10,3) so I know the decimal data isn't chopped at this point.
Before the data is displayed in these boxes I created the below function to parse the data before it is written to the boxes: Code:
All of a sudden about 50% of my textboxes are yellow (as opposed to theusual white color). It started when I started on an ASP project, but this could have been coincidental. I have noticed that it shows yellow textboxes on many other webpages.
The input forms are created using FORMMANGER of MS Visual Interdev 6.0(ASP Code). The forms containing textboxes and bottons (with disable property) are shown correctly in IE5. But when same forms are viewed in IE6 the disabled textboxes and buttons are shown distorted.
Ho can i loop through textboxes and then collect the data filled into them.I've done one for checkboxes but can't get my head around doing the one for textboxes.
if i have an standard excel file and i have data in there in specific cells. Is it possible to have some upload facility that will be able to paste it to specific asp form textboxes?
e.g if the data in the excel file was in cell c4, i would want to paste it into textbox4. Is that possible.
OR
Is it possible to upload an excel file and to put specifc data from different cells directly into an access database.
e.g excel file -c4 i would want to paste it to rs("test4")
I’ve a few radio buttons; few of them have input textboxes and dropdown list. I use Select case to insert values (depend on which radio button that you've selected) into the sql db but it doesn’t work. Then I use if, elseif and else…the value of radio still doesn’t insert into the DB. In this case how can we insert the value(s) into the DB? Code:
Static.htm Contains a form with two text boxes, called text_1 and text_2 and some other info that is irrelevant for my question.
Dynamic.asp Need some code to check that the text boxes only contain values greater than 0 and only numbers. Thus if any of the textboxes for example contain -3 or the letter m I want to cancel the form submission and display some kind of error message.
I have a service request form in asp, which takes a bunch of data (name, id, etc). it then has 2 checkboxes, either or both of which can be checked to request a certain service. depending on which box is checked, the other data collected is inserted into a corresponding database. what is the best way to do this?
can i just use 2 IF statements (not nested) to open the connections to the databases?
I'm building a wizard-type site and I have a form that has a fair amount of information being posted page to page until it reaches the end where it has all of the data from Page 1 - Page 5. For future reference more than anything...is there a way to post all of the data coming from a previous page to the next page? Basically I just wrote out all of the values I received on each page into hidden variables and then posted that to the next page every time. Is there a simpler way?
If you have an SQL error, response.write your SQL including all variables to the browser. If I had a dollar for every error that could be fixed in about 15 seconds after doing this, I'd have like at least 15 bucks.
I have been left a set of instructions. One of them is to post an XML string to an address. I have my XML string, but how do I 'Post' it? I'm using ASP.
i am trying to do Multiple Posting to different Server when User post the Order form. one to windows server second to linux server third to its own server
I'm working on a shopping cart that uses PayPal when the user submits their information 3 things need to happen on the same page:
1. User information gets saved in a database 2. An e-mail is sent out 3. Variables are transferred via a "POST" method to the PayPal API
I've successfully made it through the first 2 but the 3rd one is killing me. How do I do this? The only way I can think to do this is with the response.redirect but it can't be a GET it needs be a POST. Any thoughts?
My employer uses an onjline application for new hires. Currently they fill out a form which goes to ../cgi-bin/formail.pl Of course this then email the application to them. Once they recieve it it looks fine but when the go to print they say it prints 4 or 5 pages of garbly gook. I havent seen this yet but i was thinking that if i could post the form to two seperat files, the fromail.pl and an asp page to insert it into an access table to later view with another asp page they could view the apps online and just print form explorer if i designed the page right i have never done anythig with pearl before. Can I post it to an asp page then to the formail.pl. instead of posting it to two pages.
I have a discussion forum that is working great, except that I just found out that if a person adds a reply to a thread, the thread just stays in place, weather or not if it's the first post or 7893th post. What I would like it to do is display the earliest thread, or the earliest thread with a reply at the top and work to the oldest thread. Right now it works only from earliest post to oldest post, not including the replies.
I was using Microsoft Posting Acceptor to upload file on web server(IIS 5) but after reinstalling my web server. when i try to upload file it give me error Http 405 - Resource not allowed. I checked permission on all the directories and tried after giving full permission but result is same Also i checked mime extentions and found entry for .dll
I have a login form on a page that should post the data to a non Windows server and upon successful authentication, the browser needs to show the secodn url.
I did the form post, got the successful results back but the browser is still showing at the same url. Which method needs to be used so that the browser shows the target url. In this case it's sURL in my code. sHTML is the result from the successful result from posting the form to the non Windows server.
As an example, imagine you want to put a Hotmail login form in your own site, post the form using your asp.net code and the browser ends up inside Hotmail showing a hotmail.com url.
welll I'm using ASP 2.0 =) I'm trying to do the automated form posting and submition. What I got is Excel file with the data that I need to manually enter to the form... What should I use to maximumally automate it =)
I have a table showing a list of records.On each row is a check box and a details button'.In the table header is a button to post back the checked items for deletion. The 'detailsbutton' posts to another page to show THAT row's details and needs to post THAT row's uniqueID.
How do i go about this?I have tried jS functions that change values in hidden fields, nested forms etc and all I can get is one button working and not the other.The main problem is the looped recordID which I can't seem to refer to in JS.
I have a problem and not quite how to go about solving it. I have a form written in asp. I wish to submit the form and have the server return back to the same page without actually refreshing the page.
I know I could write a form, submit it and go to another page. I've searched the web and I see something about HTTP Status code of 204 would return no content to the client browser. How would I incorporate this into my asp page? How do I detect a HTTP status codes in asp?
I want to call a recordset so you can edit the details and then obviously pass the parameters onwards into the db. However, the user guide just says this:
To process other fields in the form, use the Form collection of the upload object the same way you would use the Form collection of the Request object. For example, if your form had a text element named UserName, your processing code would include: Code: