摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.IO;usingSystem.Web;usingSystem.We... 阅读全文
posted @ 2009-11-23 11:22 StarWang 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 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 < ... 阅读全文
posted @ 2009-11-23 11:18 StarWang 阅读(226) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// Cut To Long String Of GridView /// </summary> /// <param name="e">RowDataBound e</param> /// <param name="cellIndex">Offset Of Column</param> /// ... 阅读全文
posted @ 2009-11-23 10:42 StarWang 阅读(162) 评论(0) 推荐(0) 编辑
摘要: //用 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 ... 阅读全文
posted @ 2009-11-23 09:15 StarWang 阅读(610) 评论(0) 推荐(0) 编辑