I am using this code to get data from a dataReader into a DataTable which ca开发者_Python百科n then be serialised.
I\'m having a little problem with checking user inputs. I want to check if an input is of a \"given\" datatype. The problem is in the \"given\" as you might have guessed :-)
I wrote a code using c#- Visual 2008- that takes: 1- an excel sheet. 2- Opens a connection to Excel 3- Reads the Column names using the OleDbDataReader object and GetTableSchema method 开发者_Pytho
I\'ll start by saying I am a Java (/programming) newbie and this is my first question on the website.
OleDbDataReader oleDbDataReader = oleDbCommand.ExecuteReader(CommandBehavior.KeyInfo); DataTable dataTable = oleDbDataReader.GetSchemaTable();