
ASP.Net
文章平均质量分 79
hhzichen
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C#上传文件
html: C#: protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) try原创 2011-11-23 11:42:36 · 334 阅读 · 0 评论 -
字符串截取(按byte截取)
/// /// 字符串截取(按byte截取) /// /// 要截取的字符串,中英文数字都可 /// 要截取的byte数 /// public String Substr(object o, int length) { string s = Util.objectToString(o);原创 2012-11-07 14:37:50 · 1210 阅读 · 0 评论 -
根据ip获取城市名
protected void Page_Load(object sender, EventArgs e) { //获取ip if (Context.Request.ServerVariables["HTTP_VIA"] != null) // using proxy { ip.Text = Context.R原创 2012-10-22 14:17:19 · 3617 阅读 · 0 评论 -
datatable导出EXCEL
/// /// 导出 /// /// /// protected void cmdExportExcel_Click(object sender, EventArgs e) { string templateFileName = System.Configuration.ConfigurationManager.原创 2012-08-08 11:05:10 · 385 阅读 · 0 评论 -
asp.net指定GridView 导出Excel
protected void cmdExportExcel_Click(object sender, EventArgs e) { startTime = Session["startTime"] as string; endTime = Session["endTime"] as string; string templateFil原创 2012-04-27 09:31:22 · 455 阅读 · 0 评论 -
GridView 导出Excel
protected void cmdExportExcel_Click(object sender, EventArgs e) { startTime = Session["startTime"] as string; endTime = Session["endTime"] as string; string templateFil翻译 2012-03-31 11:40:30 · 320 阅读 · 0 评论 -
html嵌套页面
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml"> 哈哈哈哈哈哈哈哈哈翻译 2012-01-12 12:02:52 · 725 阅读 · 0 评论 -
Repeater行绑定样式,选中checkbox,获取checkbox的ToolTip值
页面: 电话号码 催收状态原创 2012-01-11 08:45:56 · 2735 阅读 · 0 评论 -
Repeater控件使用(含删除,分页功能)
前台aspx代以码: head runat="server"> title>Repeater控件使用title> script language="javascript" type="text/javascript"> function Check(parentChk,ChildId) { var oElements = do原创 2012-01-08 15:33:26 · 614 阅读 · 0 评论 -
asp.net使用dataset批量添加数据
DateTime time1 = DateTime.Now; Response.Write(time1 + "开始时间"); string sql = "Select name,tell,age from Aitems"; SqlConnection cn = new SqlConnection("Data Source=.;Initial C翻译 2011-12-02 14:53:38 · 1211 阅读 · 0 评论 -
汉字转换成拼音
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace KxShop.Web.Common { /// ///GetPinYin 的摘要说明 /// public clas原创 2013-08-13 15:09:01 · 808 阅读 · 0 评论