當前位置:編程學習大全網 - 網站源碼 - CS0120: 非靜態的字段、方法或屬性“System.Web.UI.WebControls.DataList.SelectedValue.get”要求對象引

CS0120: 非靜態的字段、方法或屬性“System.Web.UI.WebControls.DataList.SelectedValue.get”要求對象引

Response.Redirect("GLxg2.aspx?id=" + DataList.SelectedValue.ToString()); //這句出

Response.Redirect("GLxg2.aspx?id=" + DataList1.SelectedValue.ToString()); //這句出

TextBox1.Text = ds.Tables["管理員"].Rows[0]["USERID"].ToString();

string update = "update 管理員 set USERID='" + TextBox1.Text + "',PWD='" + TextBox2.Text + "'

  • 上一篇:學校班級網站源代碼
  • 下一篇:大氣bp源代碼
  • copyright 2024編程學習大全網