设计作品内容: int index = 0;
//建立数据库
SqlConnection conn = new SqlConnection("server=.;uid=sa;database=MyKTV;pwd=123");
//打开数据库
conn.Open();
//写SQL语句
string sql = string.Format("select singer_Name,singer_photint index = 0;
//建立数据库
SqlConnection conn = new SqlConnection("server=.;uid=sa;database=MyKTV;pwd=123");
//打开数据库
conn.Open();
//写SQL语句
string sql = string.Format("select singer_Name,singer_photo_url from Singer_Info where singertype_name='{0}'", Userheint index = 0;
//建立数据库
SqlConnection conn = new SqlConnection("server=.;uid=sa;database=MyKTV;pwd=123");
//打开数据库
conn.Open();
//写SQL语句
string sql = string.Format("select singer_Name,singer_photo_url from Singer_Info where singertype_name='{0}'", Userheint index = 0;
//建立数据库
SqlConnection conn = new SqlConnection("server=.;uid=sa;database=MyKTV;pwd=123");
//打开数据库int index = 0;
//建立数据库
SqlConnection conn = new SqlConnection("server=.;uid=sa;database=MyKTV;pwd=123");
//打开数据库
conn.Open();
//写SQL语句
string sql = string.Format("select singer_Name,singer_photo_url from Singer_Info where singertype_name='{0}'", Userhe
conn.Open();
//写SQL语句
string sql = string.Format("select singer_Name,singer_photo_url from Singer_Info where singertype_name='{0}'", Userheo_url from Singer_Info where singertype_name='{0}'", Userhe |