enter code here string customerName = Request.Form[txtSearch.UniqueID];
string customerId = Request.Form[hfCustomerId.UniqueID];
Label1.Enabled = true;
Label1.Text = customerName;
DataRow dr = GetData("SELECT * FROM actor where first_name = " +txtSearch.Text.ToString()).Rows[0];
Document document = new Document(PageSize.A4, 88f, 88f, 10f, 10f);
Font NormalFont = FontFactory.GetFont("Arial", 12, Font.NORMAL, Color.BLACK);
mysql語法有什麼問題嗎? 糾正我,如果我錯了。 雖然我正在用指定的值進行搜索,但它運行完美。但嘗試傳遞值時會產生問題。asp.net與mysql在where子句中的未知列
不應txtSearch.Text括號包圍? – noobed