Archive for April, 2010

Running Total In Gridview Footer in

April 26, 2010 4 comments

When we want to display running total in gridview footer, use the following methods:

1) Using gridview row data bound:

2) Using private method in codebehind:

Useful Mozilla Firefox Add-ons/Extensions for Developers

While developing applications, there arises requirement where we need to check how the page looks runtime, what is the css applied, how many request gone, what is the markup generated, any javascript occurred if then at which place, how many javascript and stylesheets loaded, browser compatibility etc etc..

Here is a list of useful  Mozilla Firefox Add-ons :

1) Firebug

An add-on for every web developer.  You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.


2) Web Developer

The Web Developer extension adds a menu and a toolbar with various web developer tools.


3) Javascript Debugger

Javascript Debugger provide a powerful JavaScript debugging environment for Mozilla based browsers.


4) JSView

All browsers include a “View Source” option, but none of them offer the ability to view the source code of external files. Most websites store their javascripts and style sheets in external files and then link to them within a web page’s.


5) IETab

View Internet Explore Tab in Firefox . This is a very nice addon to check compatibility of Internet Explorer in Firefox


6) YSlow

YSlow analyzes web pages and why they’re slow based on Yahoo!’s rules for high performance web sites.


7) Httpfox

HttpFox monitors and analyzes all incoming and outgoing HTTP traffic between the browser and the web servers.


Using Jquery Autocomplete with

Using Replace() function in Sql Server

In this article, we will be talking about one of the important inbuilt functions of sql server, Replace()


REPLACE ( string_expression , string_pattern , string_replacement )

Some examples of using replace are as follows:


select replace('Nice Article', 'Nice','Cool')

returns Cool Article


UPDATE emp set designation=replace(designation, 'Sales', 'Marketing') where department='Marketing'

Get every new post delivered to your Inbox.