Here are the examples of the csharp api class System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
119 Examples
0
101. Example
Project: Pscx
Source File: GetSqlDataSet.cs
Source File: GetSqlDataSet.cs
protected override void ProcessRecord() { try { if (!ShouldProcess(GetCommandDescription())) return; DataSet dataSet = new DataSet(); SqlDataAdapter adapter = new SqlDataAdapter(Query, CreateConnection()); adapter.Fill(dataSet); WriteObject(dataSet); } catch (Exception ex) { WriteError(new ErrorRecord(ex, "GetSqlDataSetFailed", ErrorCategory.NotSpecified, null)); } }
0
102. Example
Project: Z.ExtensionMethods
Source File: SqlCommand.ExecuteDataSet.cs
Source File: SqlCommand.ExecuteDataSet.cs
public static DataSet ExecuteDataSet(this SqlCommand @this) { var ds = new DataSet(); using (var dataAdapter = new SqlDataAdapter(@this)) { dataAdapter.Fill(ds); } return ds; }
0
103. Example
Project: Z.ExtensionMethods
Source File: SqlCeCommand.ExecuteDataSet.cs
Source File: SqlCeCommand.ExecuteDataSet.cs
public static DataSet ExecuteDataSet(this SqlCeCommand @this) { var ds = new DataSet(); using (var dataAdapter = new SqlCeDataAdapter(@this)) { dataAdapter.Fill(ds); } return ds; }
0
104. Example
Project: BizUnit
Source File: DbQueryStep.cs
Source File: DbQueryStep.cs
private static DataSet FillDataSet(string connectionString, string sqlQuery) { var connection = new SqlConnection(connectionString); var ds = new DataSet(); using (connection) { var adapter = new SqlDataAdapter { SelectCommand = new SqlCommand(sqlQuery, connection) }; adapter.Fill(ds); return ds; } }
0
105. Example
Project: BizUnit
Source File: DbQueryStep.cs
Source File: DbQueryStep.cs
private static DataSet FillDataSet(string connectionString, string sqlQuery) { var connection = new SqlConnection(connectionString); var ds = new DataSet(); using (connection) { var adapter = new SqlDataAdapter(); adapter.SelectCommand = new SqlCommand(sqlQuery, connection); adapter.Fill(ds); return ds; } }
0
106. Example
Project: EDDiscovery
Source File: SQLiteDBClass.cs
Source File: SQLiteDBClass.cs
public static DataSet SQLQueryText(SQLiteConnectionED cn, DbCommand cmd) { try { DataSet ds = new DataSet(); DbDataAdapter da = cn.CreateDataAdapter(cmd); da.Fill(ds); return ds; } catch (Exception ex) { System.Diagnostics.Debug.WriteLine("SqlQuery Exception: " + ex.Message); throw; } }
0
107. Example
Project: SharpSCADA
Source File: MssqlFactory.cs
Source File: MssqlFactory.cs
public DataSet ExecuteDataset(string SQL) { DataSet ds = new DataSet(); using (SqlConnection m_Conn = new SqlConnection(DataHelper.ConnectString)) { try { SqlDataAdapter da = new SqlDataAdapter(); SqlCommand cmd = new SqlCommand(SQL, m_Conn); da.SelectCommand = cmd; da.Fill(ds); } catch (Exception e) { CallException(SQL + " " + e.Message); } } return ds; }
0
108. Example
Project: Restful
Source File: SessionProvider.cs
Source File: SessionProvider.cs
public virtual DataSet ExecuteDataSet( CommandBuilder builder ) { using( DbCommand command = this.CreateSqlCommand( builder ) ) { using( DbDataAdapter adapter = this.factory.CreateDataAdapter() ) { adapter.SelectCommand = command; DataSet ds = new DataSet( "DataSet1" ); adapter.Fill( ds ); return ds; } } }
0
109. Example
Project: ADO.NET-DAL
Source File: Commands.cs
Source File: Commands.cs
public DataSet ExecuteDataSet(out DbCommand cmd, string commandText, params DbParameter[] parameters) { SqlCommand cmdDataSet; DataSet result = new DataSet(); try { currentConnection.Open(); cmdDataSet = BuildCommand(commandText, parameters); using (SqlDataAdapter adapter = new SqlDataAdapter(cmdDataSet)) { adapter.Fill(result); } } finally { currentConnection.Close(); } cmd = cmdDataSet; return result; }
0
110. Example
Project: ADO.NET-DAL
Source File: SqlCommands.cs
Source File: SqlCommands.cs
public DataSet ExecuteDataSet(out DbCommand cmd, string commandText, params DbParameter[] parameters) { SqlCommand cmdDataSet = BuildCommand(commandText, parameters); DataSet result = new DataSet(); using (SqlDataAdapter adapter = new SqlDataAdapter(cmdDataSet)) { adapter.Fill(result); } cmd = cmdDataSet; return result; }
0
111. Example
Project: Tie.Controls.Bootstrap
Source File: getting-started.aspx.cs
Source File: getting-started.aspx.cs
protected void Page_Load(object sender, EventArgs e) { try { SqlConnection conn = new SqlConnection(); conn.ConnectionString = @"Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Tie;Data Source=(local)\sqlexpress"; conn.Open(); if (conn.State == System.Data.ConnectionState.Open) { DataSet ds = new DataSet(); SqlDataAdapter adapter = new SqlDataAdapter("SELECT ID, Slug, CreatedDate, UpdatedDate, Version FROM Page", conn); adapter.Fill(ds); GridView1.DataSource = ds; GridView1.DataBind(); } } catch { } }
0
112. Example
Project: Chloe
Source File: DbHelper.cs
Source File: DbHelper.cs
public static DataSet ExecuteDataSet(string sqlString, params SqlParameter[] cmdParams) { using (SqlConnection conn = new SqlConnection(ConnectionString)) { using (SqlCommand cmd = new SqlCommand(sqlString, conn)) { if (cmdParams != null) { cmd.Parameters.AddRange(cmdParams); } DataSet ds = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(ds); return ds; } } }
0
113. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromText(tgDataRequest request) { tgDat/n ..... /n //View Source file for more details /n }
0
114. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromStoredProcedure(tgDataRequest request) { /n ..... /n //View Source file for more details /n }
0
115. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromText(tgDataRequest request) { tgDat/n ..... /n //View Source file for more details /n }
0
116. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromStoredProcedure(tgDataRequest request) { /n ..... /n //View Source file for more details /n }
0
117. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromText(tgDataRequest request) { tgDat/n ..... /n //View Source file for more details /n }
0
118. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromStoredProcedure(tgDataRequest request) { /n ..... /n //View Source file for more details /n }
0
119. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromText(tgDataRequest request) { tgDat/n ..... /n //View Source file for more details /n }
0
120. Example
Project: MNEnterpriseMobile
Source File: Repository.cs
Source File: Repository.cs
public Employee LoginEmployee(int employeeId) { Employee result = null; using (var connection = new SqlConnection(connectionString)) { using (var command = new SqlCommand("dbo.LoginEmployee", connection)) { command.CommandType = CommandType.StoredProcedure; command.Parameters.Add(new SqlParameter("@EmployeeID", employeeId)); using (var adapter = new SqlDataAdapter(command)) { using (var ds = new DataSet()) { adapter.Fill(ds); if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) { DataRow row = ds.Tables[0].Rows[0]; result = new Employee { EmployeeId = row.Field<int>("EmployeeID"), Name = row.Field<string>("Name"), EmailAddress = row.Field<string>("EmailAddress") }; } } } } } return result; }
0
121. Example
Project: MNEnterpriseMobile
Source File: Repository.cs
Source File: Repository.cs
public List<Test> GetTests() { var result = new List<Test>(); using (var connection = new SqlConnection(connectionString)) { using (var command = new SqlCommand("dbo.GetTests", connection)) { command.CommandType = CommandType.StoredProcedure; using (var adapter = new SqlDataAdapter(command)) { using (var ds = new DataSet()) { adapter.Fill(ds); if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) { foreach (DataRow row in ds.Tables[0].Rows) { result.Add(new Test { TestId = row.Field<int>("TestID"), Title = row.Field<string>("Title"), Description = row.Field<string>("Description") }); } } } } } } return result; }
0
122. Example
Project: fluentmigrator
Source File: JetProcessor.cs
Source File: JetProcessor.cs
public override DataSet Read(string template, params object[] args) { EnsureConnectionIsOpen(); var ds = new DataSet(); using (var command = new OleDbCommand(String.Format(template, args), Connection, Transaction)) using (var adapter = new OleDbDataAdapter(command)) { adapter.Fill(ds); return ds; } }
0
123. Example
Project: Craig-s-Utility-Library
Source File: DbCommandExtensions.cs
Source File: DbCommandExtensions.cs
public static DataSet ExecuteDataSet(this DbCommand Command, DbProviderFactory Factory) { if (Command == null) return null; Command.Open(); using (DbDataAdapter Adapter = Factory.CreateDataAdapter()) { Adapter.SelectCommand = Command; var ReturnSet = new DataSet(); ReturnSet.Locale = CultureInfo.CurrentCulture; Adapter.Fill(ReturnSet); return ReturnSet; } }
0
124. Example
Project: Craig-s-Utility-Library
Source File: DbCommandExtensions.cs
Source File: DbCommandExtensions.cs
public static DataSet ExecuteDataSet(this DbCommand Command, DbProviderFactory Factory) { if (Command == null) return null; Command.Open(); using (DbDataAdapter Adapter = Factory.CreateDataAdapter()) { Adapter.SelectCommand = Command; var ReturnSet = new DataSet(); ReturnSet.Locale = CultureInfo.CurrentCulture; Adapter.Fill(ReturnSet); return ReturnSet; } }
0
125. Example
Project: fdotoolbox
Source File: OleDbPoint.cs
Source File: OleDbPoint.cs
public void ExecuteIntersectionQuery(SharpMap.Geometries.BoundingBox bbox, FeatureDataSet ds) { /n ..... /n //View Source file for more details /n }
0
126. Example
Project: nHydrate
Source File: SqlServers.cs
Source File: SqlServers.cs
internal static DataSet GetTableColumns(string connectString, string tableName) { var conn = new SqlConnection(); var cmd = new SqlCommand(); DataSet tableColumns = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); try { conn.ConnectionString = connectString; cmd.CommandText = GetSqlColumnsForTable(tableName); cmd.CommandType = System.Data.CommandType.Text; cmd.Connection = conn; da.SelectCommand = cmd; da.Fill(tableColumns); } catch (Exception ex) { throw ex; } finally { if (conn != null) conn.Close(); } return tableColumns; }
0
127. Example
Project: nHydrate
Source File: DatabaseHelper.cs
Source File: DatabaseHelper.cs
internal static DataSet ExecuteDataset(string connectionString, string sql) { var retVal = new DataSet(); using (var connection = new SqlConnection(connectionString)) { var command = new SqlCommand(); command.CommandType = CommandType.Text; command.CommandText = sql; command.Connection = connection; command.CommandTimeout = 300; var da = new SqlDataAdapter(); da.SelectCommand = (SqlCommand)command; try { da.Fill(retVal); connection.Open(); } catch (Exception /*ignored*/) { throw; } finally { if (connection.State != ConnectionState.Closed) { connection.Close(); } } } return retVal; }
0
128. Example
Project: nHydrate
Source File: SqlServers.cs
Source File: SqlServers.cs
internal static DataSet GetTableColumns(string connectString, string tableName) { SqlConnection conn = new SqlConnection(); SqlCommand cmd = new SqlCommand(); DataSet tableColumns = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); try { conn.ConnectionString = connectString; cmd.CommandText = GetSqlColumnsForTable(tableName); cmd.CommandType = System.Data.CommandType.Text; cmd.Connection = conn; da.SelectCommand = cmd; da.Fill(tableColumns); } catch(Exception ex) { throw ex; } finally { if(conn != null) conn.Close(); } return tableColumns; }
0
129. Example
Project: nHydrate
Source File: DatabaseHelper.cs
Source File: DatabaseHelper.cs
public static DataSet ExecuteDataset(string connectionString, string sql) { var retVal = new DataSet(); var connection = new SqlConnection(connectionString); var command = new SqlCommand(); command.CommandType = CommandType.Text; command.CommandText = sql; command.Connection = connection; command.CommandTimeout = 300; var da = new SqlDataAdapter(); da.SelectCommand = (SqlCommand)command; try { da.Fill(retVal); connection.Open(); } catch (Exception ex) { nHydrateLog.LogError(ex); } finally { if (connection.State != ConnectionState.Closed) { connection.Close(); } } return retVal; }
0
130. Example
Project: nHydrate
Source File: SqlServers.cs
Source File: SqlServers.cs
internal static DataSet GetTableColumns(string connectString, string tableName) { var conn = new SqlConnection(); var cmd = new SqlCommand(); DataSet tableColumns = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); try { conn.ConnectionString = connectString; cmd.CommandText = GetSqlColumnsForTable(tableName); cmd.CommandType = System.Data.CommandType.Text; cmd.Connection = conn; da.SelectCommand = cmd; da.Fill(tableColumns); } catch (Exception ex) { throw; } finally { if (conn != null) conn.Close(); } return tableColumns; }
0
131. Example
Project: CarrotCakeCMS
Source File: DatabaseUpdate.cs
Source File: DatabaseUpdate.cs
private static DataSet GetDataSet(string sConnectionString, string sSQLQuery) { DataSet ds = new DataSet(); using (SqlConnection cn = new SqlConnection(sConnectionString)) { using (SqlCommand cmd = new SqlCommand(sSQLQuery, cn)) { cn.Open(); cmd.CommandType = CommandType.Text; using (SqlDataAdapter da = new SqlDataAdapter(cmd)) { da.Fill(ds); } cn.Close(); } } return ds; }
0
132. Example
Project: CarrotCakeCMS-MVC
Source File: DatabaseUpdate.cs
Source File: DatabaseUpdate.cs
private static DataSet GetDataSet(string sConnectionString, string sSQLQuery) { DataSet ds = new DataSet(); using (SqlConnection cn = new SqlConnection(sConnectionString)) { using (SqlCommand cmd = new SqlCommand(sSQLQuery, cn)) { cn.Open(); cmd.CommandType = CommandType.Text; using (SqlDataAdapter da = new SqlDataAdapter(cmd)) { da.Fill(ds); } cn.Close(); } } return ds; }
0
133. Example
Project: SqlProxyAndReplay
Source File: SqlRunner.cs
Source File: SqlRunner.cs
public DataSet Execute(QueryCriteria query) { if (query == null) throw new ArgumentNullException(nameof(query)); using (var connection = new SqlConnection(query.ConnectionString)) { using (var command = CreateCommand(connection, query)) { connection.Open(); using (var dataAdapter = new SqlDataAdapter(command)) { var dataSet = new DataSet(); dataAdapter.Fill(dataSet); return dataSet; } } } }
0
134. Example
Project: SqlProxyAndReplay
Source File: SqlRunner.cs
Source File: SqlRunner.cs
public DataSet Execute(QueryCriteria query) { if (query == null) throw new ArgumentNullException(nameof(query)); using (var connection = new SqlConnection(query.ConnectionString)) { using (var command = CreateCommand(connection, query)) { connection.Open(); using (var dataAdapter = new SqlDataAdapter(command)) { var dataSet = new DataSet(); dataAdapter.Fill(dataSet); return dataSet; } } } }
0
135. Example
Project: sensenet
Source File: SqlProvider.cs
Source File: SqlProvider.cs
protected internal override DataSet LoadSchema() { SqlConnection cn = new SqlConnection(ConnectionStrings.ConnectionString); SqlCommand cmd = new SqlCommand { Connection = cn, CommandTimeout = Configuration.Data.SqlCommandTimeout, CommandType = CommandType.StoredProcedure, CommandText = "proc_Schema_LoadAll" }; SqlDataAdapter adapter = new SqlDataAdapter(cmd); DataSet dataSet = new DataSet(); try { cn.Open(); adapter.Fill(dataSet); } finally { cn.Close(); } dataSet.Tables[0].TableName = "SchemaModification"; dataSet.Tables[1].TableName = "DataTypes"; dataSet.Tables[2].TableName = "PropertySetTypes"; dataSet.Tables[3].TableName = "PropertySets"; dataSet.Tables[4].TableName = "PropertyTypes"; dataSet.Tables[5].TableName = "PropertySetsPropertyTypes"; return dataSet; }
0
136. Example
Project: SharpMap
Source File: SqlServer2008Ex.cs
Source File: SqlServer2008Ex.cs
public override FeatureDataRow GetFeature(uint rowId) { using (var conn = new Sq/n ..... /n //View Source file for more details /n }
0
137. Example
Project: cms
Source File: SqlHelper.cs
Source File: SqlHelper.cs
public static DataSet ExecuteDataset(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) { if( transaction == null ) throw new ArgumentNullException( "transaction" ); if( transaction != null && transaction.Connection == null ) throw new ArgumentException( "The transaction was rollbacked or commited, please provide an open transaction.", "transaction" ); // Create a command and prepare it for execution var cmd = new SqlCommand(); var mustCloseConnection = false; PrepareCommand(cmd, transaction.Connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection ); // Create the DataAdapter & DataSet using( var da = new SqlDataAdapter(cmd) ) { var ds = new DataSet(); // Fill the DataSet using default values for DataTable names, etc da.Fill(ds); // Detach the SqlParameters from the command object, so they can be used again cmd.Parameters.Clear(); // Return the dataset return ds; } }
0
138. Example
Project: CodeBuilder
Source File: SqlHelper.cs
Source File: SqlHelper.cs
public static DataSet ExecuteDataset(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) { if( transaction == null ) throw new ArgumentNullException( "transaction" ); if( transaction != null && transaction.Connection == null ) throw new ArgumentException( "The transaction was rollbacked or commited, please provide an open transaction.", "transaction" ); // Create a command and prepare it for execution SqlCommand cmd = new SqlCommand(); bool mustCloseConnection = false; PrepareCommand(cmd, transaction.Connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection ); // Create the DataAdapter & DataSet using( SqlDataAdapter da = new SqlDataAdapter(cmd) ) { DataSet ds = new DataSet(); // Fill the DataSet using default values for DataTable names, etc da.Fill(ds); // Detach the SqlParameters from the command object, so they can be used again cmd.Parameters.Clear(); // Return the dataset return ds; } }
0
139. Example
Project: document-management
Source File: SqlHelper.cs
Source File: SqlHelper.cs
public static DataSet GetAllInfo(string cmdText) { DataSet set; SqlConnection selectConnection = new SqlConnection(strconn); DataSet dataSet = null; try { if (selectConnection.State != ConnectionState.Open) { selectConnection.Open(); } SqlDataAdapter adapter = new SqlDataAdapter(cmdText, selectConnection); dataSet = new DataSet(); adapter.Fill(dataSet); set = dataSet; } catch (Exception exception) { throw new Exception(exception.Message, exception); } finally { selectConnection.Close(); } return set; }
0
140. Example
Project: Z.ExtensionMethods
Source File: SqlConnection.ExecuteDataSet.cs
Source File: SqlConnection.ExecuteDataSet.cs
public static DataSet ExecuteDataSet(this SqlConnection @this, string cmdText, SqlParameter[] parameters, CommandType commandType, SqlTransaction transaction) { using (SqlCommand command = @this.CreateCommand()) { command.CommandText = cmdText; command.CommandType = commandType; command.Transaction = transaction; if (parameters != null) { command.Parameters.AddRange(parameters); } var ds = new DataSet(); using (var dataAdapter = new SqlDataAdapter(command)) { dataAdapter.Fill(ds); } return ds; } }
0
141. Example
Project: Z.ExtensionMethods
Source File: SqlConnection.ExecuteDataSet.cs
Source File: SqlConnection.ExecuteDataSet.cs
public static DataSet ExecuteDataSet(this SqlConnection @this, Action<SqlCommand> commandFactory) { using (SqlCommand command = @this.CreateCommand()) { commandFactory(command); var ds = new DataSet(); using (var dataAdapter = new SqlDataAdapter(command)) { dataAdapter.Fill(ds); } return ds; } }
0
142. Example
Project: Z.ExtensionMethods
Source File: SqlConnection.ExecuteDataTable.cs
Source File: SqlConnection.ExecuteDataTable.cs
public static DataTable ExecuteDataTable(this SqlConnection @this, string cmdText, SqlParameter[] parameters, CommandType commandType, SqlTransaction transaction) { using (SqlCommand command = @this.CreateCommand()) { command.CommandText = cmdText; command.CommandType = commandType; command.Transaction = transaction; if (parameters != null) { command.Parameters.AddRange(parameters); } var ds = new DataSet(); using (var dataAdapter = new SqlDataAdapter(command)) { dataAdapter.Fill(ds); } return ds.Tables[0]; } }
0
143. Example
Project: Z.ExtensionMethods
Source File: SqlConnection.ExecuteDataTable.cs
Source File: SqlConnection.ExecuteDataTable.cs
public static DataTable ExecuteDataTable(this SqlConnection @this, Action<SqlCommand> commandFactory) { using (SqlCommand command = @this.CreateCommand()) { commandFactory(command); var ds = new DataSet(); using (var dataAdapter = new SqlDataAdapter(command)) { dataAdapter.Fill(ds); } return ds.Tables[0]; } }
0
144. Example
Project: Z.ExtensionMethods
Source File: SqlCeConnection.ExecuteDataSet.cs
Source File: SqlCeConnection.ExecuteDataSet.cs
public static DataSet ExecuteDataSet(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters, CommandType commandType, SqlCeTransaction transaction) { using (SqlCeCommand command = @this.CreateCommand()) { command.CommandText = cmdText; command.CommandType = commandType; command.Transaction = transaction; if (parameters != null) { command.Parameters.AddRange(parameters); } var ds = new DataSet(); using (var dataAdapter = new SqlCeDataAdapter(command)) { dataAdapter.Fill(ds); } return ds; } }
0
145. Example
Project: Z.ExtensionMethods
Source File: SqlCeConnection.ExecuteDataSet.cs
Source File: SqlCeConnection.ExecuteDataSet.cs
public static DataSet ExecuteDataSet(this SqlCeConnection @this, Action<SqlCeCommand> commandFactory) { using (SqlCeCommand command = @this.CreateCommand()) { commandFactory(command); var ds = new DataSet(); using (var dataAdapter = new SqlCeDataAdapter(command)) { dataAdapter.Fill(ds); } return ds; } }
0
146. Example
Project: Z.ExtensionMethods
Source File: SqlCeConnection.ExecuteDataTable.cs
Source File: SqlCeConnection.ExecuteDataTable.cs
public static DataTable ExecuteDataTable(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters, CommandType commandType, SqlCeTransaction transaction) { using (SqlCeCommand command = @this.CreateCommand()) { command.CommandText = cmdText; command.CommandType = commandType; command.Transaction = transaction; if (parameters != null) { command.Parameters.AddRange(parameters); } var ds = new DataSet(); using (var dataAdapter = new SqlCeDataAdapter(command)) { dataAdapter.Fill(ds); } return ds.Tables[0]; } }
0
147. Example
Project: Z.ExtensionMethods
Source File: SqlCeConnection.ExecuteDataTable.cs
Source File: SqlCeConnection.ExecuteDataTable.cs
public static DataTable ExecuteDataTable(this SqlCeConnection @this, Action<SqlCeCommand> commandFactory) { using (SqlCeCommand command = @this.CreateCommand()) { commandFactory(command); var ds = new DataSet(); using (var dataAdapter = new SqlCeDataAdapter(command)) { dataAdapter.Fill(ds); } return ds.Tables[0]; } }
0
148. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private DataSet LoadDataSetFromStoredProcedure(tgDataRequest request) { D/n ..... /n //View Source file for more details /n }
0
149. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private DataSet LoadDataSetFromText(tgDataRequest request) { DataSet data/n ..... /n //View Source file for more details /n }
0
150. Example
Project: Tiraggo
Source File: DataProvider.cs
Source File: DataProvider.cs
static private tgDataResponse LoadDataSetFromStoredProcedure(tgDataRequest request) { /n ..... /n //View Source file for more details /n }