12 2006 档案
摘要:上传的文件默认的大小是4M(4096),可以在web.config中修改文件大小的限制:
阅读全文
摘要:DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection("server=localhost;uid=sa;pwd=sa;DataBase=pubs"); SqlDataAdapter ada = new SqlDataAdapter("select * from authors",conn); conn.Open(); ...
阅读全文
摘要:1.边框空白(MARGIN) 如图所示,位于BOX模型的最外层,包括四项属性。 格式分别如下: ·margin-top:顶部空白距离 ·margin-right:右边空白距离 ·margin-bottom:底部空白距离 ·margin-left:左边空白距离 空白的距离可以用带长度单位的数字表示。 如果使用上述属性的简化方式margin,可以在其后连续加上四个带长度单位的数字,来分...
阅读全文
摘要:示例 A. 重命名表 下例将表 customers 重命名为 custs。 EXEC sp_rename 'customers', 'custs' B. 重命名列 下例将表 customers 中的列 contact title 重命名为 title。 EXEC sp...
阅读全文
摘要:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebContr...
阅读全文