aviles1973
Programmer
I am using these OBJECTS without using VB.net wizards to connect and manipulate my database(SQLServer2005):
m_cnADONetConnection As New SqlClient.SqlConnection()
m_daDataAdapter As SqlClient.SqlDataAdapter
m_cbCommandBuilder As SqlClient.SqlCommandBuilder
m_dtContacts As New DataTable
I can pretty much do everything I need to control my database with just the objects above.
I am just very curious of whether or not a DataSet object is ever even needed and the difference between DataTables & DataSets?
I already know that a DataTable is a disconnected copy of the database. Is this also how the DataSet works and would my program run faster using DataSets as the data capacity increases?
m_cnADONetConnection As New SqlClient.SqlConnection()
m_daDataAdapter As SqlClient.SqlDataAdapter
m_cbCommandBuilder As SqlClient.SqlCommandBuilder
m_dtContacts As New DataTable
I can pretty much do everything I need to control my database with just the objects above.
I am just very curious of whether or not a DataSet object is ever even needed and the difference between DataTables & DataSets?
I already know that a DataTable is a disconnected copy of the database. Is this also how the DataSet works and would my program run faster using DataSets as the data capacity increases?