public DataTable GetSqlStringCommand(string connection, string sql) { CD_Helper objDL = new CD_Helper(connection); DataTable dt = null; dt = objDL.GetDataSetSqlStringCommand(sql).Tables[0]; return(dt); }
public DataSet GetDataSetSqlStringCommand(string sql) { CD_Helper objDL = new CD_Helper(AppSettings.GetConnectionString); DataSet dt = null; dt = objDL.GetDataSetSqlStringCommand(sql); return(dt); }