VB.net Getting data from a typed dataset that has been compiled as a dll

Murray Brown
Murray Brown used Ask the Experts™

I have a piece of work coming up tomorrow where I have been told I will have to get data from a typed
data set that has been compiled as a dll

What exactly is a typed dataset as opposed to just a dataset

Does compiling the dataset  as a dll mean that I will be able to reference the dll in my project and access the data through this source?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Software Engineer
Top Expert 2009
Typed Dataset is a strong typed custom class . A typed class assumes all of the functionality of the DataSet class and it is bound with the database tables at design time, thus you have all the schema information at design time in your code.
E,g Get rows of Employee table
ds.EmployeeTable.Rows  'Typed DS contains the actual table a s a property no need of using tables property.
ds.Tables["Employee"].Rows 'Normal DS

Yes, you just need an instance of the typed dataset and connect it to your data access to fill up the data. An example can be found here
Murray BrownASP.net/VSTO Developer



Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial