Ejemplo n.º 1
0
        private DataTable GetDetail(string cTable, string cGuid)
        {
            var wmf = new WmsFunction(Properties.Settings.Default.SqlServer);
            var cmd = new SqlCommand("select * from " + cTable + " where  cGuid=@cGuid");

            cmd.Parameters.AddWithValue("@cGuid", cGuid);
            var dt = wmf.GetSqlTable(cmd);

            return(dt);
        }
Ejemplo n.º 2
0
        private DataTable GetDetail(string cTable, string cGuid)
        {
            var wmf = new WmsFunction(Properties.Settings.Default.SqlServer);
            var cmd = new SqlCommand("select * from " + cTable + " where  cGuid=@cGuid");
            cmd.Parameters.AddWithValue("@cGuid", cGuid);
            var dt = wmf.GetSqlTable(cmd);

            return dt;
        }