摘要:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { // add the UnitPrice and QuantityTotal to the running total variables ... 阅读全文
2008年12月13日 #
2008年12月11日 #
摘要:
在usercontrol中的cs文件中:public string myClientID{get {return my.ClientID;} }//my为需要在客户端访问的控件名在aspx文件中:var mystr=document.getElementByID("<%uc1.myClientID%>").value; 或者直接在uc的cs文件中给出需要的控件的值,如textbox.t... 阅读全文
摘要:
在前台检测session是否有值<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="Server"> <% String str = (String)Session["locationlist"]; %> <script language="javascript" src="../J... 阅读全文
摘要:
最近学用asp.net开发一个查询系统将遇到的问题记录一下,答案来自网络,为自己以后翻阅方便而写。 阅读全文