what is post back?
what is ispostback?
with out web.config we can run the application or not?if run how?if not why?
what is web.config?
why connection string not write in page_load?why write in web.config?
what is app settings in web.config?
what is diff b/w app settings and connection string in web.config
please give me the relevent answer and clear explanation
Loading

Praneeth KumarPosted Jun 9, 2011, 1:29 AM
postback is any action which causes refresh by any action like a button click or dropdown selection changed or check box changed or any event
ispostback is a boolean property which is set to true if page is a postback
without web.config we cannot run the app
web.config is the config file where all the configurations like connection string or handlers or service configuration anything can be set
connectiong string can be set in page_load. it is advicable to write connection string in web.config so that it will be easy for you to change any future database server changes in config file than changing in code level.
The
Diff is App settings is an element in web.config and web.config is a configuration file
Sandeep ShekhawatPosted Jun 9, 2011, 1:32 AM
It define that ur page excute on server when any event occure.Like Button default POSTBACK is true,Then u call click event then whole page excute on server. It define that it will excute on server.
What is ISpostBACK?
It is a Boolean type property of Page.It is true means code block excute on server. default value is true.
Without web.config file can run our application.
Web.config file is an application based configuration file that has settings about application like connection string,security,session,title,handler,globalization related settings in this file,
when u page write in page load then when u upload a page on server that time u will be upload whole page and class library can not use.But use in web.config whole application call it and when server change u will only change in web.config connection string not on whole application page load.
app-seeting use define other seetings like applicatiion title etc and connection string use connect to database on server