随笔分类 -  项目实训物流系统总结

研一学校实训项目“物流管理系统设计与实现”
摘要:MyOrders前台: 1 <table width="100%" border="1" cellspacing="1" cellpadding="0"> 2 <tr> 3 <td colspan="6" align="center" style="font-size: 20pt; color: #003399"> 4 <asp:Label ID="Label1" runat="ser 阅读全文
posted @ 2012-03-03 17:59 唐小喵 阅读(423) 评论(0) 推荐(0) 编辑
摘要:1. 弹出窗口,再跳转页面的写法:Response.Write("<Script Language='JavaScript'>window.alert('对不起,不能显示您的个人信息!');window.location.href='Default.aspx';</script>");2. 注册时用CustomValidator控件验证用户名是否已经存在 前台代码:<asp:CustomValidator ID="CustomValidator1" runat="se 阅读全文
posted @ 2012-03-03 17:48 唐小喵 阅读(237) 评论(0) 推荐(0) 编辑
摘要:方法中的添加参数写法不好,要按照Users类里面的方法来写。这样就不用管参数的顺序了。返回的DataTable用于作为绑定Repeater控件的数据源 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Data.SqlClient; 6 using System.Data; 7 8 /// <summary> 9 ///Employees 的摘要说明 10 /// </summary> 11 public 阅读全文
posted @ 2012-03-03 16:48 唐小喵 阅读(1432) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Data.SqlClient; 6 using System.Data; 7 8 /// <summary> 9 ///Users 的摘要说明 10 /// </summary> 11 public class Users 12 { 13 //声明7个私有字段 14 private int userID; 15 private stri... 阅读全文
posted @ 2012-03-03 16:43 唐小喵 阅读(844) 评论(0) 推荐(0) 编辑
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Data.SqlClient; 6 using System.Data; 7 8 /// <summary> 9 ///DBHelper 的摘要说明 10 /// </summary> 11 public class DBHelper 12 { 13 private static DBHelper _instance; 14 protected... 阅读全文
posted @ 2012-03-03 16:40 唐小喵 阅读(1713) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示