Hai this is gopinath.
In one form i have three tables. in that one table for normal textbox and two
for two datagrid. i able to reterive a value for normal things and for one datagrid. i cant able to shown a value for the second datagrid. i am correctly passing parameters. below i write a codings for the second datagrid value display.please find out the error and tell what problem in this
Private Sub dgvBusinessDetails_CellEnter(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgvBusinessDetails.CellEnter
Dim SNo As Decimal
Dim BusinessSegmentUID As Decimal
Dim gCustomerCode As String = ""
If IsDBNull(Me.dgvBusinessDetails.CurrentRow.Cells("gcolCustomerCode").Value) = False And IsDBNull(Me.dgvBusinessDetails.CurrentRow.Cells("gcolBusinessDetailsSNo").Value) = False And IsDBNull(Me.dgvBusinessDetails.CurrentRow.Cells("gcolBusinessDetailsBusinessSegmentUID").Value) = False Then
SNo = Me.dgvBusinessDetails.CurrentRow.Cells("gcolBusinessDetailsSNo").Value
BusinessSegmentUID = Me.dgvBusinessDetails.CurrentRow.Cells("gcolBusinessDetailsBusinessSegmentUID").Value
gCustomerCode = Me.dgvBusinessDetails.CurrentRow.Cells("gcolCustomerCode").Value
End If
Me.MMS_CLIENT_SEGMENT_COMPETITORTableAdapter.Fill(Me.DsCallEntry.MMS_CLIENT_SEGMENT_COMPETITOR, gCustomerCode, SNo, BusinessSegmentUID)
Me.dgvCompetitor.DataSource = Me.MMS_CLIENT_SEGMENT_COMPETITORBindingSource
End Sub