protected void Page_Load(object sender, EventArgs e) { hkdb.VeriSess("4"); if (!IsPostBack) { requeststr.Text = Server.UrlDecode(Request.QueryString["requeststr"].ToString()); str1 = "" + requeststr.Text + ""; ArrayList myarr = new ArrayList(); string[] mystr = str1.Split(','); for (int s = 0; s < mystr.Length; s++) { strlist += "'" + mystr[s] + "',"; } strlist += "'0'"; str2 = "" + Server.UrlDecode(Request.QueryString["usernamestr"].ToString()) + ""; //Response.Write(str2); ArrayList myarr2 = new ArrayList(); string[] mystr2 = str2.Split(','); for (int s = 0; s < mystr2.Length; s++) { strlist2 += "'" + mystr2[s] + "',"; } strlist2 += "'0'"; if (Request.QueryString["requeststr"] != null) { if (strlist != "") { string sql_down1 = "select * from yh where ui_id in (" + strlist2 + ")"; //Response.Write(sql_down1); bd.Bind_ListBox(TargetListBox, sql_down1, "ui_id", "ui_desc"); } } DataBindToDownList(); } }