asp.net corner
Pages
Home
WITH Query in SQL Sever
Monday, May 11, 2009
Negative to Postive Value
converting Negative Value to Pstive value in C#:
string s = "-123.45";
s = Math.Abs(Convert.ToDouble(s)).ToString();
//Output=123.45
Saturday, May 9, 2009
Date Time Format
Convert Date Time:
string=strStartDate;
strStartDate = Convert.ToDateTime(strStartDate).ToString("yyyy/MM/dd");
Newer Posts
Older Posts
Home