Fluent hibernate provides various decent methods that allow you to map class members with table fields. I have tried using the .Default() method while mapping which works fine for numbers but for string datatype this is not working.
So have looked into the actual execution of sql which looks like (ie.. I have added a new member to the class and want all exists rows to have a default value)
update dept
set location = Manchester
Then...
public string aboutme {
var known = { { "C#" , "Javascript" }, { "ASP.NET", "MVC" } };
return known.ToJson();
}
Monday, 27 February 2012
Wednesday, 15 February 2012
Guidelines for Optimising ASP.NET Websites

Optimisation is one of the most challenging task for any website. Optimisation should be planned just like any development task so as to avoid spending more time towards the end of project. There are various elements that needs to be considered during this process, here is the list below:-
1. Reduce number of requests made to the server...
Tuesday, 14 February 2012
JQGrid Autoheight not working on IE 8 and IE 9 compatibility
JQGrid autoheight works well if you have less number of columns that fit inside a browser window, but if your grid has too many columns with a horizontal scroll bar then you might have an issue. I have been using JQGrid "forceFit" parameter that generates a a horizontal scroll bar in order to display all columns which is great and mostly all browser. But IE 8 & IE 9 compatibility view does display a vertical scroll bar.
So...
Labels:
JQGrid
Handling JQGrid Autoheight on last page that has "rownum" less than "reccount"

One of the nice feature that JQGrid provides is enabling auto height using setGridHeight("100%"). This feature works fine except if the "number of rows on the current page" is less than "rows per page" which is last page, since it sets height to "100%" the height of the page is suddenly reduced.
Here is the sample screenshots taken from...
Labels:
JQGrid
Subscribe to:
Posts (Atom)