I have a web application with over 20 pages that are used. In each of these pages I include a file to build a toolbar on those pages.
If I add the following code to the include file, will this prevent caching for the main page or just the include file?
<%
Response.Expires = -1...
I have a question on what is more efficient when opening and closing database connections(using pooling).
I've read that after you have opened a db connection and are then done with it, the close it immediately. Which makes since if you only have to use it once.
What if you have a webpage...
I have a RadioButtonList that is created in the .cs file, it only has 2 options in it that is added to a asp:table. I want to be able to show different options on the page based on which radio button they click. All are created dynamically.
ArrayList cg = new ArrayList(2)...
How can I disable items in a checkboxlist when page loads in the codebehind?
The list is created in the .aspx file and when user selects from a dropdownlist and page is submitted cerainn listitems are disabled based on users selection. But I don't know how to reference the items individually...
I have a page that generates a report in excel. They page is submitted and the sql query is built in the .cs file, then a javascript function opens a new window sending that query to a page that gets the results and puts the info into a spreadsheet. first time you run it is works fine. if you...
Hi,
I have a page that generates a report in excel. They page is submitted and the sql query is built in the .cs file, then a javascript function opens a new window sending that query to a page that gets the results and puts the info into a spreadsheet. first time you run it is works fine. if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.