I have the following AccessDataSource that returns the following columns
<asp:AccessDataSource ID="PastWFTPs" runat="server" DataFile="~/App_Data/NSM.accdb" SelectCommand="SELECT * FROM [v_PastWFTPs]">
</asp:AccessDataSource>
Columns return
ID Number
WeekOf Date/Time
Title Short Text
TheText Long Text
Inactive Yes/No
RecAdd Date/Time
RecMod Date/Time
How do I modify the following code to returns rows WeekOf within a particular range?
How do I change this to accept parameters?
For Each aRec As DataRowView In DirectCast(PastWFTPs.Select(DataSourceSelectArguments.Empty), DataView)
'Do something'
Next
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.