You are here:

Active Server Pages Programming (ASP)/Questions Answered by Expert Srini Nagarajan

SubjectDate Asked
pagination in classic asp10/31/2011
  Q: hey...i dont know how to do pagination in asp...help me out..i have a page having around 1000 rows ...
  A: Here is the code <!--#include file="db.asp"--> <% displayRecs = 50 recRange = 10 MyColNum = 5 ...
export to excel10/20/2011
  Q: hey i added a export to excel button on my asp page.. even the data is visible on the page..but when ...
  A: Use something like this <%@ Language=VBScript %> <% Option Explicit Response.ContentType = ...
Paging in asp10/19/2011
  Q: i am new to classic asp, help me out. Suppose i have a asp page which navigates to another asp page ...
  A: You need to use ADO with paging option Here is a sample code which gives you some idea ...
radiobutton query10/13/2011
  Q: hey please help me out.. how to get a value from radiobutton in asp. suppose we have 2 radio button ...
  A: This is what you need to do <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>test</title> ...
ASP radio button query10/12/2011
  Q: hey..see this coding. <form name="frmSearch" method="post" runat="server"> <div name="div1" ...
  A: you can create a hidden variable, on clicking of radio button, create a javascript method on click ...
ASP radio button query10/11/2011
  Q: suppose we have a list of accounts from which some are expired and some are not expired. and whole ...
  A: As I explained, you need to filter in the for each loop which one you want to display... add two ...
ASP radio button query10/11/2011
  Q: suppose we have a list of accounts from which some are expired and some are not expired. and whole ...
  A: I believe you are using classic asp Here is the logic Dim objxml Set objxml = ...
ASP web site9/29/2011
  Q: I'm ramy hakam form Egypt ,I need to make a professional asp wep site in 4 weeks at most I'm ...
  A: Welcome to ASP.NET world. You can download some good books online or goto www.asp.net website for ...
XML Parsing Continued6/3/2008
  Q: I ran out of follow-ups so they made me ask a new question. :) The last example you gave me works ...
  A: I dedicated few hours for you and found the solution!! :) here is the issue <name>mp3 players & ...
XML Parsing Continued5/23/2008
  Q: I ran out of follow-ups so they made me ask a new question. :) The last example you gave me works ...
  A: Sorry for i was away and just checking your email. when you get the XML from different Server thru ...
Installing a ASP web Application5/20/2008
  Q: Can you please explain the steps to install a web application in a customer system. Is it necessary ...
  A: No need VS 2005 on customer system. All you need is build and publish the website it will ...
want help about crystal report4/16/2008
  Q: how to call .rpt file in asp page ?
  A: give a try this reportname = "announceReport.rpt" 'This line creates a string variable called ...
Creating new entries into database4/4/2008
  Q: The following codes insert a new entry into access database with default name as 'NEW: Click To ...
  A: Sorry for the delay in reply. Can you leave the name blank and while displaying you can replace the ...
Pessimistic Record Level Locking of SQL Table3/26/2008
  Q: I have ASP front end application and SQL Server 7.0 backend database. When a user updates a record ...
  A: You need to do the following steps since you are using SQL server 7.0 and Classic ASP 1. First ...
storing radio button values in an array3/19/2008
  Q: i retrieve 3 fields from a db. question1 option1 option2 question2 option2 ...
  A: What exactly you want the output? why do you want in array? What is the alert is displaying for you. ...
what is ADODB.stream3/16/2008
  Q: I saw in your example code you wrote ADODB.stream but my VB.6 program don't have this data-type so ...
  A: You must use Microsoft ADO 2.5 and set it into the following project reference: dim rst as new ...
ASP Form3/11/2008
  Q: I was wondering if you could help me. I'm looking to create a web form so that when the user fills ...
  A: Working with excel will be complicated, why don't you use Access database? Since excel can't handle ...
Share data on a web page?3/10/2008
  Q: I call prospects and qualify them on the phone then pass them along to my client, a debt settlement ...
  A: if you search for "online contact form" you can see more list, few of them are ...
