Q:

Bind Checkboxlist with next 7 days Date Value

I have one CheckboxList in my page and I want to bind next 7 days (not today) value in my list dynamically. The value should me inserted in the format as shown in image below right side and when I display the page in aspx I want to display Date and Day as shown in the 1st image format.
All the dynamic binding perform using Page_Load()
<asp:CheckBoxList ID="CheckBoxList1" runat="server"></asp:CheckBoxList>

A:

Well, as I understand the scenario, you want to display list of next seven days in dayOfWeek year-month-day format. Here is one way to do it:
You CheckBoxList should look like this:
<asp:CheckBoxList ID="CheckBoxList1" runat="server" DataTextField="date"   
        DataValueField="Id" /* Other Attributes */>
</asp:CheckBoxList> 

And this should be the method to bind it:
public void BindCheckBoxListWithNextSevenDays()
{
    DateTime today = DateTime.Now;

    DataTable dt = new DataTable();
    dt.Columns.Add("Id", typeof(int));
    dt.Columns.Add("date", typeof(string));

    for(int i = 1; i <= 7; i++)
    {
        dt.Rows.Add(i, today.AddDays(i).ToString("dddd yyyy-MM-dd")); // (dddd yyyy-MM-dd) will return the date in following format (Wednesday 2020/02-05)
    }
    CheckBoxList1.DataSource = dt;  
    CheckBoxList1.DataBind();
}

