Bind a DataGridView column to a 2nd property of a data source

Posted by Sabarimahesh under C# on 3/22/2012 | Points: 10 | Views : 4152 | Status : [Member] | Replies : 10
My Friend asked in linked in

Anybody
Help Me ..

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M



Responses

Posted by: Rajni.Shekhar on: 3/22/2012 [Member] Bronze | Points: 25

Up
0
Down
sorry, not getting your question, could you please provide some details.....

Thanks,
Rajni Shekhar

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/22/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

what is your question explain properly

R D Patel

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/22/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

for Datasource details visit this link

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.basedatalist.datasource.aspx

R D Patel

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/22/2012 [Member] Silver | Points: 25

Up
0
Down
Not getting your question

Thanks,
Sanjay

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 3/22/2012 [Member] Silver | Points: 25

Up
0
Down
If you mean to bind the 2nd table of dataset to gridview
then use:
GridView1.DataSource=ds.Tabales[1];

Thanks,
Sanjay

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
To All

My Linked.in Friend Asked This Question

So I posted the question and inform with you clearly

Sorry......

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
Please ask them about second property of datasource, data source may be dataset or datatable, so it depends on what data source they are talking about.


Thanks,
Rajni Shekhar

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
Even there are two main methods of a data source : AcceptChanges() and GetChanges()
and so many properties of a datasource......

Thanks,
Rajni Shekhar

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
may be this blog will help you, here defined "How to bind a DataGridView column to a second-level property of a data source "

http://blogs.msdn.com/b/msdnts/archive/2007/01/19/how-to-bind-a-datagridview-column-to-a-second-level-property-of-a-data-source.aspx


Thanks,
Rajni Shekhar

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/23/2012 [Member] Bronze | Points: 25

Up
0
Down
Rajni.Shekhar
YA
SURE... I WILL ASK AND UPDATE

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response