Exemple #1
0
        public string PullData()
        {
            ConnDB conn = new ConnDB();

            string sql = "select * from t_800_80";

            SqlCommand     cmd = conn.RunCmd(sql);
            SqlDataAdapter da  = new SqlDataAdapter(cmd);

            da.Fill(dataTable);

            conn.Close();

            return(DataTableToJson(dataTable));
        }