|
what's the difference between database/initial catalog
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
Hi Sonia,
Initial Catalog" or "Database" represents the Database name.
Hope ur question is answered.
Rakesh
|
|
|
|
|
u mean there is no difference
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
Yes Sonia, they are!
Rakesh
|
|
|
|
|
i don;t think so
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
(1) If you are making a Database connection string using a Driver then in that use use Database property.
(2) If you are making a Dataase connection string using a Datasource property then user Initial Catalog property.
---------------
OleDbConnection conn = new OleDbConnection();
conn.ConnectionString =
"Driver=SQLOLEDB;" +
"Data Source=ServerName;" +
"Initial Catalog=DataBaseName;" +
"User id=UserName;" +
"Password=Secret;";
---------------------
SqlConnection conn = new SqlDbConnection();
conn.ConnectionString =
"Data Source=ServerName;" +
"Initial Catalog=DataBaseName;" +
"User id=UserName;" +
"Password=Secret;";
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
I dont think so that this is teh actual difference.
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
I have Done connection string encryption and decryption with u r help.
now i have one doubt
While running the project,the encrypted values should be automatically saved in web config file. but now i am only copying and pasting in the page.I want better solution for this
regards
saravanan
|
|
|
|
|
If you dynamically update the web.config page at RunTime, it would restart your application invalidating all the sessions. Hence, I would suggest refraining from update (new timestamping) web.config.
|
|
|
|
|
I want a break point on Session_On end event on global.asax when I close the browser.
My Web.config entry is as below:
<sessionstate
="" mode="InProc" timeout="10">
Pavas
|
|
|
|
|
|
The article doesn;t tell how can we fire a session_on end event..
Pavas
|
|
|
|
|
It clarifies about the 'non-deterministic' nature of the event itself and suggests a workaround on that particular case.
|
|
|
|
|
can we use dataset in Ajax for .net 1.1 version?
|
|
|
|
|
|
You can use AJAX any way you like. You can't use the Microsoft AJAX library in .NET 1.1 or 1.0.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Hi, the following are the steps I took to grant the asp.net account write/read access
<font color = indigo>I've selected Security tab-> ASP.NET Machine Account -> Add tab -> Advance tab-> Find Now tab -> Machine/ASP.NET Account -> OK -> Allow -> Apply -> OK </font>
What I wanted to do is to access the file within inetpub's subfolder after the file has been created. I was successful in creating the file but I can not access and read the file in the folder. Please help, thank you in advance for your effort.
-- modified at 4:38 Tuesday 7th August, 2007
|
|
|
|
|
may be you might not have closed the writer object of the file
so you not able to access the file ..i think so
note that before you read the file you need to close the writer
Rama Charan Prasad
"Be happy and Keep smiling.Thats what u want be always.. "
|
|
|
|
|
NULL the streamwriter object. Otherwise, I think, you would get 'The process can not access this file because it is being used by another process '.
|
|
|
|
|
Hi,
I'd been searching the net for this but none seems to work.
I am using a master page (to replace iframe actually) and happily it works as I wanted it.
Now the problem is, there is a treeview in the the master page which suppose to refresh the content page but it refreshes the whole page itself causing the treeview to revert back to its original state.
Is there any command to tell the Master Page not to refresh itself?
Thanks in advance.
J Liang
|
|
|
|
|
J Liang wrote: Is there any command to tell the Master Page not to refresh itself?
Upto my knowledge NO. Browsers won't treat as master and content page. When ASP.NET processes the page, it will combine master and content page and sends HTML code to browser. This will be treated as single page only. So when refresh happens, it will refresh entire page. Is it possible for you to implement with some AJAX concepts ?
|
|
|
|
|
|
Vasudevan Deepak Kumar wrote: have suggested him an IFRAME isolation trick:
Yes, that will be a good solution. It will look like MSDN, is it ?
|
|
|
|
|
Hi,
But if I would use iFrame, doesn't that would defeat my purpose of using the Master Page of ASP.NET? My previous projects I was using iFrame but it gives me the problem again when refreshing, it will return the page back to the main page instead of refreshing the current page since the URL column on the browser show the same address even when I navigate around the page.
J Liang
|
|
|
|