ASP.NET
文章平均质量分 67
标哥-iOS攻城狮
现从事iOS开发,业余研究HTML5+CSS3+PHP+Mysql,cocos2dx中...
展开
-
asp.net提交文件处理
public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/html"; string strPath = context.Server.MapPath("hello2.htm"); //获取文件的路径 context.Respon原创 2012-12-11 19:13:28 · 438 阅读 · 0 评论 -
ASP.NET上传文件
protected void btnUpload_Click(object sender, EventArgs e) { //上传JPG格式的图片 if (fileUploadID.HasFile) //如果有文件 { string strFileExtention = n原创 2012-12-19 11:14:52 · 403 阅读 · 0 评论 -
ASP.NET实现GridView删除功能
public partial class _Default : System.Web.UI.Page { SqlDataAdapter sda = null; private void Bind() { string strConnectionString = "server=localhost;database=r原创 2012-12-21 22:37:50 · 1373 阅读 · 0 评论 -
SqlHelper.cs
using System.Data; using System.Data.SqlClient; using System.Web.Configuration; using System.Web.UI.WebControls; public class SQLHelper { public static SqlConnection CreateConnection() {原创 2012-12-22 21:51:25 · 559 阅读 · 0 评论 -
ASP.NET使用数据库实现网站统计器
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.SessionState; using System.Xml.L原创 2012-12-21 19:27:01 · 702 阅读 · 0 评论