select Preacher_Id , Name from Preacher_SkillDetail
where Preacher_Id not in (
where Preacher_FK from Event_Preacher
where (@newstartdate <= Start_Date and @newenddate >= Start_Date)
or (@newstartdate <= End_Date and @newenddate >= End_Date)
or (@newstartdate >= End_Date and @newenddate <= End_Date)
or (@newstartdate <= Start_Date and @newenddate >= End_Date)
)
我想要bind the output
一个ropdowncontrol
我怎么能在 c#.net 中做到这一点?我有变量newstartdate and newenddate as Date