I'd like to learn how to code and store the values that are in between (including)
Session("StartDate") = DropDownList2.SelectedValue
Session("EndDate") = DropDownList3.SelectedValue
And if storing the values of DDL2
and DDL3
into a session
is wrong then please correct me! The property of the column chosen as the datasource in the access file is of DateTime
format by the way.
Greatly Appreciated!
Assuming you are ordering the items so that they are Ascending you could do something like this;
I'm not sure what you are using (WinForms, WebForms etc) so I created a demo in in ASP.net
Code Behind: