Sun_china

交流更多,收获更多?

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 14 15 16 17 18

2007年4月18日 #

摘要: var sString = ''; var oEditor = FCKeditorAPI.GetInstance('editor' ); oEditor.SetHTML(sString); 阅读全文
posted @ 2007-04-18 13:43 Sun_china 阅读(1647) 评论(2) 推荐(0) 编辑

摘要: 2005.10.28 来自:MSDN Karl Seguin Asynchronous JavaScript and XML(AJAX)最近掀起的高潮,要完全归功于Google在Google Suggest和Google Maps中的使用。对ASP.NET而言,AJAX不需要回传就能进行服务器端处... 阅读全文
posted @ 2007-04-18 13:33 Sun_china 阅读(380) 评论(1) 推荐(0) 编辑

摘要: 网站用户分级的解决方案 普通用户分级这里一般用cookie,.net里有更加密的算法。单个页 webconfig.xml所在文件夹 说明:子目录的web.config设置优先于父目录的web.config设置 这是写死的办法 ... 阅读全文
posted @ 2007-04-18 13:30 Sun_china 阅读(1364) 评论(0) 推荐(0) 编辑

摘要: .net1.1中如果需要灵活的操作和读写配置文件并不是十分方便,一般都会在项目中封装一个配置文件管理类来进行读写操作。而在.net2.0中使用configurationmanager 和webconfigurationmanager 类可以很好的管理配置文件,configurationmanager类在system.configuration中,webconfigurationmanager在sy... 阅读全文
posted @ 2007-04-18 13:15 Sun_china 阅读(501) 评论(0) 推荐(0) 编辑

摘要: 9.获取错误信息并到指定页面不要使用Response.Redirect,而应该使用Server.Transfer e.g// in global.asaxprotected void Application_Error(Object sender, EventArgs e) {if (Server.GetLastError() is HttpUnhandledException)Server.T... 阅读全文
posted @ 2007-04-18 13:12 Sun_china 阅读(294) 评论(0) 推荐(0) 编辑

摘要: 数据表里有id,和pid两例 private void bindtree() { TreeView1.Nodes.Clear(); TreeNode root=new TreeNode(); root.Expanded=true; root.Text="字典维护"; root.NodeData="0"; this.TreeView1.Nodes.Add(root); ... 阅读全文
posted @ 2007-04-18 13:08 Sun_china 阅读(345) 评论(0) 推荐(0) 编辑

2007年3月22日 #

摘要: http://data.socut.com/?go=video 阅读全文
posted @ 2007-03-22 14:17 Sun_china 阅读(325) 评论(0) 推荐(0) 编辑

摘要: wwwroot/webctrl_client/1_0下的TreeView.htc 找到如下方法 function buildTreeFromRoot() { bodyNode.style.direction = element.currentStyle.direction; /... 阅读全文
posted @ 2007-03-22 14:06 Sun_china 阅读(297) 评论(0) 推荐(0) 编辑

摘要: //***JavaScript 表单域读写函数集*******// function outcheck(check_value){ if(check_value != ""){ alert(check_value) return false; } return true;} function checkvalue(obj, low, up, mode, lable){/*Mode = 1 检... 阅读全文
posted @ 2007-03-22 13:27 Sun_china 阅读(599) 评论(0) 推荐(0) 编辑

摘要: http://www.dotneturls.com/gb.aspx 阅读全文
posted @ 2007-03-22 13:14 Sun_china 阅读(241) 评论(0) 推荐(0) 编辑

上一页 1 ··· 14 15 16 17 18