DataBinding

S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top