Could someone please give me a code example of creating a class module in VB.Net for a database connection. I am having trouble figuring this out. I want a class module in which anywhere in my application I can open a recordset using the DataSet option etc. Could you please provide me with a class module that I could edit. I am using SQL Server as my database. Also maybe an example of using the DataSet to fill a listbox or combo box. I am used to the ADODC control and binding it to a datagrid or listbox. Thanks everyone.