| | |
connection string
Please support our ASP.NET advertiser: Intel Parallel Studio Home
Thread Solved |
Hello Amitha,
you can create the connection string in web.config file.
for eg:
<appSettings>
<add key = "ConnectionString" value = "Persist Security Info=False; User ID=sa; Password=; Initial Catalog=NTBS; Data Source=(local)" />
</appSettings>
and you can call the connection string using
ConfigurationSettings.AppSettings["ConnectionString"];
command..
you can create the connection string in web.config file.
for eg:
<appSettings>
<add key = "ConnectionString" value = "Persist Security Info=False; User ID=sa; Password=; Initial Catalog=NTBS; Data Source=(local)" />
</appSettings>
and you can call the connection string using
ConfigurationSettings.AppSettings["ConnectionString"];
command..
With Warm Regards,
Sushanth.CP
Sr. Software Engineer
Sushanth.CP
Sr. Software Engineer
•
•
Join Date: Nov 2006
Posts: 44
Reputation:
Solved Threads: 0
thanx for your reply sushanth,i have 1 more question for u,i developed one window aoolication using firbird database as stanalone server,so when i try to do any really fast on my running application(like click on datagrig values very contineously,than my application got hangs.and run again only when i restart my machine.can u help me this case also.................?
![]() |
Similar Threads
- connection string of SqlConnection (C#)
- Connection String (Visual Basic 4 / 5 / 6)
- Connection String (MS Access and FileMaker Pro)
- Dynamic Connection String Using ADO (Visual Basic 4 / 5 / 6)
- SQL not a trusted connection?! (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Help with hyperlinking repeater to datagrid on same page
- Next Thread: its possible create video conference using asp.net??
| Thread Tools | Search this Thread |
.net 3.5 ajax alltypeofvideos appliances asp asp.net bc30451 beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iis javascript list listbox login microsoft mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers





