How To Get Month Name Form Date
Get Month Name From Given Date
SELECT DATENAME(MONTH,'08/15/1947')
|
|
|
|
Known Is A Drop,UnKnown Is An Ocean....
Njoy Programming
|
|
|
|
Labels: HowTo, SQL Server Posted by windows_mss at 8/27/2008 0 comments
|
|
|
|
Labels: HowTo, SQL Server Posted by windows_mss at 8/27/2008 2 comments
int i = 0;
while (i <= datatableid.Rows.Count - 1)
{
if (datatableid.Rows[i]["ColumnName"].ToString().Trim() == string.Empty)
{
datatableid.Rows.RemoveAt(i);
}
else
{
i += 1;
}
}
|
|
|
|
Labels: ADO.NET, ASP.NET, C# Posted by windows_mss at 8/14/2008 1 comments
datagridname.Items.Count
Items
Gets a collection of DataGridItem objects that represent the individual items in the DataGrid control
|
|
|
|
Labels: ASP.NET, DataGrid Posted by windows_mss at 8/07/2008 0 comments
COALESCE ( expression [ ,...n ] )
Example :
SELECT COALESCE(FieldName,'0.00') FROM TableName;
If The Specified Field have null value it will be replace by 0.00 in the Result.
It's equivalent to Oracle NVL.
|
|
|
|
Labels: SQL Server Posted by windows_mss at 8/07/2008 0 comments
function maxLengthPaste(field,maxChars)
{
event.returnValue=false;
if((field.value.length + window.clipboardData.getData("Text").length) > maxChars)
{
return false;
}
event.returnValue=true;
}
Use OnPaste Went To Call This Function
onpaste="return maxLengthPaste(this,500)"
This Code Has Been Post By The Viewer As Comment
|
|
|
|
Labels: JavaScript Posted by windows_mss at 8/01/2008 1 comments
|
|
|