hi all
iam having an application that gets a dataset producses a dataview from it and then
populates a group of text boxes with its values based on date filter choosen by user from date drop down list
the problem iam having is an argument exception happens when i try binding data to the text box
here is the initialization
Private fluidBalanceDataSet As New DataSet Private fluidBalanceView As New DataViewfluidBalanceDataSet = manager.getFluidBalance(NewSessionForm.currentPatient.getHospitalNumber())
fluidBalanceView.Table = fluidBalanceDataSet.Tables(0)
fluidBalanceView.RowFilter = "dateRead = ' " &
CType(dateComboBox.SelectedItem, String) & "'"and here is where the exception happens
![]()
Dim
b As New Binding("Text", fluidBalanceView, "FluidBalance.ivStarted")volumeStartedBox.DataBindings.Add(b)
i tried putting it in the same sentence but it gave the same exception
volumeStartedBox.DataBindings.Add(New Binding("Text", fluidBalanceView, "FluidBalance.ivStarted"))
this is driving me nuts ![]()
please help me before i commit suicide
with thanx to all of you

argument exception
Ruma Pal
You can use filter, you just can't use dots in data binding specification in NETCF V1. Please remove the dot as I suggested and it should work.
Alex Maines
Dim b As New Binding("Text", fluidBalanceView, "FluidBalance.ivStarted")
____________________________________________________^
NETCF V1 does not support dots here, only first level is supported.
NETCF V2 supports that, but even in this case it appears to be incorrect as you already binding to FluidBalance table view. It would make sense should you use DataSet as data source, not data view.
Assuming 'ivStarted' is a column, this one should work:
Dim b As New Binding("Text", fluidBalanceView, "ivStarted")
dkfitzgerald
thanx alot ilya
the problem here that i need to use the date filter is there any way to implement it using dataset
thanks again