What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?
Answer Posted / saiish
web.config contains values.
global.config contains code.
n we cant place connection string code in global.asax.
we can place only in web.config.
| Is This Answer Correct ? | 6 Yes | 15 No |
Post New Answer View All Answers
Explain the updatepanel?
What are directives in asp.net?
What is asp.net used for?
How can you identify that the page is post back?
What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
How can we update records in gridview?Is there any appropriate code for it?
How can you use a custom controls in ASP.NET application?
What are the asp.net list controls and difference between them?
Explain advantages of caching?
What is the purpose of session management?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is a user developed application?
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
How can u debug your .net application?
Explain the difference between an exe and a dll?