Session Timeout in IIS 63/7/2008
  Q: We have a ASP application ported on Windows 2003 and IIS 6.0 After loggged in the application ...
  A: Sorry for delay in my reply Actually, none of the IIS configuration you mentioned, idle timeout or ...
ASP CDOSYS FORM3/6/2008
  Q: My question is quite complicated & I don't know if I will explain it correctly - so I apologize up ...
  A: Sorry for the delay in reply. You can validate whether check box is checked before adding to email ...
error to finfd username2/13/2008
  Q: Why ???? If i use sUserName = "OI24683" the script work fine instead if i use sUserName = ...
  A: If you use Request.ServerVariables("LOGON_USER") there could be 2 thing you need to look for 1. ...
Move focus by pressing enter key in ASP.NET 2.0 Web Form2/11/2008
  Q: This is Yogesh and while searching on net I came across a question posted here ...
  A: You need to handle thru javascript give a try something like this ...
Possible recycle in ASP.Net - returns Object reference not found.2/8/2008
  Q: I have an application in ASP.Net that returns error "Object reference not set to an instance of an ...
  A: mars - multiple active resultsets might help MultipleActiveResultSets=True (inside the connection ...
Using Jmail How to upload jmail to my server2/4/2008
  Q: I am trying to use jmail to send mail from my website. but jmail is not installed on my server. How ...
  A: Are you hosted thru any ISP? if not you can download free one or buy jmail free ones from ...
asp code for diplay multi page break1/30/2008
  Q: I try display multi page between start date and end date,while running 1st page diplay record click ...
  A: where the date1 and date2 to get filled? in page 2 the date1 and date2 are blank so you are ...
How to run ASP files1/19/2008
  Q: I have installed IIS 5.1 and put one asp file in wwwroot, i can run htm files, but cant run asp ...
  A: Open Control panel and click administrative tools then click Internet Information Services which ...
learn more1/19/2008
  Q: are you sure now this asp.net usefull to some media?,yes then which media ANSWER: Hi Siva, What ...
  A: You need to get a Speech SDK for .net to handle voice. Here is the URL ...
learn more1/18/2008
  Q: are you sure now this asp.net usefull to some media?,yes then which media
  A: What type of media you are looking for? If you want to use windows media player, Microsoft gives ...
ASP Multi Dimension Array12/28/2007
  Q: Long time no meet. ;-) Hope that your vacation is a good one. I would like how to deal with multi ...
  A: Happy new year.. Hope the new year celebration went well.. Sorry for the delay on my reply i was ...
