Sashidhar Kokku's blog

Browse by Tags

All Tags » .NET (RSS)
[HowTo] Generate a dummy table for binding to a tabular structure.
While designing grids and related styles, I always found the need to bind some dummy data to the grid to see how the grid looks. So, rather than making a database call to get a really organized table, I decided to get one of my own. The following method...
7 secrets of successful programmers
1. Code for human consumption It is one of the most pervasive misunderstandings in computing that the source code is for the computer's consumption. Computers work with low-level binary code, a series of impenetrable 1's and 0's or hexadecimal numbers...
Gridview Dataformat types
For those of you who are looking around for the DataFormatString's entry for setting columns in the grid-view, here is a quick list. Format Type Data-Format Type Phone number {0:(###) ###-####} Currency (no decimals) (0:$#,##0} Currency (1 decimal) {0...
How To : Disable Enter key in web forms
Include the following code in the <head> tag, or in the common.js file in your website(hoping that you call it in the master page or the relevant form). function disableEnterKey() { if ( window .event.keyCode == 13) window .event.keyCode = 0; }...