目前分類:C# (4)

瀏覽方式: 標題列表 簡短摘要

前端:a href="WebForm5.aspx?keyword=T-shirt"

後端:Label1.Text = Context.Request.QueryString["keyword"];

Kent 發表在 痞客邦 留言(0) 人氣()

寫入

SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");

Kent 發表在 痞客邦 留言(0) 人氣()

if (TextBox2.Text == "")

{

Kent 發表在 痞客邦 留言(0) 人氣()

失敗了 :(

/* SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");

Kent 發表在 痞客邦 留言(0) 人氣()