随笔分类 -  asp.net

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要:一般处理程序JsonDate.ashxpublic void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; DataTable data2 = myData(); string str = DataTableToJson("myJson", data2);//构建的json数据 context.Response.Write(str); } public bool IsReusable { get { return false; } } //用datatable做数据,数据模拟 阅读全文
posted @ 2010-12-16 10:58 你妹的sb 阅读(5020) 评论(0) 推荐(1) 编辑
该文被密码保护。
posted @ 2010-12-15 15:26 你妹的sb 阅读(0) 评论(0) 推荐(0) 编辑
摘要:http://www.lanrentuku.com/js/biaoqian-466.html 支持放大显示效果的TOP排行...http://www.lanrentuku.com/js/biaoqian-514.html 这个TAB滑动门标签,可以自适应宽度,应用起来很方便。http://www.lanrentuku.com/js/biaoqian-461.html 仿雅虎首页网站快捷入口和快...http://www.lanrentuku.com/js/biaoqian-471.html 可自定义的幻灯片和图片缓冲...http://www.lanrentuku.com/js/biaoqia 阅读全文
posted @ 2010-12-05 21:28 你妹的sb 阅读(905) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-12-01 14:25 你妹的sb 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-29 17:26 你妹的sb 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-28 21:27 你妹的sb 阅读(0) 评论(0) 推荐(0) 编辑
摘要:http://51jsp.cn/html/_net/2010/0710/24418_2.html 阅读全文
posted @ 2010-11-28 21:20 你妹的sb 阅读(134) 评论(0) 推荐(0) 编辑
摘要:很简单的一个办法就是 改fckeditor/fckconfig.js 里面 FCKConfig.LinkUploadURL= 这个是超链接的功能 你在最后面加上 + '?Type=File'即:FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upl... 阅读全文
posted @ 2010-11-27 19:23 你妹的sb 阅读(553) 评论(0) 推荐(0) 编辑
摘要:当应用程序出错时,我不希望用户看到一个错误提醒页面,而不是看到一堆乱码。 方法1:简单的自定义错误处理页面可以通过web.config来设置: [代码]方法2:通过Global.asax中的Application_Error事件实现 Global.asax中的Application_Error事件的示例代码:[代码] 错误页面error.aspx的代码:[代码]方法2代码下载:Global_Stu... 阅读全文
posted @ 2010-11-25 20:56 你妹的sb 阅读(285) 评论(0) 推荐(0) 编辑
摘要:用Asp.net生成RSS文件,以便Rss阅读器订阅。环境如下:A:数据库环境: SQLServer2005(数据库实例:机器名+SQLServer2005)B:开发环境 Vs2005.net数据库Create table Tb_Test(ID int identity(1,1),Title varchar(20), Description varchar(100), AddDate dateti... 阅读全文
posted @ 2010-11-25 17:01 你妹的sb 阅读(477) 评论(0) 推荐(0) 编辑
摘要:<script>function renc(obj, reg, inputStr){var docSel= document.selection.createRange()if (docSel.parentElement().tagName != "INPUT")return falseoSel = docSel.duplicate()oSel.text = ""var srcRang... 阅读全文
posted @ 2010-11-25 15:29 你妹的sb 阅读(470) 评论(0) 推荐(0) 编辑
摘要:1.建立一个class,ReadWriteConfig.csusingSystem;usingSystem.Configuration;usingSystem.Reflection;usingSystem.Web;usingSystem.Xml;publicenumConfigFileType{WebConfig,AppConfig}namespaceWebApplication1{/**////... 阅读全文
posted @ 2010-11-24 21:39 你妹的sb 阅读(1837) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-17 23:01 你妹的sb 阅读(4) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-17 16:56 你妹的sb 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2010-11-16 21:05 你妹的sb 阅读(5) 评论(0) 推荐(0) 编辑
摘要:c#中日前函数处理Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//2010年4月24日this.TextBox6.Text=System.DateTime.Now.ToString("D");//2010-4-24this.TextBox7.Tex... 阅读全文
posted @ 2010-11-13 11:13 你妹的sb 阅读(162) 评论(0) 推荐(0) 编辑
摘要:< script > function objAjax(){var objxml = false ; // 尝试创建MicrosoftIE浏览器支持的对象   try {objxml = new ActiveXObject( " Msxml2.XMLHTTP " );} catch (e){try {objxml = new ActiveXObject( " Microsoft.X... 阅读全文
posted @ 2010-11-12 21:50 你妹的sb 阅读(316) 评论(0) 推荐(0) 编辑
摘要:前臺Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<scriptlanguage="javascript"type="text/javascript">functionselectkk(){varitem=document.getElem... 阅读全文
posted @ 2010-11-12 14:13 你妹的sb 阅读(325) 评论(0) 推荐(0) 编辑
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<styletype="text/css">.tooltip{display:none;position:absolute;z-index:1001;left:10px;top:15px... 阅读全文
posted @ 2010-11-09 22:18 你妹的sb 阅读(310) 评论(0) 推荐(0) 编辑
摘要:asp.net 2.0多语言网站解决方案 作者:huerreson 时间: 2008-08-21 文档类型:原创 来自:蓝色理想 原文:http://huerreson.cn/post/aspdotnet-multi-languages-solution.aspxasp.net 2.0中的App_GlobalResources可以用来解决本地化的问题,程序会根据浏览器的语言首选项自动判断显示出本地... 阅读全文
posted @ 2010-11-09 21:17 你妹的sb 阅读(257) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
百度一下