Home All Groups Group Topic Archive Search About
Author
15 May 2009 5:31 PM
Seema
I have the following coding in  my web form.

var type = (from p in entities.Address select p);
            this.GridView2.DataSource = type;
            this.GridView2.DataBind();

Here in table Address I have one column named "Status" which is foreign Key.
When I selected all the columns and try to bind with GridView it is not
showing that column which is forign key.  What is the reason.

Thanks

Author
18 May 2009 7:49 AM
Alexey Smirnov
On May 15, 7:31 pm, Seema <Se***@discussions.microsoft.com> wrote:
> I have the following coding in  my web form.
>
> var type = (from p in entities.Address select p);
>             this.GridView2.DataSource = type;
>             this.GridView2.DataBind();
>
> Here in table Address I have one column named "Status" which is foreign Key.
> When I selected all the columns and try to bind with GridView it is not
> showing that column which is forign key.  What is the reason.
>
> Thanks

http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/3c87aa3d10ef990e#