SELECT convert(varchar, getdate(), 112) result come this type 20120229
<br /> DateString = DateString.Text.Replace("-", "")<br />
<br /> string val = System.Text.RegularExpressions.Regex.replace(val, @"[-_]", ""); <br />
string dt="here goes your date expressin"; dt.Replace("-","");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)