Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, May 18, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Knowledge Base > ASP.Net > code behind
Search:
What's New - What's Hot

Dynamically set a link to a CSS file in ASP.NET        
Total Hits: 22  |  Today: 0 Author: Florent Boulanger       Rating:  
Read Reviews | Write Review |              Your Rating: 

I had a tough time finding this online so I thought I would post it on CodeProject.com.

I wanted to be able to dynamically set a link to a CSS file. For example, for users to be able to personalize their site, change the look and feel.

Just add a runat attribute to your traditional link tag. ID attribute has to be present, and tag has to be properly closed (not like HTML)....

Printer-friendly Pages        
Total Hits: 115  |  Today: 0 Author: James Shaw       Rating:  
Read Reviews | Write Review |              Your Rating: 

There are some elements all sites should provide for their users. For instance, most sites should make available a link to a printer-friendly version of a Web page. Web sites almost always surround the real content with navigation bars, advertisements, page counters, and other elements that often distract readers. And, when users print pages, they're tainted by links and images that are completely unrelated to the users' real subject of interest. You can use my PrinterFriendly class to give your...

INFO: ASP.NET Code-Behind Model Overview        
Total Hits: 15  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article provides a brief overview of the code-behind model, which is introduced in ASP.NET.

In-line code is code that is embedded directly within the ASP.NET page....

Clean page redirect for setting redirect inside logical code        
Total Hits: 20  |  Today: 0 Author: Christopher G. Lasater       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article will detail how you can use the OnPreRender event to redirect a page from inside a logical set of code without getting the 'Thread was being aborted' error.

We start with the code in its error producing state. We are trying to redirect a page before all the code in the page is finished running, causing a thread abort on the page....

CodeSnip: How to make use of parameterized cursor in Oracle        
Total Hits: 3  |  Today: 0 Author: Deepankar Sarangi       Rating:  
Read Reviews | Write Review |              Your Rating: 

Often it is convenient to pass a given set of values as input parameter to a cursor. It is very useful where nested cursors are used. Parameterizing the cursor makes it more usable and avoids the limitation of hard coding values in where the clause. In this code snippet, Deepankar examines this technique with the help of the relevant SQL code. He also provides a brief analysis of the code and also a screenshot of the final output....



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net