Пример #1
0
 /// <summary>
 /// Execute more than one sql commands
 /// </summary>
 /// <param name="strSQL">string</param>
 /// <returns>int</returns>
 public int ExecuteSqls(string[] strSQLs)
 {
     return(RailStuDb_Access.ExecuteSqls(strConn.StrAccess, strSQLs));
 }
Пример #2
0
 /// <summary>
 /// get dataSet
 /// </summary>
 /// <param name="strSql">string</param>
 /// <returns>dataset</returns>
 public DataSet ExecuteSqlForDs(string strSql)
 {
     return(RailStuDb_Access.ExecuteSqlForDS(strConn.StrAccess, strSql));
 }
Пример #3
0
 /// <summary>
 /// Return for an object
 /// </summary>
 /// <param name="strSQL">string</param>
 /// <returns>object</returns>
 public Object ExecuteSqlForValueEx(string strSql)
 {
     return(RailStuDb_Access.ExecuteSqlForValueEx(strConn.StrAccess, strSql));
 }
Пример #4
0
 /// <summary>
 /// Excute SQL Commands to reader. Just for query use.
 /// </summary>
 /// <param name="strSql">string</param>
 /// <returns>int</returns>
 public int ExecuteSqlCmdEx(string strSql)
 {
     return(RailStuDb_Access.ExecuteSqlCmdEx(strConn.StrAccess, strSql));
 }