locked
How to get the First and Last Selected Date in the Calendar RRS feed

  • Question

  • User-1999980185 posted

    The following code is how I get the Selected First Date and S

    In VB this code will select the first date selected and the last date selected
    
          For Each Day In Calendar1.SelectedDates
    
                Working_day = Day
    
                If Check_Date_Swch = "no" Then
                    Process_First_Date = Working_day
                End If
    
                Check_Date_Swch = "yes"
                ' Now add entry to my DateArray
                DateArray(ArrayNo) = Working_day.ToString
    
                ArrayNo = ArrayNo + 1
    
            Next


    elected Last Date in a Calendar in VB.  How do I get the first and last date selected in C#   

    Tuesday, July 31, 2018 4:18 AM

Answers

  • User-1999980185 posted

    OK, I got it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 31, 2018 10:26 AM