Hello everyone,
My question is how to assign the DataType value for columns of special SQL Types like, uniqueidentifier/nvarchar/datetime/varbinary(max) -- I did not find a mapping between .Net data type and such 4 types of SQL column data type?
Here is a sample, which shows we need to assign the DataType (this sample maps .Net type to SQL column data type) of each column of the DataTable.
http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx
thanks in advance, George