Hi,
The code I witten below will selects the reords from 2 different tables(Usually 3 records will be selected).
Where, bs is a BindingSource.
According to the records, BindingNavigatorCountItem must contain 3.
But when I run the program the count is only 1 and all position buttons are disabled.
Please help me....
The code I witten below will selects the reords from 2 different tables(Usually 3 records will be selected).
Where, bs is a BindingSource.
According to the records, BindingNavigatorCountItem must contain 3.
But when I run the program the count is only 1 and all position buttons are disabled.
VB.NET:
Try
stdrs.Open("Select * from " & dpt & " where Sno='" & strno & "'", _
cnn,CursorTypeEnum.adOpenDynamic,LockTypeEnum.adLockOptimistic)
Catch ex As Exception
MsgBox(ex.Message)
End Try
bs.DataSource = stdrs
BindingNavigator1.BindingSource = bs
Please help me....