pass output to textbox from SQLDataSource10/12/2007
  Q: I've just started using the Visual Web Developer Express Edition 2005, and think it's real cool. I ...
  A: you can try something like this Dim dv As System.Data.DataView dv = CType(SQLDataSource1.Select(New ...
page_load event10/2/2007
  Q: i put some code in the page_load event , so that i want it to be excuted when the client visits that ...
  A: if the user coming to the page it will fire Page_load event, if you resubmit the same page again, if ...
Asp Programming9/25/2007
  Q: how to disply information from database use asp
  A: Here is simple code to retrieve and display from database html><head> <TITLE>dbsimple.asp</TITLE> ...
global variables for asp.net9/23/2007
  Q: Where do I define or initialize a session variable, or any other global variable for that matter in ...
  A: You set all your connection and other constant variables in web.config, all session settings you ...
Calling Oracle SP with Ref Cursor Output9/19/2007
  Q: I have following stored procedure in oracle. which returns cursor can you please send me the asp ...
  A: Try the following sample <% sub saveData dim custID, custFName, custLName, custAddr, custCity, ...
global variables for asp.net9/18/2007
  Q: Where do I define or initialize a session variable, or any other global variable for that matter in ...
  A: it stores in web.config file. for storing database connection string and other info something like ...
Date display from database8/23/2007
  Q: I have a site set up so that a person can log on and enter information on match fixtures and this ...
  A: ok. Just add the following line at top of your page <%session.lcid=2057%> this should display the ...
Unable to run ASP Page on Windows XP8/16/2007
  Q: I have a Pc installed with Windows XP and Configured with IIS. I have created an Alias web site and ...
  A: Can you check the permission on IIS and also do the following 1. Click Start > Settings > Control ...
checboxlist validation8/14/2007
  Q: Hey, I hav an application which uses a checkboxlist with 6 checkboxes. I would like to make sure at ...
  A: You can use Custom validation to check CheckboxList Here is the sample code. private void ...
ASP Question8/12/2007
  Q: i have created a form in my home page. In this form i have taken a drop down list and a submit ...
  A: Here is the code for this you can do thru javascript change the field name on your page have the ...
Email from ASP Page8/5/2007
  Q: I would like my site users to be able to send an email to the webmaster or other address I specify ...
  A: here are different ways you can send email from the server.. You need to build a simple asp page ...
Problem in SWF object in the Page8/3/2007
  Q: I am working on one maintenance project of 1.1. In this RedirectFromLoginPage method is used in ...
  A: this is something microsoft IE updates cause this issue Please review the following solution ...
How to run ASP on Windows XP ?7/31/2007
  Q: How can i run my ASP program and where can i save it ? My system had .Net also, but now i have ...
  A: you can uninstall .net if you goto control panel and add/remove program you can see 1.1 and you can ...
validating records in .asp7/23/2007
  Q: I've written some asp pages which allow our test technicians to enter test data into an Access ...
  A: Yes, You can do that without any problem, before saving first you have to select and find is there ...
About ASP.net DropDownlist7/23/2007
  Q: i just wondering how can i put 5 dropdownlists by using for loop or else?? And how can i request ...
  A: You can put in a repeater control to get the value or You can create a javascript for each onselect ...
About ASP.net DropDownlist7/23/2007
  Q: i just wondering how can i put 5 dropdownlists by using for loop or else?? And how can i request ...
  A: I understand the first part of it, but i don't understand in dropdown area.. what are you trying ...
onchange event run SQL query on fly without submitting form7/19/2007
  Q: I have a number of textbox which I generated from a database depending on the reconds. Onchange of ...
  A: You can't do that without submitting the form to get the price. You have to submit the page and get ...
ASP onchange event7/19/2007
  Q: kevin I have similar scenario that I have numbers of textboxs on form and data in it I want to use ...
  A: If you want to run any server side code you have submit the form, you can use in your text box like ...
Server functionality to webpage7/18/2007
  Q: I'm trying to set up an online ad gallery with thumbnails that represent ads that are selected by ...
  A: You Need to build this page using ASP.NET or Classic ASP to store the entered info or email to you.. ...
Read User ID1/10/2007
  Q: Srini, Thank you in advance for your time. I have a page that a user accesses via a link that is ...
  A: You can't do that... there is no way you can check from which email the link is clicked... One way ...
unicode utf81/9/2007
  Q: i have my data stored in sql server 2000 in unicode encoding i have been trying to create an ...
  A: 1. You can store the UTF-8 in sql server have a look at the following URL ...
About API12/11/2005
  Q: is there any way to use ASP to call API? i need to know who logged in to my web page by comparing ...
  A: what type of api you need to call? if so you need to have enough rights to execute the api from your ...
asp+crystal report11/24/2005
  Q: Hai, How can i open the Seagate crystal report in asp. i.e., I have created a crystal report and ...
  A: Here is the steps At first, Crystal Reports has its own object for generating the report. If you ...
Excel Report in New Browser From Asp.Net,Vb.Net11/16/2005
  Q: I am working in NOUS Infosystems, Banagore, India. In my current project I face some critical ...
  A: Try this <INPUT style="Z-INDEX: 117; LEFT: 604px; WIDTH: 73px; POSITION: absolute; TOP: 449px; ...
Error on database connections11/15/2005
  Q: Srini, I am currently working on our companies website. I have included a form to collect user's ...
  A: I was busy thats why not able to reply imdtly... Here is the sample sql connection string without ...
ASP and Time11/13/2005
  Q: Is there a way to display current time at the server (second by second)without refreshing the page, ...
  A: here is the working version <script type="text/javascript"> var currenttime = "<%= Now()%>" //SSI ...
Error on database connections11/10/2005
  Q: Srini, I am currently working on our companies website. I have included a form to collect user's ...
  A: Don't use ODBC driver... it need right permissions on the files use JET database here is the sample ...
Export data to PDF from ASP page11/9/2005
  Q: Our company use ASP pages for UI calling Crystal Report 9.0 for report and access SQL 2000 for ...
  A: You can do that.... you can dynamically create PDF on the fly using ASP/SQL2000. You have to buy ...
asp+vbscript11/8/2005
  Q: How to create Reports using ASP and VBScript.
  A: What kind of reports you want to build? Crystal reports? or simple HTML reports? if you want build ...
asp11/7/2005
  Q: i have 5 check boxes with names a,b,c,d,e i have one more check boxwith name "selectall" if i ...
  A: use Javascript for that <html> <head> <script> <!-- Begin var checkflag = "false"; function ...
ASP and Time11/6/2005
  Q: Is there a way to display current time at the server (second by second)without refreshing the page, ...
  A: Here is the simple code <HEAD> <SCRIPT LANGUAGE="JavaScript"> var timerID = null; var timerRunning ...
Crystal Report11/4/2005
  Q: "Object reference not set to an instance of an object" error occurs when i simply places the ...
  A: Sorry for the delay... This error message appears because there is no virtual directory for the ...
ASP .Net deployment Issue - Please help11/2/2005
  Q: This is what I want to do: let's say you have a web project web1.csproj within a solution file ...
  A: You can not change the location of the code behind file by modifying the CodeBehind to includes the ...
need business telephone software custom designed10/30/2005
  Q: Where can I find a software designer/writer to develop business telephone software custom designed ...
  A: There are plenty of software availble in the market. You can check the following link... it may help ...
graph10/18/2005
  Q: sorry but i don quiet understand that... u mean in the for loop i can fix it?well... my question ...
  A: Okay, Here is what I understand, you need common values like 5,10.... If you need that in the loop ...
graph10/17/2005
  Q: yupe... thanks for the advice/... it is the conversion thg.. and i already convert both to double... ...
  A: You can convert in your for loop For i = 0 To chartValuesArr.Length - 1 if ...
Send Mail based on Form Value - Only Once!10/5/2005
  Q: I've been racking my brains over this one. I have a Classic ASP edit form with many fields, one of ...
  A: Sorry for the delay! i thought i replied for all my pending questions... Okay, what you can do is ...
Custom Window10/2/2005
  Q: I have designed an application in ASP.NET and there are 2 webforms; 1. Login.aspx and 2 is ...
  A: You can do it using forms authentication to take to login.aspx if the application starts... you ...
Simple question !!!10/2/2005
  Q: I would like to build a page on the internet that the user would be able to input 2 numbers (NumberA ...
  A: Do you want to do using any server side code or do you want to do thru Javascript? if you want to ...
Good Web Host With Crystal Report Support9/28/2005
  Q: www.discountasp.net is a very good host but they do not offer support to crystal reports. Any other ...
  A: I never heard about webhost4life... you can check with discountasp.net they may offer with ...
table scrolling in sync9/28/2005
  Q: I have a table in an asp page. The user would like to have the table scroll data while keeping the ...
  A: Did you try to download the code from that site and populate yours? infact activewidgets does ...
Web Site9/28/2005
  Q: How can I create a Web Site which uses a logon page to take me to the main page, passing the user's ...
  A: Here is the two URLs talks about Form Authentication and how to implement it in real time... THis is ...
table scrolling in sync9/27/2005
  Q: I have a table in an asp page. The user would like to have the table scroll data while keeping the ...
  A: Check this one http://www.activewidgets.com/javascript.forum.3295.3/grid-won-t-load-in.html and ...
refresh just a part of aspx page9/27/2005
  Q: i want to change a part of an ASPX page without refreshing rest of the page. i use c# for ...
  A: You can do it in three ways, it depends on how your implementation going to be 1. AJAX 2. Caching ...
PHP verses ASP9/25/2005
  Q: I am wondering what the difference is between between PHP & ASP. I heard than PHP is more universal ...
  A: ASP is Microsoft technology for handling dynamic web pages like calling data from database and ...
graph9/21/2005
  Q: . i have this sample coding and now i would like to limit my y axis.. a brief of the programme.. i ...
  A: If chartValuesArr.Length <= 50 Then For i = 0 To chartValuesArr.Length - 1 if ...
Error notice on Outlook Express8/25/2005
  Q: After starting Outlook Express an ERROR notice appears. The Error notice reads:- Host POP3 could ...
  A: Sorry for the delay. Can you reinstall the Outlook express may solve this issue. I do remember ...
Online GPS Tracking Software8/24/2005
  Q: My name is Jason Sullivan. I have developed a GPS tracking device that I would like to allow people ...
  A: I think you done the hard part of the application.. You can use Classic ASP to wrapup the ...
Include File, Set Focus In ASP.NET8/22/2005
  Q: As the detail grid gets filled, the length of the form (output) increases. What I want is the length ...
  A: Sorry for the delay! Here is the code which creates the scrollbars in the datagrid <DIV ...
Include File, Set Focus In ASP.NET8/21/2005
  Q: I have one more question. In asp.net I have a web form which does Sales Data Entry. From this web ...
  A: You can use Master Detail ASP.NET form to solve this issue.. Here is the sample url ...
Execution Problem of a Script8/18/2005
  Q: We have got a Server in our INTRANET with WINDOWS 2003 and IIS installed for our in-house developed ...
  A: Sorry for the Delay Here is the solution first Open the ODBC Data Source Administrator on the ...
convert "\n" to <BR>8/15/2005
  Q: I have an ASP textbox on my homepage: <asp:textbox id="txtBody" runat="server" TextMode="MultiLine" ...
  A: Can you use a Rich Text Editor Tool? User can edit and see the result and it saves as a HTML tags no ...
Include File, Set Focus In ASP.NET8/15/2005
  Q: I am basically a VB6 programmer since last 5 years. I did some study on classic asp for a month ...
  A: Sorry for the delay... 1. You need to create User controls and register those in your asp.net ...
login expires8/2/2005
  Q: I write code session.abandon on logout button. It kill seeesion. But user still able to view ...
  A: add this line at the top Response.Expires = 0 Response.Expiresabsolute = Now() - 1 ...
ASP.net7/31/2005
  Q: I had two following questions. Could you please send me your reply in order to solve my problems. ...
  A: 1. goto http://www.fckeditor.net/ you can download its free and they got lot of sample to use that. ...
Please Help me with peculiar sitution (SOS)7/29/2005
  Q: Our vendor has developed a IIS with Asp based application to be installed at 2000+ remote locations ...
  A: Sorry I was so busy and no time to answer imdtly. Here are my thoughts XML Files approach is: * ...
creating e-mail lists7/16/2005
  Q: I want to build an asp form to collect first name, last name, organization and e-mail address to ...
  A: Here is the two samples You can remove the add the necessary field names Happy Programming! ...
Problem in Programming7/11/2005
  Q: Your solution works well.but the id datatype is varchar.so when @Value returns '1' with single ...
  A: When you declare @Value as a varchar, the system thinks you are comparing string vs. string so and ...
DSN Connection In ColdFusion to Access7/6/2005
  Q: Srini: I hope you can help. I am using ColdFusion and unable to create a connection to an access ...
  A: give a try like this <CFQUERY NAME="rs" DBTYPE="dynamic" CONNECTSTRING="Driver={Microsoft ...
create excel file in asp7/2/2005
  Q: Sir i m using the following code: <% Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP") ...
  A: You need to give necessary write permission to the IUSR and IWAM in the c: what ever folder its ...
asp and printouts6/25/2005
  Q: I develop a school application that puts out some printouts e.g. school students list, class time ...
  A: Why don't you try to use PDF generation application? In HTML you can't control the page width and ...
Expanding the LOGON_USER to full username6/24/2005
  Q: but that is not what I'm looking for. The 2 methods you mentioned (instr and split) will provide ...
  A: Here is the sample code give a try <% ''''''''''''''''''''''''''''''''''''''''''''''''' ' ...
ASP.net framework6/23/2005
  Q: Sir, I am new to asp.net.From last one year i m working in asp.To use ASP.net from where i have to ...
  A: You just need Microsoft.NET framework.. also you need Visual Studio.NET 2003 to create pages. For ...
Expanding the LOGON_USER to full username6/22/2005
  Q: I a newbie at ASP and I am trying to find out the full name of the user who has logged in to my ...
  A: Here is the simpe code (you can do it 2 ways) 'displays: PSSP\SRINI when I login ...
SQL Server 20006/21/2005
  Q: Pardon me , but i really don't know how do i go about viewing the transaction log. I've found the ...
  A: You can't view the transaction log from notepad its part of sql server Here is the steps SQL ...
Timer6/21/2005
  Q: I want to create a timer in C# that will countdown from a specified timer e.g.2minutes and will then ...
  A: For windows form, I haven't work much with it... You can't do anything refresh screen on ...
reading html source code6/18/2005
  Q: I just want to ask you if you know how can I read the source code of a certain webpage using ASP ...
  A: Here is the Code you can use this and read the file. One of the most important tasks in any ...
Using Forms To Email Info In ASP...6/7/2005
  Q: I plan to eventually migrate over to ASP.net, but am currently still using ASP for development ...
  A: I would say use Email to Form which will be easier. When you move to ASP.NET then you put ...
ASP.NET6/7/2005
  Q: i am not able to create asp.net Application,unable to create offline cache in VSWebCache folder
  A: Make sure you installed the .NET Framework properly. And check your IIS running properly. Take a ...
Pressing of Enter Key6/5/2005
  Q: There are 20 textboxes on my web form (of ASP.NET) (made for only data entry) and high speed data ...
  A: I use this change the tab key value "9" to enter key "13" Here is the simple code /// <summary> ...
Track files that are accessed from web site5/20/2005
  Q: i have written a piece of code in a template file which stores a record in database whenver a page ...
  A: I am Back!... Sorry for the delay in reply. I had a long business trip to Florida (did'nt goto any ...
Error in page!5/18/2005
  Q: My name is Assaf and I have a problem with my ASP page. I have a page called sendmail.asp and a page ...
  A: I am Back!... Sorry for the delay in reply. I had a long business trip to Florida (did'nt goto any ...
Prevent going back to previous page5/18/2005
  Q: I dont seem to be able to use the response.expires. What is it and how does it work ? is it the ...
  A: I am Back!... Sorry for the delay in reply. I had a long business trip to Florida (did'nt goto any ...
ASP Domain Check?5/17/2005
  Q: I have a brief question about something I need to do in ASP. I have several domains pointing to the ...
  A: I am Back!... Sorry for the delay in reply. I had a long business trip to Florida (did'nt goto any ...
Error Number5/13/2005
  Q: Unique key constraint set in a table of SQL Database. When user attempt to save a record by adding ...
  A: Here is the workflow if someinput = "1" overwrite / or update end if IF count = 0 then ...
Error Number5/13/2005
  Q: Unique key constraint set in a table of SQL Database. When user attempt to save a record by adding ...
  A: Before saving the entry.. You have to check whether that key exsits in the database using select ...
SQL Database Connection5/9/2005
  Q: Would like to know if in any case, my SQL server is in heavy load, is there any chance that the ...
  A: Sorry for the delay in reply! in .net it handles the "connection pooling" Here is the good article ...
Global Error Handling5/9/2005
  Q: I would like to ask how do i do something like a global error handling function in ASP .NET . This ...
  A: Sorry for the delay in reply... Here is the simple code sample stores the error into a text file... ...
Software Design Proposal4/26/2005
  Q: I am writing a design proposal for a software that could be used for a charity organization. The ...
  A: I'll reply my answer in caps.. Recommended Server platforms: • Windows Server 2000, Windows Server ...
Cache Location4/22/2005
  Q: When i want to create new project in ASP.NET an error is comming "Unable to create offline cache ...
  A: open visual studio goto the following link TOOLS > OPTIONS > PROJECTS > WEBSETTINGS > OFFLINE ...
ASP short memory?4/19/2005
  Q: Is ASP.net is a free software? :-) God bless garyWHi Srini Yah, it helps by transfer the ...
  A: ASP.NET web server which is FREE! Development tool Visual Studio .NET is $$$$ You can use ...
ASP short memory?4/18/2005
  Q: Yah, it helps by transfer the variables to a local variables. Do you think ASP.net is definitely a ...
  A: You can move to ASP.NET ALOT of changes made between ASP vs. ASP.NET.. If you wait few weeks you ...
ASP short memory?4/18/2005
  Q: How are you doing? Have you have experienced rs fields not fully displayed? I was wishing to ...
  A: I was away thats why i was not able to reply imdtly... I don't see any error like this... I handled ...
Object Not found4/14/2005
  Q: When i want to creat a new Project in ASP.NET an error is comming i.e. "Could not find a web server ...
  A: I was away thats why i was not able to reply imdtly... Here is my reply Can you goto IIS and check ...
ASP.Net & IE4/14/2005
  Q: I am trying to figure out a way to have an ASP.Net application start in a new IE window rather than ...
  A: I was away thats why i was not able to reply imdtly... Here is my reply Use this javascript ...
ASP email4/13/2005
  Q: This is my first try at ASP. I have a form that is linked to an ASP file. I can get the form to ...
  A: I was away thats why i was not able to reply imdtly... Here is my reply You have to check the ...
setting up localhost4/13/2005
  Q: I'm using classic ASP with HTML. when i run with local host (after setting up the IIS and ODBC), the ...
  A: I was away thats why i was not able to reply imdtly... Here is my reply Check on created virtual ...
Mailing a Web page4/7/2005
  Q: I want to send an ASP web page as attachment over mail. The page which I want to send is the result ...
  A: You can build the the Attachment(text file?) and store into the Web Server Dynamically using ...
datareader4/4/2005
  Q: connecttodb() query="select count(fieldname) from tbladinfo where subcategoryid= ...
  A: Sorry for the delay in reply! Use Do while loop Here is the sample script mCommand.Execute(out ...
Web4/2/2005
  Q: I have 2 questions: 1)If we store our Access Database in the web server,the people who manage the ...
  A: Sorry for the delay in reply! 1. You can't do anything... may be you can change the file extension ...
open new window3/26/2005
  Q: i want to open a new browser window in client side with a specific URL. the same as : <a ...
  A: <asp:HyperLink id="lnk1" runat="server" ...
Zip/UnZip from asp.net page without using any third party control3/18/2005
  Q: I am facing problems in asp.net page i want to facilitate zip & unzip directy in my asp.net page by ...
  A: Yes you can to use some third party library to handle the zip Here is the site gives you free ...
Form to Mail issue!3/16/2005
  Q: My name is Assaf Lasry and I have a problem in building a form to mail page. I have built a web page ...
  A: if your mail is not leaving the queue folder, check out make sure SMTP Virtual Server is running ...
Window Media DRM 103/14/2005
  Q: How are you doing? I was very new to this technology (Window Media DRM 10) with the audio ...
  A: Hope you had a nice wedding and great honeymoon! Here are some of microsoft link found on their ...
event generation3/9/2005
  Q: i make a form(5 radiobuttonlist,6 dropdownlist etc. a large one) on which call function on each ...
  A: Sorry for the delay in reply! Mostly the autopostback will clear the selected event. Is the forms ...
How to show row value as Column heading in DataGrid2/25/2005
  Q: problem: i show data from sql data table into DataGrid.( i write sql query like "select * from ...
  A: You can use ASP Datalist, which does what you are looking for you can specify the repeat columns ...
Any good book for asp.net?2/24/2005
  Q: I'm trying to learn asp.net. But I don't know which book I have to read among those so many books ...
  A: You can go with the following book 1. ASP.NET Unleashed, Second Edition by by Stephen Walther 2. ...
matter related to VOIP2/17/2005
  Q: We are developing software namely "CallCenter Management". (1)how can I come to know when the ...
  A: Sounds Interesting! Sorry I never worked on VOIP. Are you doing for a project(academic) or work ...
Can we create Repeater on DataGrid2/7/2005
  Q: can we create Repeater on DataGrid? how? If we can then just send me sample code. Tushar Dabhi
  A: Here is the sample script. Change the Database call and other stuff based on your requirement ...
XML ASP Parser1/25/2005
  Q: i have tried but it does not work for me. Perhaps, i have not described the scenario in details. ...
  A: Give a try with XML HTTPrequest. Here is the sample code var objHTTP = new ...
XML ASP Parser1/25/2005
  Q: How are you doing? I am new to XML parser and never would i ever thought of encountering it. Here ...
  A: Here is the sample to read the xml dynamically in ASP <% Option Explicit Response.Buffer = True ...
Database Connectivity1/19/2005
  Q: How can I connect to a database(SQL Server) using .net.
  A: Here is the simple script <%@ Import Namespace="System.Data" %> <%@ Import ...
Contact form validation1/15/2005
  Q: Iam very new to ASP. Here is my1.) I have a contact.asp file which has a form with fields , Name, ...
  A: Here is the code make the necessary changes. The first thing you need to do is create a ...
ASP.NET VB Common code include1/5/2005
  Q: I have just completed my first ASP.NET project (adding a search engine to the Canterbury Cathedral ...
  A: Here are two links, complete code available. you can take this and do some Layout change it will be ...
Calling a function within an ASP Page12/14/2004
  Q: .. I am calling a function or sub if u may call it from within the same page. it works fine until i ...
  A: Sorry for the delay... here is the simple example how to use this fsSQL = "SELECT * FROM Table " ...
printer driver malfunction12/11/2004
  Q: I have been using a Citizen CBM 1000 Parallel interface Point of sale printer ( seriel no (not ...
  A: 1. Regarding the reports. Do you have the reports pages? If the software don't have that kind of ...
ASP.Net Focus12/6/2004
  Q: How do I automatically set the focus on a asp.net page to a text box when the page loads? Also how ...
  A: you can use javascript at the end of the page and setfocus if you do the codebehind on vb.net use ...
calculation12/2/2004
  Q: I'm Mas Aida. Here I need help on some calculation. Let me briefly explain my problem. I want my ...
  A: Looks like you need to write a sql script to update the books quantity to reducue here is the sql ...
ASP called Oracle Stored Procedure11/29/2004
  Q: I am trying to call a stored procedure using ASP and I got the following error at the execute: ...
  A: Here is the simple steps to use oracle store proc in asp You can execute stored procedures which ...
authentication11/29/2004
  Q: i got this code and i want to use it in my system for check the username, password and domain or the ...
  A: Set dataConn = Server.CreateObject("ADODB.Connection") dataConn.Open "Driver={Microsoft Access ...
Saving image in SQL Server using VB611/27/2004
  Q: I hope you are doing well. I need to save the image file in SQL server using VB6 and also need to ...
  A: saving the image you can use the following code... Private Sub cmdClear_Click() Image1.Picture ...
ASP (field datatype)11/26/2004
  Q: i'm doing my final year project now and must present the project in this coming week. my problem ...
  A: Why don't you validate the Price on the client side instead of Server side.. Here is the code for ...
Disabling Stanard tool bars in IE11/26/2004
  Q: I would like to know how i can disable or remove the standard toolbars from Internet Explorer in a ...
  A: using a javascript you can do it. Something like this <INPUT type="button" value="New Window!" ...
Running vb.net problem11/23/2004
  Q: I had followed ur instruction exactly. But still I am getting the same error. What is the reason? ...
  A: Looks like in IIS the .NET framework version 1.1 is not registered properly... Can you uninstall ...
Running vb.net problem11/22/2004
  Q: I have visual studio.NET 2003 installed in my P.C. When I run normal vb.net database applications, ...
  A: goto the following folder C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 run aspnet_regiis -i on ...

All Questions in This Category

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Top Expert on this page

Expertise

I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.

©2012 About.com, a part of The New York Times Company. All rights reserved.