1 try 2 { 3 string sUsername = TextUserName.Text.Trim(); 4 string sPwd = TextBoxPwd.Text.Trim(); 5 if(string.IsNullOrEmpty(sUsername) || string.IsNull Read More
posted @ 2017-02-17 18:15 ~Jungle Views(223) Comments(0) Diggs(0) Edit
防止Sql注入: 数据库有存储过程(名字就是procSelUser) Read More
posted @ 2017-02-17 17:22 ~Jungle Views(117) Comments(0) Diggs(0) Edit
SqlHelp1 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 6 using System.Configuration; 7 using System.D Read More
posted @ 2017-02-17 17:22 ~Jungle Views(189) Comments(0) Diggs(0) Edit