Tell something about Active Server Pages?
Answers were Sorted based on User's Feedback
Answer / hema
ASP stands for Active Server Pages.
It is a client and server technology in 3 -tier
architecture.
The asp script is executed on the server. and gives output
to the client in html format
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / murugan
ASP stands for Active Server Pages
ASP is a program that runs inside IIS
IIS stands for Internet Information Services
ASP is a Microsoft Technology
An ASP file is just the same as an HTML file
An ASP file can contain text, HTML, XML, and scripts
Scripts in an ASP file are executed on the server
An ASP file has the file extension ".asp"
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.
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.
Provide security since your ASP code can not be viewed from
the browser.
Clever ASP programming can minimize the network traffic.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rajandeep uppal
Active Server Pages is Microsoft First everSide script
Engine for dynamically generated web pages.It is initialy
marketed as IIS(internet information sysytem) in windows NT
4.0 Option pack ,But has been included as afree component
of window 2000 server.Each object correspond to a group of
frequentused functionality used for creating dyanmic web
pages
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / krishna
Asp is Specification.
Specification: It follows the rules of technology
If we take c#, it is a technology.
Asp follows the c# technology.
Is This Answer Correct ? | 3 Yes | 3 No |
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class Default2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { SqlConnection cn = new SqlConnection("Data Source =Prg1; Initial Catalog= DBTEST; Integrated Security = True"); cn.Open(); DataSet ds= new DataSet (); string str = "DB_test"; SqlDataAdapter da = new SqlDataAdapter(str, cn); da.SelectCommand.CommandType = CommandType.StoredProcedure; da.SelectCommand.CommandText = str; da.Fill(ds); Session["test"] = ds; } protected void btnSubmit_Click(object sender, EventArgs e) { DataSet ds1 = new DataSet(); ds1= (DataSet ) Session ["test"]; DataTable dt = ds1.Tables[0].Clone(); DataRow[] dr; string[] sqlInput = txtNo.Text.Split("-".ToCharArray ()); if (txtNo.Text != "" && txtWeight.Text != "") { if (sqlInput.Length > 1) { string query = ("t1 <=" + sqlInput[0] + " and " + "t2 >=" + sqlInput[1]); dr = ds1.Tables[0].Select(query); } else { string query = ("t1 <=" + txtNo.Text + "and " + "t2 >=" + txtNo.Text); dr = ds1.Tables[0].Select(query); } foreach (DataRow dr1 in dr) { dt.Rows.Add(dr1.ItemArray); } int i = Convert.ToInt32(dt.Rows[0] ["zone"].ToString()); DataTable dt1 = new DataTable(); DataRow[] dr2; dt1 = ds1.Tables[1].Clone(); dr2 = ds1.Tables[1].Select("weight=\'" + txtWeight.Text + "\'"); foreach (DataRow dr3 in dr2) { dt1.Rows.Add(dr3.ItemArray); } DataRow[] dr4; DataTable dt2 = ds1.Tables[2].Clone(); dr4 = ds1.Tables[2].Select(("weight=\'" + txtWeight.Text + "\'")); foreach (DataRow dr5 in dr4) { dt2.Rows.Add(dr5.ItemArray); } int j = Convert.ToInt32(dt.Rows[0] ["days"].ToString()); lbl.Text = dt1.Rows[0][i].ToString(); lbldays.Text = dt2.Rows[0][j].ToString(); } else { } } } ============================================================ ================ CREATE PROCEDURE DB_test AS BEGIN DECLARE @tb1 table ( t1 bigint, t2 bigint, zone bigint, days bigint ) insert into @tb1(t1,t2,zone,days) select (case when(charindex("-",No)-1>0) then convert (bigint,substring(No,1,charindex("-",No)-1)) else No end) as t1, (case when(charindex("-",No)-1>0) then convert(bigint,substring(No,charindex("-",No) +1,len(No))) else No end) as t2, Zone as zone, Days as days from [926] select * from @tb1 select * from zone select * from days end GO
Which is the default scripting language in active server pages?
What is asp in web?
What is asp in web technology?
What does aspx stand for?
What do you need to run asp?
how to code in asp.net for button?
What is the maximum size of an array in asp?
According to dot net is error and exception are same or different?
no.of pages comes before protected void ?
Explain the tags necessary to be present within the tag ?
How to add Textboxes Programmatically in each and every cell of Gridview along with the Excel data in the Gridvew.I mean when i get Excel data in Gridview i need to display Data and Textboxes for each and every cell of Gridview. Got it. Iam new to this concept plz help me. Thanks in Advance.