####*****CSDN,有多少个高手,机会来了!!!有贴过高手没出现,只见一个同路人!!,,********C#.web与SQL SERVER 联接的问题,,,,
SqlConnection sql=new SqlConnection("Persist Security Info=False;uid=sa;pwd=sasa;database=sifang;server=ly;Connect Timeout=30"+
":");
SqlCommand com=new SqlCommand("select * from login where eno="+tbeditid.Text+"and code="+tbeditpw.Text,sql);
com.Connection.Open();
只要,,一open();
就会出现 用户名=“NULL”
SQL SERVER 处于混合模式中,,,,
上一贴
http://expert.csdn.net/Expert/topic/2359/2359319.xml?temp=.5695612
小第,,先谢谢大家了,,,