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