Пример #1
0
        public void BindData()
        {
            string    message = null;
            DataTable dt      = new DataTable();

            GetImportedDataTable(this.FileUpload1, Server.MapPath("/"), out message, out dt);
            this.Label1.Text          = message;
            this.GridView1.DataSource = dt;
            this.GridView1.DataBind();
            message          = MiscUtil.EnsureDataTableQualify(dt, @"~/XMLFile1.xml", null);
            this.Label2.Text = message.Replace("|", "<BR/>");
        }
Пример #2
0
 public static string EnsureDataTableQualify(DataTable dt, string schemapath, Hashtable param)
 {
     return(MiscUtil.EnsureDataTableQualify(dt, schemapath, param));
 }