i dont know why i am getting this error even though i added the reference help me pls

i dont know why i am getting this error even though i added the reference help me pls

Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajkiran SwainPosted Apr 26, 2023, 11:52 AM
An "assembly reference error" usually occurs when the compiler or runtime cannot find a specific assembly or type that is required to build or run your code. In this case, the error message suggests that there is a missing definition for the method
insertMarchentin thebankDALassembly.To fix this error, you should first make sure that the
bankDALassembly is correctly referenced in your project. This means checking that the correct version of the assembly is included in the project references and that theusingstatement is properly specified in your code.If the assembly reference is correct, then you should check if the method
insertMarchentis actually defined in thebankDALassembly. It's possible that the method name is misspelled or that the method was not implemented in the assembly.If the method is missing, you will need to add it to the
bankDALassembly, either by writing the implementation code yourself or by using a pre-built library that provides the method. Once the method is defined, you should rebuild your project and try running the code again.