Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DataBinding with Gridview

0 views
Skip to first unread message

Seema

unread,
May 15, 2009, 1:31:03 PM5/15/09
to
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

Alexey Smirnov

unread,
May 18, 2009, 3:49:06 AM5/18/09
to
0 new messages