给textbox赋一个datetime类型怎么能只要日期不要时间
InforBusinessib2=newInforBusiness();DataSetds=newDataSet();ds=ib2.SelectByInforID(Inf...
InforBusiness ib2 = new InforBusiness();
DataSet ds = new DataSet();
ds = ib2.SelectByInforID(InforID, "Infor");
if (ds.Tables["Infor"].Rows.Count > 0)
{
txtBirthday.Text=ds.Tables["Infor"].Rows[0][6].ToString();
} 展开
DataSet ds = new DataSet();
ds = ib2.SelectByInforID(InforID, "Infor");
if (ds.Tables["Infor"].Rows.Count > 0)
{
txtBirthday.Text=ds.Tables["Infor"].Rows[0][6].ToString();
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询