Member Avatar

i want to filter contents in a table which is showing only all the informations filter only by month and years only. i need the solution ASAP because my task aint gonna complete just because of this problem. this is my HTML table form :

<asp:HyperLinkColumn Text="Link" Target="_parent" DataNavigateUrlField="CompanyName" DataNavigateUrlFormatString="../DefaultBilling.aspx?id={0}"
                        DataTextField="DbName" HeaderText="Generate Invoice"></asp:HyperLinkColumn>

and this is my coding :

 Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
 If Session("CompanyId") = "8ACB0E-CDD7-4AA3-B379-1BDC1FE5CC5" Then
 End If

        'Put user code to initialize the page here
        Access = Common.CheckAccess(Me, Session("UserId"))

        'WebForm.AddDescription(BillMonth, Common.DropDownShowMonth)

        If Not IsPostBack Then

            'case is send querystring mth

            WebForm.BindListControl(BillMonth, GetType(Common.ParamMonth))

            If Month(Now) = 1 Then
                BillMonth.SelectedValue = 12
                BillYear.Text = Year(Now) - 1

                BillMonth.SelectedValue = Month(Now) - 1
                BillYear.Text = Year(Now)

            End If

        End If


    End Sub
Be a part of the DaniWeb community

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