上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 单个字符隔开实例:页面代码:<body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> <asp:TextBox ID=" 阅读全文
posted @ 2012-03-29 14:55 偶不是大叔 阅读(741) 评论(0) 推荐(0) 编辑
摘要: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns><asp:BoundField DataField="RealDiscountRate" HeaderText="折扣率(%)" SortExpression="RealDiscountRate" DataFormatString="{0:0.0%}" ItemSt 阅读全文
posted @ 2012-03-29 14:38 偶不是大叔 阅读(298) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> function userAgent(){ var ua = navigator.userAgent; ua = ua.toLowerCase(); var match = /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec... 阅读全文
posted @ 2012-03-26 15:07 偶不是大叔 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 首先将它写成单独的方法我们来定义一个create_pro方法protected void create_pro () { using (SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["LocalConnectionString"].ConnectionString)) { conn.Open(); SqlCommand com... 阅读全文
posted @ 2012-03-23 14:50 偶不是大叔 阅读(1626) 评论(0) 推荐(1) 编辑
摘要: S表:C表:SC表: 阅读全文
posted @ 2012-03-16 21:33 偶不是大叔 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 给表student添加字段 scorealter table student add score int删除表student中字段 scorealter tablestudent drop column score注:column是必须要有的!刚开始我没加老是出错!修改表student中字段 score 属性alter tablestudent alter columnscore datetime 阅读全文
posted @ 2012-03-16 17:37 偶不是大叔 阅读(517) 评论(0) 推荐(0) 编辑
摘要: a 标签对是一个网站的一条信息链接定义的,a:link {} /* 未访问的链接 */a:visited {} /* 已访问的链接 */a:hover {} /* 当有鼠标悬停在链接上 */a:active {} /* 被选择的链接 */ 阅读全文
posted @ 2012-02-29 08:50 偶不是大叔 阅读(689) 评论(0) 推荐(0) 编辑
摘要: C:\Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller将该文件夹改名或删除 阅读全文
posted @ 2012-02-21 19:53 偶不是大叔 阅读(855) 评论(0) 推荐(0) 编辑
摘要: alter table B--cc是外键约束名,不能重复,也不能是int类型(如1,2,3)add constraint cc--B表里的需要约束的字段(id)foreign key (id)--A表后的(id)可省略references A (id) 阅读全文
posted @ 2012-02-17 14:49 偶不是大叔 阅读(15087) 评论(1) 推荐(0) 编辑
摘要: if object_id('T_CommMember') is not null Drop Table [T_CommMember];Create Table [T_CommMember] (.......)修改数据表名称修改数据表名dbo.T_Users为T_UsersEXEC sp_rename 'dbo.T_Users', 'T_Users' 阅读全文
posted @ 2012-02-17 10:47 偶不是大叔 阅读(854) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页