当前位置:首页 » 操作系统 » 源码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

热点内容
app什么情况下找不到服务器 发布:2025-05-12 15:46:25 浏览:714
php跳过if 发布:2025-05-12 15:34:29 浏览:467
不定时算法 发布:2025-05-12 15:30:16 浏览:131
c语言延时1ms程序 发布:2025-05-12 15:01:30 浏览:165
动物园灵长类动物配置什么植物 发布:2025-05-12 14:49:59 浏览:734
wifi密码设置什么好 发布:2025-05-12 14:49:17 浏览:148
三位数乘两位数速算法 发布:2025-05-12 13:05:48 浏览:397
暴风影音缓存在哪里 发布:2025-05-12 12:42:03 浏览:541
access数据库exe 发布:2025-05-12 12:39:04 浏览:628
五开的配置是什么 发布:2025-05-12 12:36:37 浏览:365