79825376

Date: 2025-11-20 10:22:31
Score: 2
Natty:
Report link

I am facing similar issue that repeater isn't refreshing data coming in the datatable but still not binding to the repeater

    Public Sub FillRepeater()
        Try
            Dim _dt As New DataTable
            Dim Fdate As Date = Nothing
            Dim ToDate As Date = Nothing
            Dim sucode = ""
          
            Dim stcode = ""
            Dim _filter As String = ""
                _dt = New PharmacyStoreBLL().TDR_MapSupplierList1(Fdate, ToDate, hidTendor.Value, hidItem.Value, Session("HoCode"))

            If _dt.Rows.Count > 0 Then
                rptSupplier.DataSource = _dt
                rptSupplier.DataBind()
            Else
                rptSupplier.DataSource = Nothing
                rptSupplier.DataBind()
            End If


        Catch ex As Exception
            Dim _genFun As New GenFunction
            _genFun.AddToLogFile("Method : " & System.Reflection.MethodBase.GetCurrentMethod().Name & " , Exception: " & ex.Message & " Exception Path : " & HttpContext.Current.Request.RawUrl, ex)
        End Try
    End Sub
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing similar issue
  • Low reputation (1):
Posted by: Unnikrishnan