Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 16th, 2018 53 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. var dynTable = "adfk234jk";
  2. var dynFields = new String[] { "sdkksdfkl32wef", "ejwejiwi234ref" };
  3.  
  4. var sqlQuery = "select ";
  5. for (int i = 0; i < dynFields.Length; i++)
  6.     sqlQuery += (i == 0 ? "" : ",") + dynFields[i];
  7. sqlQuery += " from " + dynTable;
  8.  
  9. var results = db.ExecuteQuery<MyDynClass>(sql);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top