- protected void gvNews_OnRowCreated(object sender, GridViewRowEventArgs e)
- {
- if (e.Row.RowType == DataControlRowType.DataRow)
- {
- if (e.Row.RowState == DataControlRowState.Alternate)
- {
- e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#FFFFE1';");
- e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='#f7fff8';");
- }
- else
- {
- e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='#FFFFE1';");
- e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='#eefef0';");
- }
- }
- }
Friday, March 20, 2009
Chnage Gridview back color in ASP.NET
double quote " problem in C#
in C# if you want to replace " double-quota or search it you have to use this way.
C#: sInput = sInput.Replace("\"", "")
VB: sInput = sInput.Replace("""", "")
C#: sInput = sInput.Replace("\"", "")
VB: sInput = sInput.Replace("""", "")
Wednesday, March 18, 2009
Free Windows Mail Server
SmarterMail Free Edition is limited to 10 email users on a single domain, and includes all the functionality of SmarterMail Enterprise Edition.
http://www.smartertools.com
Friday, March 13, 2009
Best replace for microsoft exchange
Zarafa is a European open source collaborative software solution developed in Delft, the Netherlands. It provides email storage on the server side and brings its own Ajax-based mail client called WebAccess