摘要:
DateTime.Now.ToShortDateString() //只取日期DateTime.Now.ToLongTimeString();//只取时间搞定 DateTime.Now.ToShortTimeString()DateTime dt = DateTime.Now;dt.ToString 阅读全文
摘要:
C#combobox1中设置dropdownstyle为dropdownlist,清空时写法: comboBox1.SelectedIndex = -1; C#combobox1中设置dropdownstyle为dropdown,清空时写法: comboBox1.text= ""; C#combob 阅读全文