Subscribe to Blog content and comments for NetFx Blog Archive: October 2009

Microsoft Visual Studio DataSet designer generates code (C#/VB.NET) to read data from a .NET Data Provider data source or apply changes to the data source. DataSet designer generates parameterized queries and sets the properties of DbParameter object to the corresponding column data type attributes. For example it sets DbParameter.DbType to DbType.String or DbType.Decimal. It also sets the DbParameter.Size to the column size which is the maximum number of characters for Char/VarChar columns.