c#sqlserver 生日提示,数据库中datetime字段,和今天的日期我是这样写的,int i=system.datetime.today.month;
int j=system.datetime.today.day;
c#sql语句中写com.commandtext="select * from table1 where birthday.month="+i+" and birthday.day="+j+" ";
但运行后出现 无法绑定由多个部分组成的标识符 "birthday.month"。
无法绑定由多个部分组成的标识符 "birthday.day"。错误
谢谢
int j=system.datetime.today.day;
c#sql语句中写com.commandtext="select * from table1 where birthday.month="+i+" and birthday.day="+j+" ";
但运行后出现 无法绑定由多个部分组成的标识符 "birthday.month"。
无法绑定由多个部分组成的标识符 "birthday.day"。错误
谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货