急急,知道的说下,谢谢了

解决方案 »

  1.   

                string str = "1990-09-10";
                string[] result = str.Split('-');
      

  2.   

     Convert.ToDateTime("1990-09-10").ToString("yyyy,MM,dd")
      

  3.   

    string str = "1990-09-10";
    string[] result = str.Split('-');
      

  4.   

    直接分割就行了
    string str = "1990-09-10";
    string[] result = str.Split('-');
      

  5.   

    string test = "2011-09-10
                string[] test1 = test.Split('-');
                foreach (String s in test1)
                {
                Response.Write(s+"</br>")
                }
    2011
    09
    10