WebRepresents a set of data commands and a database connection that are used to fill the DataSet and update the data source. C# public sealed class OleDbDataAdapter : System.Data.Common.DbDataAdapter, ICloneable Inheritance Object MarshalByRefObject Component DataAdapter DbDataAdapter OleDbDataAdapter Implements IDataAdapter … Web编辑可能是,如果您的数据库支持执行动态sql,您可以编写SP并将您不想看到的列传递给它,让它动态创建查询并将结果返回给您。我认为这至少在SQL Server中是可行的. 我不知道有任何数据库支持这一点(SQL Server、MySQL、Oracle、PostgreSQL)。它绝对不是SQL标准的一部分,因此我认为您必须只指定所需的列
C# (CSharp) System.Data.SqlClient SqlDataAdapter.FillSchema …
WebFill (DataSet): It is used to add rows in the DataSet to match those in the data source. FillSchema (DataSet, SchemaType, String, IDataReader): It is used to add a DataTable to the specified DataSet. GetFillParameters (): It is used to get the parameters set by the user when executing an SQL SELECT statement. WebDec 1, 2007 · the question is about how C# function FillSchema works, not about how database works. On database side, I have no problems at all - of course, both db tables … bulk buy kleenex facial tissues
DataAdapter.FillSchema Method (System.Data.Common)
WebC# (CSharp) System.Data DataTableReader.GetSchemaTable - 6 examples found. These are the top rated real world C# (CSharp) examples of System.Data.DataTableReader.GetSchemaTable extracted from open source projects. You can rate examples to help us improve the quality of examples. WebThe MySQLDataAdapter, serves as a bridge between a DataSet and MySQL for retrieving and saving data. The MySQLDataAdapter provides this bridge by mapping Fill (DataSet), which changes the data in the DataSet to match the data in the data source, and Update (DataSet) , which changes the data in the data source to match the data in the DataSet ... WebJun 25, 2016 · 1 Answer Sorted by: 3 You could query the INFORMATION_SCHEMA .TABLES view and get your info from the TABLE_SCHEMA field "SELECT TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES where table_name = '" + table "'"; It is not clear why you need this info, so I can only suggest to run this code bulk buy items to sell