我想在下拉列表中将产品和日期绑定在一起
这是sql查询
Select P.Id , M.ProductId as ProId , P.Name + ',+'M.[Date] as Name
from ProductMaster as P INNER JOIN PlanMaster as M on P.Id= M.ProductId
where M.IsDelete = 'False' order by M.ProductId ASC
如果date
不是datetime
格式,这有效
我得到的错误是
从字符串转换日期时间时转换失败。