摘要:
LInq分页testDataContext dc = new testDataContext(); public string GetPageNum(GridView GridViewName, int pagesize, IQueryable<test> sql) { int page; if (HttpContext.Current.Request.QueryString["page"] != null) page = Convert.ToInt32(HttpContext.Current.Request.QueryString["page&quo 阅读全文
摘要:
ALTER function [dbo].[GetOrderNum](@ebaystockflag varchar(20)//规则字母)returns varchar(100)ASBEGIN declare @dt CHAR(8) declare @flag varchar(20) set @flag='B'+@ebaystockflag set @dt=CONVERT(CHAR(8),GETDATE(),112) declare @max varchar(100) SELECT @max=MAX(OrderNumber) FROM tb_EbayOrder WITH(XLOC 阅读全文
摘要:
前台:<asp:DataList ID="DataList1" runat="server" RepeatDirection="Horizontal" RepeatColumns="5" CellSpacing="25"> <ItemTemplate> <img src="<%# Eval("FullName") %>" width="50" height="50" bord 阅读全文