Good day Gentl'men!

I just need a little help for date is the criteria.. I have two date picker, dtfrom.value & dt2.value, and a variable called "viewtype"..
**if viewtype="monthly"
, I want to create a listview column base on fromdate.value & todate.value..Example, if fromdate.value="12/24/2012" and to.value="06/31/2013", I want to create a column in listview from 12/24/2012 upto 06/31/2013. So six column will be created..

if viewtype="weekly" or viewtype="annually" or viewtype="semi-annually" same procedure will happen!

Thank you for helping!

Just a correction on the above post, Seven columns will be created from december to june as base on tha example..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.