SelectCommand="SELECT TaskID_Pk, UserName, Asignee, StartDate, Status, Description FROM TaskList Where LOWER(Asignee) like LOWER(@Asignee) AND LOWER(Status) like LOWER(@Status) AND LOWER (UserName) like LOWER(@UserName) AND StartDate >= @StartDate AND EndDate <= @EndDate";
<SelectParameters> <asp:ControlParameter ControlID="drpDown_Asignee" Name="Asignee" PropertyName="SelectedValue" Type="String" /> <asp:ControlParameter ControlID="drpDown_Status" Name="Status" PropertyName="SelectedValue" Type="String" /> <asp:ControlParameter ControlID="drpDown_UserName" Name="UserName" PropertyName="SelectedValue" Type="String" /> <asp:ControlParameter ControlID="StartDate_TextBox" Name="StartDate" PropertyName="Text" Type="DateTime" /> <asp:ControlParameter ControlID="EndDate_TextBox" Name="EndDate" PropertyName="Text" Type="DateTime" /> </SelectParameters>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)