- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 在js中获取input check里选中的值
var namelist=document.getElementsByName("NameList");for(i=0;i<arr.length;i++){ if(arr[i].checked){ var a = arr[i].value; }}
2014-11-03 14:32:22 5420 1
原创 .NET(C#) EXCEL导入数据库 并显示在本页面 DEM导入
这里是 前台页面body里的代码 选择EXCEL文件上传(文件后缀名必须为 .xls )
2014-08-30 14:54:28 537
原创 .net(C#)生成二维码 DEMO
string url = Config.GetInstance().SystemSetting.Url; //http://wsl2.plusbe.com/detail.aspx string str = url + "?qdid=" + qdid + "&id=" + id; string filename = "Product_" + id + "_Supp_"+qdid+".png"; //
2014-08-30 14:47:19 568
原创 .net 创建session 获取、还有移除session
HttpContext.Current.Session["adminName"] = "admin"; //创建session HttpContext.Current.Session["adminID"] = "125"; Session.Timeout = 30; string admin = HttpContext.Current.Sessio
2014-07-28 11:57:48 484
原创 .net cookie的创建和读获取
public static void SendEmail() { System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(); //这里使用QQ的邮箱来发送测试,如果是其它邮箱,请根据其它邮箱POP3/IMAP/SMTP服务来设置 //这里使用163邮箱
2014-07-28 11:56:00 433
原创 .net 导出excel数据
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.W
2014-07-28 11:53:41 387
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人