difference between <connectionstring> <Appsetting>
Answer Posted / sivaram
Well inside the appsettings is where you put all properties
that have to do with the entire web application you are
building. Connection strings can be placed inside the
appsettings to make it easy to connect each page from your
site to a database. Instead of defining a connection string
on each page, you write it once it the web.config and can
reference it from all other pages.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What is the use of view state?
What is the used of "ispostback" property?
What kind of programming language is ASP.NET?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
How to do state management in ASP.NET?
Why is the standalone environment only useful during the development process?
Can you nest updatepanel within each other?
How can we access static variable?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
Are cookies client side or server side?
To display data in a Repeater control which template you provide?
How can we communicate with each server in N-tier Architecture? and what are the methods?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
What does asp stand for in asp.net?
Explain diff. Between friend and protected friend?