protected void Button1_Click(object sender, EventArgs e)
    {
        string pic = "";
            if (fu1.PostedFile.FileName.ToString() != "")
            {
                pic = sctp();
            }        StringBuilder sql = new StringBuilder();
        sql.Append("insert into[info](type,showname,allsortid,alltypeid,endDate,content,picture,gsid,xx_or_zb,keywords)");
        sql.Append("values('{0}','{1}','{2}','{3}','{4}','{5}','{6}',{7},{8},'{9}')");
        ArrayList al = new ArrayList();        al.Add(xxlx.SelectedValue);
        al.Add(gqzt.Text.Replace("'"," "));
        string[] aryddl = ddl.Value.Split(',');        al.Add(aryddl[0]);
        al.Add(aryddl[1]);
        al.Add(jzrq.Text);
        al.Add(ftb.Text);
        al.Add(pic);
        al.Add(userId);
        al.Add(2);
        string[] aryLei = className.Value.Split(',');
        al.Add(gqzt.Text.Replace("'"," ") + "," + aryLei[0] + "," + aryLei[1]);
        SqlCommand cmd = new SqlCommand(string.Format(sql.ToString(), al.ToArray()), con);
        con.Open();
        cmd.ExecuteNonQuery();
        con.Close();
        Response.Redirect("cgfbxx.aspx?page=fbgq");
    }