in my table field createdon shown in the date time format like 5/5/2011..in this field any of the value null means...it should be display into 1/1/2011
with this regard you can write your database query for your solution..
like while selecting your column with datatime you can write like this..
SELECT isnull(createdon,'01/01/2011') as CreatedOn FROM "YOUR TABLE NAME"
this will check first that that filed is null or not, if it is null then select your value like 01/01/2011 or if it is not null then its value will be your actual value...
for more detail on isnull see this..
<a href="http://msdn.microsoft.com/en-us/library/ms184325.aspx">ISNULL</a>[<a href="http://msdn.microsoft.com/en-us/library/ms184325.aspx" target="_blank" title="New Window">^</a>]
or
<a href="http://www.w3schools.com/sql/sql_isnull.asp">ISNULL2</a>[<a href="http://www.w3schools.com/sql/sql_isnull.asp" target="_blank" title="New Window">^</a>]
OR
You can use a CASE..WHEN in SELECT Query also...
for more detail on CASE..WHEN see This
<a href="http://msdn.microsoft.com/en-us/library/ms181765.aspx">CASE..WHEN</a>[<a href="http://msdn.microsoft.com/en-us/library/ms181765.aspx" target="_blank" title="New Window">^</a>]<br />
<a href="http://www.1keydata.com/sql/sql-case.html">CASE..WHEN 2</a>[<a href="http://www.1keydata.com/sql/sql-case.html" target="_blank" title="New Window">^</a>]<br />
<a href="http://www.java2s.com/Code/SQL/Flow-Control/UseCASEWHENstatementinSELECT.htm">CASE..WHENE 3</a>[<a href="http://www.java2s.com/Code/SQL/Flow-Control/UseCASEWHENstatementinSELECT.htm" target="_blank" title="New Window">^</a>]