怎么样把从sql中读取的值给datetimepicker控件?
											怎么样把从sql中读取的值给datetimepicker控件?做的时候他说类型不对,好像没有日期型的变量吧。我要怎么办?this.Xdtp.Value=dt.Tables["1"].Rows[0]["ldd"].ToString(); 不行
this.Xdtp.Value=dt.Tables["1"].Rows[0]["ldd"]; 也不行。
 2006-10-02 09:38
	    2006-10-02 09:38
  好了,问题解决了。用Contvert.todatetime();就行了。
 2006-10-02 09:45
	    2006-10-02 09:45
   2006-10-03 15:22
	    2006-10-03 15:22
  谢谢了
 2006-10-03 16:48
	    2006-10-03 16:48