前端:a href="WebForm5.aspx?keyword=T-shirt"
後端:Label1.Text = Context.Request.QueryString["keyword"];
前端:a href="WebForm5.aspx?keyword=T-shirt"
後端:Label1.Text = Context.Request.QueryString["keyword"];
寫入
SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");
失敗了 :(
/* SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");