error - object reference is not sent to instance of object
i made a form using code , in this form has a one static field nd one edit text field , nd ok , cancel btn, i want to bind this field to usertable @valueo, i using this code for binding,
oEditText = ((SAPbouiCOM.EditText)(oItem.Specific));
// bind the text edit item to the defined used data source
oDBDataSource2 = oForm.DataSources.DBDataSources.Add ("@VALUE0");
oEditText.DataBind.SetBound(true, "", "EditSource");
oEditText1.DataBind.SetBound(true, "@VALUE0", "U_cl");
so that in this code i have facing a error "Object Reference is not to sent of object"
Then Check is EditText1 is referencing any item or not.
Make sure that the table name you gave(@VALUE0) exists in your database and the column name U_cl exists in that table.These are Case Sensitive here in the Quotes