NKarthick
April 9th, 2008, 02:20 AM
Hi
In my web form i am having two listboxes, i need to pass values from one listbox to the other and need to save the contents of the second listbox
i had done upto this
while saving to my sqldatabase i am getting the following error
CANNOT BE SAVED INTO THE DATABASE KEYWORD NOT SUPPORTED:'PROVIDER'
but the same program is working with access database
i have used the following connection string for connecting to the database
conn = New SqlConnection("Provider=SQLOLEDB;DataSource=\sqlexpress;attachdbfile=\datadirectory\map.mdf;integrated Security=True;userinstance=true")
In my web form i am having two listboxes, i need to pass values from one listbox to the other and need to save the contents of the second listbox
i had done upto this
while saving to my sqldatabase i am getting the following error
CANNOT BE SAVED INTO THE DATABASE KEYWORD NOT SUPPORTED:'PROVIDER'
but the same program is working with access database
i have used the following connection string for connecting to the database
conn = New SqlConnection("Provider=SQLOLEDB;DataSource=\sqlexpress;attachdbfile=\datadirectory\map.mdf;integrated Security=True;userinstance=true")