android毕设题目K歌系统主要需要实现哪些功能以及主要难点有哪些?
2017-11-28
展开全部
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string str = "select * from Region where RegionID='" + Request["RegionID"].ToString() + "'";
SqlConnection sqlconn = DB.createConn();
sqlconn.Open();
SqlDataAdapter myda = new SqlDataAdapter(str, sqlconn);
DataSet ds = new DataSet();
myda.Fill(ds, "Region");
DataRowView mydrv = ds.Tables["Region"].DefaultView[0];
TextBox1.Text = Convert.ToString(mydrv.Row["RegionID"]);
TextBox2.Text = Convert.ToString(mydrv.Row["RegionDescription"]);
TextBox3.Text = Convert.ToString(mydrv.Row["RegionPescription"]);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询