Part of my code for an Update/Save button in a Binding Navigator is as below :

dsInventory.inv_itemsubcategory.Addinv_itemsubcategoryRow(Trim(CatCodeTextBox1.Text), CatItemDescTextBox1.Text)

When I move my mouse to that line of code, there is a message that says : Overload resolution failed because no accesible 'Addinv_itemsubcategoryRow' accepts this number of arguments.

Why is this and how do I undo the message?

Can you please post the class code?

Thanks I've already corrected the error

Thanks I've already corrected the error

Great...
So please share with others so other member can learn from u if the facing the same problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.