摘要:
用sqlserver身份验证<add key="ConnectionString" value="server=59.60.13.92;database=camping8;uid=camping8;pwd=Aa1284164!"/>用本地用户身份验证<add key="ConnectionString" value="Data Source=PCWIN7-PC\SQLEXPRESS;Initial Catalog=zzlt0525ftp;Integrated Security=True"/> 阅读全文
摘要:
public static string GetDataFromUrl(string url) { string str = string.Empty; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); //设置Http头; request.AllowAutoRedirect = true; request.AllowWriteStreamBuffering = true; ... 阅读全文
摘要:
/// <summary> /// 从一个表中获取从第N条后的count条数据 /// </summary> /// <param name="tb">原表</param> /// <param name="star">开始</param> /// <param name="count">共多少</param> /// <returns></returns> public DataTable GetTablesDat 阅读全文