Product: Tutorial

Developing Metro apps for Windows 8

Tushar Agarwal September 25, 2011

Probably most of you would have seen the preview of Windows 8 – either at BUILD conference or online. For developers it’s time to start looking into what it takes to start developing Windows 8 applications. The apps would be developed in .NET 4.5. It’s not exactly same as .NET 4 and yes there are some breaking changes. You’ll have to port your applications to .NET 4.5.

Here is the link for starting the development – MSDN – .NET Metro style apps

Find all the resource here – Windows Metro style apps

 

 

 

 

 

Details

jQuery – Huge size of calendar widget

Tushar Agarwal December 14, 2010

Most of you must be aware of jQuery – a Javascript framework. jQuery has an plugin for the UIs – jQueryUI. When you see the Demos on jQueryUI.com the calendar looks so elelgant and right sized. But when you download the size of the calendar is huge which doesn’t look very good. To fix the size of the calendar widget change this:

.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1 em; }

to this:

.ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 0.8em; }

Cheers !!!


Details

SQL Server – Getting Today’s Date only

Tushar Agarwal December 11, 2010

It is quite common that you want to extract todays’ date component only in sql. The most obvious approach to do is use GETDATE(). This returns today’s date and time.

To just get the date component use this

select CONVERT(datetime, (convert(varchar, getdate(), 101)))

Hope this was a helpful tip for you.

Details