摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.IO;usingSystem.Web;usingSystem.We... 阅读全文
摘要:
private void BindFirstApply() { using (SPWeb web = SPControl.GetContextSite(Context).OpenWeb()) { DataTable ownerTable = Make_Table(); foreach (SPUser user in web.SiteUsers) { for (int i = 0; i < ... 阅读全文
摘要:
/// <summary> /// Cut To Long String Of GridView /// </summary> /// <param name="e">RowDataBound e</param> /// <param name="cellIndex">Offset Of Column</param> /// ... 阅读全文
摘要:
//用 JavaScript 写服务器端连接数据库的代码示例 var conn = new ActiveXObject("ADODB.Connection");conn.Open("Provider=SQLOLEDB.1; Data Source=localhost; User ID=sa; " +"Password=sa; Initial Catalog=pubs");var rs = new ... 阅读全文