Full article "How to design a Fluent Interface", compares and examples see HERE
Sunday, September 30, 2007
Get last day of the month
DateTime GetLastDayOfMonth(DateTime date)
{
return
new DateTime(date.Year,
date.Month,
DateTime.DaysInMonth(
date.Year,
date.Month));
}
Thursday, September 20, 2007
Accordion 2.0 by Kevin Miller
Kevin Miller has updated to version 2.0 his extraordinary AJAX control ACCORDION
New futures:
- Open/Close functionality added (Click on an active accordion).
- Nested Vertical Accordions
- Accordions will dynamically resize on content added REAL TIME!
- ...lots of bug fixes!
Very simple using:
Include 3 JavaScript files to HTML page
<script type="text/javascript"
src="javascript/prototype.js"></script>
<script type="text/javascript"
src="javascript/effects.js"></script>
<script type="text/javascript"
src="javascript/accordion.js"></script>
and...
<h2 class="accordion_toggle">Title Bar</h2>
<div class="accordion_content">...</div>
...
...
...
<h2 class="accordion_toggle">Title Bar</h2>
<div class="accordion_content">...</div>
More option see here (In toggle "How to use")
Sunday, September 16, 2007
SQLQueryStress - T-SQL server query performance testing tool
Monday, September 10, 2007
Sunday, September 09, 2007
Wednesday, September 05, 2007
10 SQL Server Functions That You Hardly Use But Should
A using and explanation next SQL functions:
BINARY_CHECKSUM
SIGN
COLUMNPROPERTY
DATALENGTH
ASCII, UNICODE
NULLIF
PARSENAME
STUFF
REVERSE
GETUTCDATE
Labels: SQL
Tuesday, September 04, 2007
Clear cache and buffers in MSSQL
ASP.NET AJAX Shorthand Syntax
Command | Shortcut to |
$get('YourControlName') | Sys.UI.DomElement.getElementById - gets a reference to the DOM element, same as document.getElementById |
$find() | Sys.Application.findComponent |
$create() | Sys.Application.Component.create |
$addHandler(FormElement, EventName, HandlerMethod) | Sys.UI.DomEvent.addHandler |
$clearHandlers(FormElement) | Sys.UI.DomEvent.clearHandlers |
$removeHandler(FormElement) | Sys.UI.DomEvent.removeHandler |
Sunday, September 02, 2007
.NET tips and tricks to every day
Subscribe to:
Posts (Atom)