public string Save( ref DataTable dt ) { if ( !SQL.IsValid( ref dt ) ) return ""; SQL Sql = new SQL( DBParam.Sql.Connect ); string strID = Sql.Save( ref dt ); Sql.Close(); return strID; }
public string Save(ref DataTable dt) { if (!SQL.IsValid(ref dt)) return ""; SQL Sql = new SQL(FF.TD.Def.ConnectStr); string strID = Sql.Save(ref dt); Sql.Close(); return strID; }
public string Save( Stru.USER stru ) { DataTable dt = GetBlank(); DataRow dr = dt.Rows[ 0 ]; stru.Stru2Dr( ref dr ); SQL Sql = new SQL( DBParam.Sql.Connect ); string strID = Sql.Save( ref dt ); Sql.Close(); return strID; }
public string Save(Stru.TEST_LOG stru) { DataTable dt = GetBlank(); DataRow dr = dt.Rows[0]; stru.Stru2Dr(ref dr); SQL Sql = new SQL(FF.TD.Def.ConnectStr); string strID = Sql.Save(ref dt); Sql.Close(); return strID; }
public string Save( DIC_STRU stru ) { DataTable dt = GetBlank(); DataRow dr = dt.Rows[0]; stru.Stru2Dr( ref dr ); SQL Sql = new SQL( CONNECT.SqlConnect ); string strID = Sql.Save( ref dt ); Sql.Close(); return strID; }