摘要:
<asp:TreeView ID="TreeView1" runat="server" ExpandImageUrl="images/a.jpg" NoExpandImageUrl="images/b.jpg" CollapseImageUrl="images/a.jpg" > <%--<LeafNodeStyle ImageUrl="~/WSZYST/images/H... 阅读全文
摘要:
--下载方式FileInfo DownloadFile = new FileInfo(filePath); Response.Clear(); Response.ClearHeaders(); Response.Buffer = false; Response.ContentType = "application/octet-stream"; Response.AppendHeader("Cont... 阅读全文
摘要:
/// <summary> /// 获得当前页面客户端的IP /// </summary> /// <returns>当前页面客户端的IP</returns> public static string GetIP() { string result = String.Empty; result = HttpContext.Current.Reques... 阅读全文
摘要:
set @billableID=SCOPE_IDENTITY()select @billableID as 'billableID' 阅读全文
摘要:
1.Response.Redirect("http://www.bcbbs.net",false); 目标页面和原页面可以在2个服务器上,可输入网址或相对路径。后面的bool值为是否停止执行当前页。 跳转向新的页面,原窗口被代替。" 浏览器中的URL为新路径。:Response.Redirect方法导致浏览器链接到一个指定的URL。当Response.Redirect()方法被调用时,它会创建一个... 阅读全文
摘要:
txtTakeDate2.Text = DateTime.Now.ToString("yyyy年MM月", DateTimeFormatInfo.InvariantInfo); 阅读全文
摘要:
select a.[TicketOrderID],a.[Takedate],c.ticketorderidfrom ticketorder aleft join [order] bon a.ticketorderid=b.orderidleft join [ticketOrder] con a.ticketOrderid=c.ticketorderid and c.ticketorderid=0 阅读全文
摘要:
select a.*,b.* from (select orderid,ordernumber from [order]) as a, (select orderid,source from [order]) as b where a.orderid=b.orderid 阅读全文