can i use two web.config files of ConnectionString in One
Default.aspx page
Answer Posted / pradeep
To: Amar Shah
While using Webconfig file in your project, you can
override the Machine configuration details. If you are
having the webconfig in sub folder, this will override your
root folder webconfig file.
Ex:
Root: Webconfig -- ConnString ="Root Connection"
Sub Folder Webconfig -- ConnString ="Sub Connectin"
If your page in Root folder, the "ConnString will take from
Root folder webconfig. If it is in Sub folder, obviously it
will take from subfolder webconfig file.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is web api and why to use it?
What should you do is you want to remove an existing component but would like to make some funtionalities?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What is the server of asp.net?
Which is faster viewbag or viewdata?
What is runat?
Why session is more secure than cookies?
Which adapter should you use, if you want to get the data from an access database?
Explain automatic memory management in .net.
What is an axd file?
What is the difference between globalization and localization?
How do you identify that the page is postback?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What type of code, client-side or server-side, is found in a code-behind file of a Web page?
How do you hide the columns?