06 2018 档案
摘要:一、加上表头后变成乱码 /// DataTable中的数据导出到Excel并下载 /// </summary> /// <param name="dt">要导出的DataTable</param> /// <param name="FileType">类型</param> /// <param na
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or
阅读全文
摘要:二.介绍 Ø FusionCharts 是InfoSoft Global 公司的一个产品,InfoSoft Global 公司是专业的Flash 图形方案提供商,他们还有几款其他的,基于Flash 技术的产品,都非常的漂亮。 Ø FusionCharts Free 则是FusionCharts 提供
阅读全文
摘要:在ajax中的UpdatePanel弹出对话窗,可以使用: ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "alert", "alert('更新成功!')", true); 修改后跳到另一个页面中去时,可以使用:S
阅读全文
摘要:asp.net的forms身份认证保护是一个非常棒的东西,用VS2010创建一个Web应用程序即可看到范例 在web.config中配置 <authentication mode="Forms" > <forms loginUrl="~/Account/Login.aspx" protection=
阅读全文
摘要:<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>很抱歉,此页面暂
阅读全文
摘要:带参数存储过程 create proc proc_roles@uid int,@organid intasbegin DECLARE @Postid intDECLARE @rid intselect @Postid=Postid from StuOrganAndStu where U_id=@ui
阅读全文
摘要:Forms身份验证Web.config<system.web><authentication mode="Forms"> <forms loginUrl="登陆地址.aspx" defaultUrl="Default.aspx" /> <!--设置你的登陆页--> defaultUrl如果直接打开的
阅读全文
摘要:1. /// <summary> /// 过滤不安全的字符串 /// </summary> /// <param name="Str"></param> /// <returns></returns> public static string FilteSQLStr(string Str) { St
阅读全文
摘要:在web.config中添加以下: <appSettings> <add key="FilterSql" value="declare |exec|varchar |cursor |begin |open |drop |creat |select |truncate "/> </appSetting
阅读全文
摘要:layer作为优秀的jquery框架,可以用作弹出组件、日历、分页等,而且实现简单,只有几十k的大小。 此处给出弹出窗口时子窗口与父窗口的传值。js和css这里不展示引入(以下给出目录结构的图片),仅仅给出我测试的代码: 1 . index.html f.html(子窗口)
阅读全文