PC Review


Reply
 
 
Seema
Guest
Posts: n/a
 
      15th May 2009
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Databinding expressions are only supported on objects that have a DataBinding event jobs Microsoft ASP .NET 0 26th Sep 2007 12:54 AM
Gridview encoding, or how to run commands before gridview's default databinding, or, how do I disable default databinding at all? Sergei Shelukhin Microsoft ASP .NET 1 12th Nov 2006 02:43 PM
Databinding Bible (REPOST FROM m.p.d.f.WindowsForms.Databinding) a Microsoft ADO .NET 1 16th Jul 2004 03:26 AM
Re: Databinding Hotfix Sezman Microsoft Outlook 0 7th Aug 2003 02:24 PM
Re: Databinding Hotfix DL Microsoft Outlook 0 6th Aug 2003 05:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:05 PM.