函數連結(id)
{
var obj = document.getElementById(id);
var obj1 = document.getElementById('type2');
var name = "";
for(i = 0 ; i {
if(obj.options[i].selected)
{
name = obj.options [i].值;
}
name = obj.options [i].值;
}
name = obj.options [i].值;
}
name = obj.options [i].值;
}
name = obj.options [i].值;
}
name = obj.options [i].值;
}
name = obj.options [i].值;
}
name = obj.options [i]。 >}
var 名稱= 討價還價_class.link(name).value.split(',');
var obj1_count = obj1.options.length
for (i = 0 ; i {
obj1.options.remove(0);
}
for (i = 0 ; i {
option1 = document. 。 >腳本>
//後台程式碼
AjaxPro.Utility.RegisterTypeForAjax(typeof(bargain_class)); //本頁頁名
//====== ============================ajax呼叫=== =================== ===================
[AjaxPro.AjaxMethod]
公有字串連結(字串名稱)
{
字串文字= "";
string sql = "從Management_products_class 選擇名稱,其中pid='" name "'";
DataTable dt = LinkSql.conn(sql);
for (int i = 0; i {
if (text == "")
{
text = dt. Rows[i]["name"].ToString( );
}
else
{
text = "," dt.Rows[i]["name"].ToString(); } } 回傳文; }