| Author |
RandomAccessRecord
|
|
| jerry chapman 2005-01-29, 8:56 pm |
| I am looking at c# code in "C# for Experienced Programmers", and there is a
line of code:
RandomAccessRecord record = new RandomAccessRecord();
When I try to run it I get error:
C:\Documents and Settings\jerryc\My Documents\My
Files\c#\readAFP\Form1.cs(41): The type or namespace name
'RandomAccessRecord' could not be found (are you missing a using directive
or an assembly reference?)
What is wrong?
| |
|
| Missing a reference and/or the using clausule for the assembly that contains
your RandomAccessRecord. The error message is quit clear, isn't it?
"jerry chapman" <jerryc314@sbcglobal.net> wrote in message
news:omSKd.8931$8Z1.8249@newssvr14.news.prodigy.com...
>I am looking at c# code in "C# for Experienced Programmers", and there is
>a
> line of code:
> RandomAccessRecord record = new RandomAccessRecord();
>
> When I try to run it I get error:
>
> C:\Documents and Settings\jerryc\My Documents\My
> Files\c#\readAFP\Form1.cs(41): The type or namespace name
> 'RandomAccessRecord' could not be found (are you missing a using directive
> or an assembly reference?)
>
>
> What is wrong?
>
>
| |
| jerry chapman 2005-01-29, 8:56 pm |
| My mistake. I found the code for the type.
"jerry chapman" <jerryc314@sbcglobal.net> wrote in message
news:omSKd.8931$8Z1.8249@newssvr14.news.prodigy.com...
> I am looking at c# code in "C# for Experienced Programmers", and there is
a
> line of code:
> RandomAccessRecord record = new RandomAccessRecord();
>
> When I try to run it I get error:
>
> C:\Documents and Settings\jerryc\My Documents\My
> Files\c#\readAFP\Form1.cs(41): The type or namespace name
> 'RandomAccessRecord' could not be found (are you missing a using directive
> or an assembly reference?)
>
>
> What is wrong?
>
>
|
|
|
|