I have never used Multiple select boxes. Now, can someone tell me where I can see some sample code for how to get data from there and use it? Specifically, the select box will list the first and last names of employees (this is Intranet).
I want to take the employee ID (which would be the value of each selection) and use it on the next page to go back into the employee table of the database and pull up their email address, send emails using CDO, store the fact that an email was sent into the database, etc.
Some people are using WinXP and Win2000 for servers and are having problems with CDONTS, so im gonna post a little code sample on sending emails with CDOSYS because it works better for WinXP and Win2000 and is also a better email compenent. Code:
Is there a sample form that is available that I can use as a template. Something basic like enter name and address then press Submit and it automatically sends me the input: I have seen the link to "How do I send e-mail with CDO? " but that does not have a form example with a submit button. I am using Win2003 server. I would like the page to work even if the user does not have a mail client installed.
I need some sample Applications or project trough which i want to acquire some knowledge. right now i have to develop CMS Project. So, I need sample CMS type application.
I'm looking for a sample ASP.NET enterprise web solution. There are many issues and questions I have about how a large web site is constructed with multiple developers. How global settings and constants are managed. How global navigation and other global page settings are implemented, etc., etc.
Is there a complete sample "REAL" ASP.NET web site project created in VS.NET/C# available anywhere for me to download and learn from?
I am trying to write an app that reads a .csv file and then allows a user to map those .csv fields to existing SQL fields...
I have the reading of the .csv & writing to SQL, but hit the wall trying to get a mapping process to work...
Ideally, I would check off a field from the csv and check off a corresponding field in the sql field then hit a map button and it would set the fields in the sql statement according - also removing those two selections.
Is there any way that I can store my ASP code in an Access DB and have it display that way? Ideally, I would like to make a page with a text area that I can write and edit code in, and then when I submit it, I would like to view the page that the code creates. The code in the DB would include code that selects from and updates the DB. I would like to do this because I can't work remotely now.
This is the error. Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'CLASSDATE >= 6/23/2004 ORDERBY CLASSDATE'.
This is the code.
Code:
strSQL = "Select * FROM WellClass WHERE CLASSDATE >= " & DATE & " ORDERBY CLASSDATE"
I am trying to follow the W3Schools tutorial on the XMLDOM object, and it works fine in a regular HTML document inside <script> tags (vbscript), but I am trying to do it in the ASP tags (<% %>) and it does not work. The error says:
Code:
Microsoft VBScript runtime (0x800A01A8) Object required: '[object]'
I am trying to do something with it and I can figure out what to do!I have created a database that lets realtors track clients, potential clients, and offers made. Here is a link to the database:(URL address blocked: See forum rules) What I am trying to do is create a form that lets a user enter his first name, last name, email, and offer amount into textboxes. When they click send it adds their information to the Potential Buyer table (the primary key is an auto generated number.) The offer table is basically an associative table, containing the following information: buyer$buyerid, client$clientid, and amount. I would like the amount to be added to this table, and I would like it to also add the newly created buyerid. My problem is that well, I have no idea how to do this, as the buyerid is created only seconds before I need to post it in the offer table. Could anyone help me out with this? I'd really appreciate it.
Here's the current code that I'm using for navigation through some pages. MY question is, I want the item "System-Add Ons" to still stay bolded if I'm on a page that's in a subset of "Products" Is this possible?
For example, if a user gets to the page "Monitors," (monitors.asp) I want System-Add Ons to stay bolded....
How can I set up subsets of the "Products" page? Do I have to make a directory and do a test if the page is in the directory "Products" and is affiliated with "Products?" Code:
I Wanna to know that which of below codes related to ADO within ASP (VBscript) is better?
CODE ONE :: rsEduCalender.CursorLocation=3 With rsEduCalender if .State=1 then .Close .Open SQLstr,cn,3,1 End With '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''' CODE TWO:: With rsEduCalender if .State=1 then .Close .CursorLocation=3 .Open SQLstr,cn,3,1 End With
i created ASP page for Online TEST it Consist three pages First Page is Selection of Topic and Number of Questions from List Box. Second page is shows the Questions as per the Selection in previous page Datas from the Database. Third Page is Result Page. But My problem is in Second Page, because all the question are created dynamicaly so that how can i get the User answer I get the question id and correct answer for all the questions. but i need to get the user answer for Result.I attached my code for the second page.
Is there a program or website that will validate my asp pages?Kind of like how html pages can be validated on http://www2.imagiware.com/RxHTML/ and on http://netmechanic.com
this is what i am doing for zip codes i want user to enter zip codes like this
92274 92274-0965
so if the user enters zip code like this 92274 then its right but if he enters zip codes like this 922740965 then change it to 92274-0965 this is what i have done so far so i have got the values of first 5 i need to include a -and then the rest of the numbers any idea how to make this work
I have two tables, raceresultsview and jockeyselections. In jockeyselections, I have jockey names and stableid, for example Pat Day, stableid 1000.In raceresultsview, I have jockey names, and placement. I want to do something like this: select * from raceresultsview where jockey in (select jockey from jockeyselections). This works FINE, but I need to figure out how to grab the stableid, too.Each time there is a match, I want to insert the stableid and placement into the table named winnings.
Heres my for next loop. Basically it is pulling files from a folder. Now I want it so that if it reaches the end of all of the files, that it starts over at the beginning. Any ideas? Code:
Moderator (from admin) will see a list of cities to approve/decline.
If approved, then the city will show up in the search and alert city list boxes.
If declined, then the moderator will be asked to pick an approved alternate city and all postings containing the user-inputted city name will be changed to the alternate approved city name.
The moderator will be notified via email when not listed is selected.
Any one have any ideas on how to build this in ASP? I'm kinda new to this ASP programming thing.
I'm looking for a script that will auto complete the state field when someone enters their zipcode.
I'm currently using http://javascript.internet.com/forms/zip-to-state.html but its kind of out dated and often returns null. Does anyone know of a more up-to-date version or one that is updated regularly? It doesn't have to be free.