1.定义
string strChar;
strChar="";
或者
string strChar = string.Empty();
代码: string xxing=begindate.Value;//格式是2009-11-25 System.DateTime newDate=new DateTime(xxing); string xingq=newDate.DayOfWeek.ToString(); 请问怎么样把它装换成2009,11,25
转换了是样子的 System.DateTime newDate=new DateTime(2009,11,25);