- 博客(8)
- 资源 (8)
- 问答 (2)
- 收藏
- 关注
转载 ASP.NET 取得 Request URL 的各个部分和通过ASP.NET获取URL地址的方法
網址:http://localhost:1897/News/Press/Content.aspx/123?id=1#tocRequest.ApplicationPath/Request.PhysicalPathD:/Projects/Solution/web/News/Press/Content.aspxSystem.IO.Path.GetDirectoryName(Request.PhysicalPath)D:/Projects/Solution/web/News/PressRequest.Physica
2010-10-28 09:30:00 290
原创 ROW_NUMBER() 真分页 存储过程
<br />if exists(select * from sysobjects where name='proc_pages')<br /> drop Proc proc_pages<br />create Proc proc_pages<br />@tablename varchar(100),<br />@pagesize int,<br />@pageindex int,<br />@orderby varchar(100),<br />@selectext varchar(100)<br />AS
2010-10-19 14:38:00 336
原创 ASP.NET中 存储过程-Procedure 使用 学习总结
<br />1.不带参数的存储过程的使用(获取数据库中所有数据表信息)<br /> SqlCommand comm=new SqlCommand();<br /> comm.Connection=conn;<br /> comm.commandType=System.Date.CommandType.StoreProcedure;<br /> comm.commandText="sp_database"; //存储过程名<br /> SqlDataReader
2010-10-19 14:36:00 345
转载 写入XML 学习总结
写入XML文件 using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Xml;usin
2010-10-19 14:28:00 321
原创 数字水印 IHttpHandler 学习总结
为图片 添加 数字水印using System;using System.Data;using System.Web;using System.Drawing.Imaging;using System.Drawing;using System.IO;/// /// WaterHandler 的摘要说明/// public class WaterHandler:IHttpHandler{ private const string WATERIMG = "~/Images/watermark.jpg";
2010-10-19 14:16:00 428
原创 动态.aspx页面生成静态.html页面 学习总结
<br />1.在源页面(ori.aspx)中写好一超链<a href="staticpage.aspx?id=<%#Eval("Id")%>"请求页面</a><br />2.在请求页面的statcipage.aspx.cs中定这样一段代码<br /> protected override void Render(HtmlTextWriter writer)<br /> {<br /> string staticFile = "static/" + Request["bId"] + ".
2010-10-19 13:57:00 412
原创 配置文件验证管理员登陆 学习总结
<br />刚刚学完如果用配置文件验证管理员登陆 感觉有点晕晕的 和之前用Session写登陆有些混肴了 所以写下来 总节一下 顺便清楚 一下头脑<br /><authentication mode="Forms"></authentication>是在客户端保存用户信息的方式并加密处理<br />例:<br /><authentication mode="Forms"><br /> <forms loginUrl="Manage/Login.aspx" defaultUrl="Manage/Admin
2010-10-19 13:47:00 465
原创 ASP.NET FileUpload.PostedFile.ContentType
FileUpload.PostedFile.ContentType文件格式stringFileUpload.PostedFile.ContentType.jpgimage/jpgFileUpload.PostedFile.ContentType.psdapplication/octet-streamFileUpload.PostedFile.ContentType.bmpimage/bmpFileUpload.PostedFile.ContentType.icoimage/x-iconFileUpload.
2010-09-28 17:33:00 2364 1
poi.jar包下载
2012-04-19
Redhat_linux与java开发相关资料
2012-04-12
CSS.DIV样式与布局(笔记)
2010-04-15
银行卡号合法性校验
2011-07-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人