DataContext Menu in C# application causing error

Asked By 10 points N/A Posted on -
qa-featured

It's been a long time i used DataContext Menu to set up a C#. 2010 application, and I’m already getting an error message:

"Error 2 'RpcSupport.Attestations' does not contain a definition for 'Receive_Date' and no extension method 'Receive_Date' accepting a first argument of type 'Rp.Att' could be found (are you missing a using directive or an assembly reference?) C:RPAttes.aspx.cs 94 16 RpSup.

att.dbml using the designer, but it doesn't have the "Receive_Date" column in the extension methods.

Please help me figure out how to fix this.

SHARE
Answered By 0 points N/A #100473

DataContext Menu in C# application causing error

qa-featured

The problem that you are facing is not related to the design interface of the application as far as I know. There must be something wrong in the coding of the file. Try the following.

  1. In the aspx.cs code, look for the receive_date that you are trying to get the value of which does not even exist means that it is getting the null and giving this error or throwing exception at runtime.
  2. This indicates that there is typo. Start looking for the database that has a table or a attribute named the same. If you found such then remove this code of line.  There are also few things that might be calling this one so you should also take care of them too.
  3. Once done, save your project and render it or execute it and see if it still gives error or not.
  4. For the more detailed guide,

Login/Register to Answer

Related Questions