Author: polynaux | Posted on: 9/27/2008 2:26:49 AM | Views : 815

Data.DataView, ObjectDataSource and a TextBox

Hi Guys,

I am trying to bind my objectdatasource.select() result (one single row with two columns "eis" "mer"
to a textbox.


        'Dim dv As Data.DataView = ObjectDataSourceGetAte.Select()
        'TextBoxeis.Text = dv("eis").ToString()



        Dim dv1 As New System.Data.DataView
        dv1 = ObjectDataSourceGetAte.Select()
        TextBoxmer.Text = dv1("mer").ToString()


But I am struggling with this eror:

 Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the ...

Go to the complete details ...