- 博客(3)
- 收藏
- 关注
原创 简单留言管理
//简易留言管理,使用repeater控件绑定 <table align="center" border="1" cellpadding="0px" cellspacing="0px" width="751px"> <tr> <td colspan
2011-01-06 19:36:57
801
原创 文件的读写操作
protected void Button1_Click(object sender, EventArgs e) { //创建文件 //方法一:利用FileStream类和StreamWriter类创建 //string path = @"c:\test.html"; //FileStream fs = new Fi...
2011-01-02 22:04:49
61
原创 增删改防止SQL注入
//进行增删改时防止SQL注入 public bool Insert(string caName) { bool flag=false; string sql="insert into category (name) values('"+caName+"')"; int i=sqlhelper.ExecuteNonQuery(sql); if(i>0) { ...
2010-12-31 21:41:10
169
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人