i am creating an application wherein user selects the database name from the dialog box and opens it.I am assigning datasource=commondialog1.filename to take name and path but its still no working!!!please help!!!