A Friend in Need is a Friend in Deed.
Become a Member at ITTreats.com !! Share Your invaluable Experience to Fellow Programmers. Signup, Start Blogging and support fellow Techies.

Paginating in ASP

pagination in asp, plays major roll when you want to display page wise results , what if the recordset size is more or huge, in that case the processing of the page will become slow… for that here is the query , which will really help you the following query is mssql query for example if you want employee name whose salaries are 2nd highest and 1oth highest now, step 1 :select *, .. .. ..

Written By : adrevol

Creating and Using Own Templates using ASP

when ever the scripts on your pages will become complex, templates are the best solution. working on asp templates is quite easy, 1. stick to page layout eg:. pregare a static html page with your requirements 2. change the content part of each division to one standard identification string eg:. <div id='leftpanel'> <ul> .. .. ..

Written By : adrevol

How to Make Read only Check Boxes

how we can make a chek box readonly? even if we provide readonly attribute you still can check or uncheck the checkbox.. then how we can make a checkbox readonly ?? here is the simple solution,  we can do this  with javascript. here is how it goes write a onclick even for the desired checkbox, and  check weather it is checked , if it is check then make that checked as false vice .. .. ..

Written By : adrevol

Strip HTML tags ,Script blocks,Forms, style blocks using Regex in C#.net

many times in many cases we may come across this problem how to strip html tags, how to remove script blocks ? how to remove form blocks and how to remove style sheet blocks ? for those questions here is the simple and best answer read the rest of this entry .. .. ..

Written By : adrevol