This is a discussion on Asp Interview Questions within the ASP and ASP.NET Programming forums, part of the Web Development category; How do you create a recordset object in VBScript? Answer1 Dim objRs Set objRs=Server.CreateObject(ADODB.RECORDSET) Answer2 ” rs....
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| How do you create a recordset object in VBScript? Answer1 Dim objRs Set objRs=Server.CreateObject(ADODB.RECORDSET) Answer2 ” rs.MoveNext wend end if %’> *. Create Recordset object *. Place form field value in a variable named “param” *. Define query by concatenating strings and variable value *. Open RecordSet Object. Note that the first parameter is the Command Text. The second parameter is the Connection String. The Command Object and Connection Object are created implicitly. *. Make sure the RecordSet isn’t empty *. Begin executing a loop which goes through all records in the RecordSet. *. Write each record’s “firstname” and “lastname” fields to the page on a separate line. *. Move to Next Record. |
| Sponsored Links |
| |||
| List the type of Server Controls in ASP.Net? There are three kinds of server controls: * HTML Server Controls - Traditional HTML tags * Web Server Controls - New ASP.NET tags * Validation Server Controls - For input validation |
| |||
| What is difference between asp and html? · When a browser requests an HTML file, the server returns the file · When a browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML Thanks Kiruthika |
| |||
| What are advantages of asp · Dynamically edit, change or add any content of a Web page · Respond to user queries or data submitted from HTML forms · Access any data or databases and return the results to a browser · Customize a Web page to make it more useful for individual users · The advantages of using ASP instead of CGI and Perl, are those of simplicity and speed · Provides security since your ASP code can not be viewed from the browser · Since ASP files are returned as plain HTML, they can be viewed in any browser · Clever ASP programming can minimize the network traffic Thanks Kiruthika |
| |||
| What is asp basic syntax rule? An ASP file normally contains HTML tags, just like an HTML file. However, an ASP file can also contain server scripts, surrounded by the delimiters . Server scripts are executed on the server, and can contain any expressions, statements, procedures, or operators valid for the scripting language you prefer to use. What are session variables? Session variables are used to store information about ONE single user, and are available to all pages in one application. Typically information stored in session variables are name, id, and preferences. Tell about application variables. Application variables are also available to all pages in one application. Application variables are used to store information about ALL users in a specific application. |
| |||
| When does a session start in classic asp A session starts when: · A new user requests an ASP file, and the Global.asa file includes a Session_OnStart procedure · A value is stored in a Session variable · A user requests an ASP file, and the Global.asa file uses thetag to instantiate an object with session scope |
| |||
| What is diff between session and application? The Application object is used to store and access variables from any page, just like the Session object. The difference is that ALL users share one Application object, while with Sessions there is one Session object for EACH user. |
| |||
| What are lock and unlock in application variables? Where we use them? You can lock an application with the "Lock" method. When an application is locked, the users cannot change the Application variables (other than the one currently accessing it). You can unlock an application with the "Unlock" method. |
| |||
| What are LOCAL and GLOBAL variables? Local Variable: The scope of the local variable is for the procedure in which they are declare. Which are called procedural level variable. Which are local to the procedure. The variables which are declare outside the procedure in option explicit whose scope is local to the form in which they are declare. Global variables are the variables whose scope is throughout the applicaiton. Usually used in module are class. |
| |||
| Hlo sir.. This is a shopping card 1.I am create a one gridview.. 2.the gridview collect the values in database 3.i click the add button the selected values all are display the next page 4. and i have click the home button display the first page... 5. and i have click the add button the selected values r display the next page but already i select the values and new values r dispalay gridview controls.... how can i write the coding sir Regards... S.Packirisamy |
| |||
| What is the maximum size of an array? Up to 60 dimensions. What happens to ASP pages? The browser makes a HTTP request; the server does the processing and gives a HTML response to the browser. plz givw me answer of What are LOCAL and GLOBAL variables? |
| |||
| Hi, Global variables->U can access global variable through out the page but not the entire project.These variables should be declared before the pageload function. Local Variables->These variables can be accessed only within the function. |
| |||
| What is Global.asx? What is difference betweeb Response.Redirect and server.Transfer? |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Top 10 Illegal Interview Questions | Sabari | Interview Questions & Answers and Tips | 10 | 12-03-2007 05:31 AM |
| HR Interview Questions with Answers | Sabari | Interview Questions & Answers and Tips | 63 | 11-23-2007 05:13 AM |
| Interview questions from TOP IT Companies | venkat_charya | Interview Questions & Answers and Tips | 19 | 10-13-2007 04:59 AM |
| MYSQL interview questions | it.wily | Interview Questions & Answers and Tips | 1 | 09-04-2007 03:33 AM |
| Interview Questions | shiva | Interview Questions & Answers and Tips | 6 | 08-24-2007 01:28 AM |