C# Multiple connectionstring
-
can i have 2 connection string and two connections in 2 different databases because i have an error that say no database specified or IN clause
-
why i have the error no database specified in connection string or in clause i make the same steps that i make with my previous connection with access db and connection string
zebra88 wrote:
why i have the error
I would have no idea why you are getting that error. Through some strange circumstance, I cannot see your code, your project or read your mind and you have not provided any relevant information that would allow anyone to know what it is that you are trying to do and what you have done.
-
zebra88 wrote:
why i have the error
I would have no idea why you are getting that error. Through some strange circumstance, I cannot see your code, your project or read your mind and you have not provided any relevant information that would allow anyone to know what it is that you are trying to do and what you have done.
-
can i have 2 connection string and two connections in 2 different databases because i have an error that say no database specified or IN clause
no we can not use multiple string conection to connect multiple database in .net if we try to do this we have find a problem cross connection problem
-
no we can not use multiple string conection to connect multiple database in .net if we try to do this we have find a problem cross connection problem
so how can i get data from access databases that has the same fields but with different content and i want to get data that have the same reference year from them every time i make import a file to a c# program without locally connect the database so with this way i have always updated data because i see what i want without have in mind the old data that has every access file that i use. i want only the records with the same reference year e.x with year 2013 how i manage this? one solution i find now is to make restore the access db file so i have always updates data :)
-
Use the best guess
Richard MacCutchan wrote:
Ah, thanks.... I guess I will stop feeding him.
-
no we can not use multiple string conection to connect multiple database in .net if we try to do this we have find a problem cross connection problem
Wat, you are wrong. You can have as many connection to as many databases as you need. Downvote required!
Never underestimate the power of human stupidity RAH
-
no we can not use multiple string conection to connect multiple database in .net if we try to do this we have find a problem cross connection problem
Maybe YOU have a problem with doing this, but the rest of use professional developers don't. YES, you can have multiple connection strings in a .NET app and use them all at the same time. What you said was completely wrong on every level.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
Richard MacCutchan wrote:
Ah, thanks.... I guess I will stop feeding him.
Surely its possible to connect multiple database in same project/Single database in multiple projects and multiple databases in multiple projects. Your issue is some thing else. I googled it and i got a page like this. http://office.microsoft.com/en-in/access-help/HV080760652.aspx
-
Surely its possible to connect multiple database in same project/Single database in multiple projects and multiple databases in multiple projects. Your issue is some thing else. I googled it and i got a page like this. http://office.microsoft.com/en-in/access-help/HV080760652.aspx