62,046
社区成员
发帖
与我相关
我的任务
分享
protected void submitPhone_Click(object sender, EventArgs e)
{
System.Data.SqlClient.SqlConnection conn = new SqlConnection();
conn.ConnectionString = ConfigurationManager.ConnectionStrings["DateCenter"].ConnectionString;
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter("select * from Fee where '" + CardNO.Text + "'=ClientNO and '" + Name.Text + "'=Name", conn);
conn.Open();
da.Fill(ds);
conn.Close();
}