public jieyuechaxun() { InitializeComponent(); sqlConnection1 = new SqlConnection(dbconnection.connection); sqlCommand1 = new SqlCommand(); sqlCommand1.Connection = sqlConnection1; jy = new jieyue(); }
public jieyuexinxi() { InitializeComponent(); sqlConnection1 = new SqlConnection(dbconnection.connection); sqlCommand1 = new SqlCommand(); sqlCommand1.Connection = sqlConnection1; //add = false; jy = new jieyue(); //MessageBox.Show("没有写图书编号!", "警告"); }