public static void deleteQuery() { try { string deleteQuery = "Delete from " + tableAccountInfo; DBHandler.DeleteQuery(deleteQuery, tableAccountInfo); } catch { } }
public static void deleteQueryforAccountReport(string module) { try { string deleteQuery = "Delete from tbl_AccountReport where ModuleName ='" + module + "'"; DBHandler.DeleteQuery(deleteQuery, "tbl_AccountReport"); } catch { } }
//public static void insertAccount(string username, string password, string niches, string addr, string port, string user, string pass, string Useragent, string BoardNames, string ScreenName) //{ // try // { // string insertQuery = "Insert into " + tb_emails + " (Username, Password, niches, proxyAddress,proxyPort,proxyUsername,proxyPassword,Path) values('" + username + "','" + password + "','" + addr + "','" + port + "','" + user + "','" + pass + "','" + Useragent + "')"; // DBHandler.InsertQuery(insertQuery, tb_emails); // } // catch { } //} public static void deleteQuery() { try { string deleteQuery = "Delete from " + tb_emails; DBHandler.DeleteQuery(deleteQuery, tb_emails); } catch { } }