您好,欢迎访问三七文档
当前位置:首页 > 临时分类 > ASPNET期末复习题
1ASP.NETLockUnlock(D)A.CacheB.SessionC.RequestD.Application2(C)ACdateBCintCCStrDCDbl3ASP.NETHTMLDA.HTMLIDASP.NETB.HTMLrunat=serverASP.NETHTMLC.ASP.NETASP.NETHTMLD.ASP.NETHTMLWebServer4.DA.SessionB.Session40C.SessionD.SessionAbandon5.Request.FormAA.PostB.GetC.D.6.CookieCA.20B.30C.50D.7.ApplicationDA.10B.20C.30D.8.RequestDA.CookiesB.FormC.QueryStringD.Server9.ServerExcuteTransferAA.B.C.D.10HtmlFormBA.HtmlFormformB.WebFormHtmlFormC.ASP.NETformmethodpostD.formRunat=Server11BA.TextBoxB.RadioBoxC.ListBoxD.CheckBox12..NetFrameworkDAASP.NETBADO.NETCCOM+D.NetFramework13.NETWEBAA.ServerMapPathB.ServerTransferC.RequestFilePathD.RequestUrl14FORMMETHOD(C)A.POSTB.GOTC.GETD.QUERY15.Application(A)A.Application_OnStartB.Application_OnEndC.Application_StartD.Application_End16Application(D)A10B15C20D17.ABBAServerCA.TransferB.RedirectC.ExecuteD.href18A%Response.WriteAResponse.EndResponse.WriteB%A.AB.ABC.ACD.ABC19(C)%Dimsum,ISum=0I=1DoSum=sum+I^2I=I+1LoopWhileI=10%A.7B.9C.10D.1120D%Response.WriteServer.HTMLEncode(ahref=')%A.B.ahref='=TrueB.IsPostBack=TrueC.IsPostBack=FalseD.AutoPostBack=False22.96BA.CompareValidatorB.RangeValidtorC.RequiredFieldValidatorD.RegularExpressionValidator23.SqlComandTransact-SQLA.ExecuteReaderB.ExecuteScalaC.ConnectionD.ExecuteNonQuery24.GridViewSqlDateSource(C)A.B.C.SQLD.25.TextBox010(D)A.CompareValidatorB.CompareValidatorRequiredFieldValidatorC.RangeValidatorD.RangeValidatorRequiredFieldValidator26.(A)A.RadioButtonB.CheckBoxListC.CheckBoxD.RadioButtonList27.(D)A.B.C.D.28.ValidatorSummary(B)A.B.C.D.29.ADO.NETCommandExecuteNonQuery()ExecuteReader()CA.insertupdatedeleteSqlExecuteNonQuery()B.ExecuteNonQuery()SqlC.SelectSqlExecuteReader()D.ExecuteReader()DataReder30.ASP.NETWeb(A)A.HTMLWebB.HTMLXMLC.XMLWebD.HTMLIIS1.________2.Response__Redirect_URL3._unlock()_ASPApplication4.Request.FormRequest.QueryStringFORM_Post__Get_,5.HTMLHTMLServer___unat=server_6.TextBoxTextMode__Password__7.nnTextBoxDoublenn=4512.6;TextBox1.Text=___nn.ToString()_8_ControlToValidate_9SessionSessionSession[greeting]=hellowang!SessionstringMyvar=_Session[greeting].ToString()__10.ApplicationApplication.____lock()____;//ApplicationApplication[counter]=(int)Application[counter]+1;Application.___unlock()___;//Application11.Session_Session.Abandon()__12.Session__Session.Timeout=60___(60)13.SQLConnection_ConnectionString___SQL14.ADO.NET__command___15.DataReader___16.ADO.NETDataReader__DataAdapter_17.netFrameworkvs.net.netFramework__(CLR)_18.Asp.netmachine.config__web.config__1.CookieSession.CookieSessionCookieSessionCookie,SessionCookieSession,,SessionCookie2.ASP.NET.ASP.NETPageResponseRequestServerApplicationSessionCookie3.ASP.NET.1QueryString,....?id=1;response.Redirect()....2Session3Server.Transfer4.HTMLWEB5.1HTMLHtmlAnchorHtmlformHtmlButtonHTMLInputButtonHtmlInputImageHtmlInputTextHtmlTextAreaHtmlImageHtmlInputCheckBoxHtmlInputRadioButton2WEBLabelButtonHyperLinkLinkButtonImageButtonTextBoxCheckBoxCheckBoxListRadioButton5.ASP.NET6.WebHTMLRunat=serverASP.NET.NETRunat=server.NETHTML7.HTMLHTMLHTMHTML8.ADO.netconnectioncommanddatareaderdataadapterdataset9.ASP.NETAps.net10.DataReaderDataSetDataReaderDataSet,DataReaderSqlConnection,..SqlConnectionDataReader..DataReader,..DataReader.DataReader..DataSet.....DataSet....DataReader..,,.11ahref=Page2.aspx?ID=100&Name=Tom/a2Page2.aspx1protectedvoidPage_Load(objectsender,System.EventArgse){Response.Write(brID+Request,QueryString[ID]+br);Response.Write(brName+Request,QueryString[Name]+br);}2protectedvoidButton1_Click(objectsender,EventArgse){SqlConnectionconn=newSqlConnection();//Sqlserverconn.ConnectionString______=DataSource=.;InitialCatalog=Northwind;UserID=sa;Password=123456;If(conn.State==ConnectionState.Closed){//Conn.Open()}SqlCommandcmd=newSqlCommand();//SqlCommandcmd.Connection=conn//SqlCommandSQLcmd.CommandTyep=CommandType.Text;//SQLcmd.commandText=select*fromShippers;//SqlDataReaderdata=cmd.ExecuteReader()//GridView1cmd.GridView1.DataSoure=data;cmd.GridView1.DataBind();//Conn.close();}
本文标题:ASPNET期末复习题
链接地址:https://www.777doc.com/doc-7338506 .html