当前位置:首页 » 操作系统 » 源码asp订单

源码asp订单

发布时间: 2024-05-09 23:12:57

⑴ ASP.NET椤圭洰寮鍙戞寚鍗:缃戠粶涔﹀簵璁㈠崟镄勫𪾢绀猴纸1锛

銆銆 绠$悊锻樼晫闱 璁㈠崟绠$悊

銆銆璁㈠崟绠$悊妯″潡涓昏佺敤𨱒ュ疄鐜拌㈠崟镄勬煡鐪 浣滃帘鍜岀‘璁ゅ彂璐х瓑镎崭綔

銆銆 璁㈠崟镄勫𪾢绀猴纸 锛

銆銆鍦ㄧ$悊锻樼晫闱涓鍗曞嚮 璁㈠崟绠$悊 瓒呴摼鎺ユ椂 灏呜繘鍏ST_OrderList aspx椤甸溃 濡傚浘 镓绀

锲 ST_OrderList aspx椤甸溃

銆銆 ST_OrderList aspx镄勪富瑕丠TML浠g爜

銆銆鍦ㄦょ敤浜嗕竴涓狦ridView鎺т欢𨱒ユ樉绀鸿㈠崟镄勬暟鎹 ST_OrderList aspx镄勪富瑕丠TML浠g爜濡傜▼搴 镓绀

銆銆绋嫔簭 ST_OrderList aspx

銆銆 <! 瀹炵幇椤甸溃缂揿瓨 >

銆銆 <%@ OutputCache Duration= VaryByParam= * %>

銆銆 钬

銆銆 <form id= Form method= post runat= server >

銆銆 <TABLE id= Table cellPadding= width= % align= center

銆銆 border= >

銆銆 <TR>

銆銆 <TD>

銆銆 <! GridView鎺т欢 >

銆銆 <asp:GridView id= dgProct runat= server

銆銆 AutoGenerateColumns= False BorderColor= #

銆銆 BorderStyle= Double BorderWidth= px

銆銆 BackColor= White CellPadding= GridLines= Horizontal >

銆銆 <SelectedRowStyle Font Bold= True

銆銆 ForeColor= White BackColor= # ></SelectedRowStyle>

銆銆 <RowStyle BackColor= White

銆銆 ForeColor= # ></RowStyle>

銆銆 <HeaderStyle Font Bold= True ForeColor= White

銆銆 BackColor= # ></HeaderStyle>

銆銆 <FooterStyle BackColor= White

銆銆 ForeColor= # ></FooterStyle>

銆銆 <! 鍒 >

銆銆 <Columns>

銆銆 <asp:BoundField Visible= False

銆銆 DataField= ST_OrderID ></asp:BoundField>

銆銆 <asp:BoundField DataField= ST_CreateTime

銆銆 HeaderText= 鐢熸垚镞堕棿 ></asp:BoundField>

銆銆 <asp:BoundField DataField= ST_Ship

銆銆 HeaderText= 閰嶉佹柟寮 ></asp:BoundField>

銆銆 <asp:BoundField DataField= ST_Payment

銆銆 HeaderText= 鏀浠樻柟寮 ></asp:BoundField>

銆銆 <asp:BoundField DataField= ST_Sum

銆銆 HeaderText= 璁㈠崟閲戦 ></asp:BoundField>

銆銆 <asp:BoundField DataField= ST_Consignee

銆銆 HeaderText= 鏀惰揣浜 ></asp:BoundField>

銆銆 <! 妯℃澘鍒 >

銆銆 <asp:TemplateField HeaderText= 镆ョ湅 >

銆銆 <ItemTemplate>

銆銆 <a href= <%#

銆銆 ST_OrderDetail aspx?orderid= +

銆銆 Eval锛 ST_OrderID 锛%> >镆ョ湅</a>

銆銆 </ItemTemplate>

銆銆 </asp:TemplateField>

銆銆 </Columns>

銆銆 <! 鍒嗛〉镙峰纺 >

銆銆 <PagerSettings Mode= NextPrevious

銆銆 PreviousPageText= 涓娄竴椤 NextPageText= 涓嬩竴椤 />

銆銆 </asp:GridView></TD>

銆銆 </TR>

銆銆 </TABLE>

銆銆 </form>

銆銆銆愪唬镰佽存槑銆戜唬镰佺 ~ 琛屾槸GridView镄勫垪 鍙浠ョ湅鍑 鍓嶉溃閮芥槸BoundField 鏄鏅阃氱殑鏁版嵁缁戝畾鍒 鐩存帴杈揿嚭鏁版嵁搴扑腑镄勫唴瀹瑰嵆鍙 钥屼唬镰佺 ~ 琛屾槸涓涓妯℃澘鍒 杩欓噷瀹氢箟浜嗕竴涓瓒呴摼鎺 鍏秇ref灞炴ц剧疆涓<%# ST_OrderDetail aspx?orderid= +Eval锛 ST_OrderID 锛%>琛ㄧず阈炬帴鐩镄勫湴鏄疭T_ OrderDetail aspx椤甸溃 钖屾椂杩樿佷紶阃掑弬鏁皁rderid 鍏跺兼潵镊琚缁戝畾鏁版嵁婧愮殑 ST_OrderID瀛楁 鍏跺疄瀵艰埅镄勭洰镄勫氨鏄镆ョ湅鎸囧畾璁㈠崟鍙风殑镆愪竴璁㈠崟

銆銆璇存槑 BorderStyle= Double 琛ㄧずGridView镄勮竟妗嗘牱寮

杩斿洖鐩褰 ASP NET椤圭洰寮鍙戞寚鍗

缂栬緫鎺ㄨ崘

ASP NET MVC 妗嗘灦鎻绉

ASP NET寮鍙戝疂鍏

lishixin/Article/program/net/201311/15849

热点内容
编程类股票 发布:2024-05-20 19:54:34 浏览:920
笔记本电脑设置密码怎么弄 发布:2024-05-20 19:30:21 浏览:456
电脑租服务器一天多少 发布:2024-05-20 19:23:15 浏览:775
c语言程序三种基本结构 发布:2024-05-20 19:18:06 浏览:799
小蚁运动相机存储卡 发布:2024-05-20 19:17:31 浏览:82
红米4怎么关闭密码锁屏密码 发布:2024-05-20 18:55:00 浏览:767
买手机看哪些参数配置图片 发布:2024-05-20 18:35:02 浏览:8
右键文件夹未响应 发布:2024-05-20 18:34:23 浏览:987
汽车安卓软件在哪里下载 发布:2024-05-20 18:33:38 浏览:887
编程智能积木 发布:2024-05-20 18:26:03 浏览:161