ASP.NET2.0 IWebPartRow and IWebPartTable

D

Daniel TIZON

Hi,
I'm looking for the difference between these two interfaces when making a
webparts communication.
The answer seems trivial, according the name of the interfaces, but....

On the MSDN Library I found these documents. They all works, but are not
used as they shoud, I think.

IWebPartRow
http://msdn2.microsoft.com/en-us/library/ms156996(en-US,VS.80).aspx
In this example, the WebPart Provider send a collection of DataRows to the
WebPart Consumer. Or I think, it should send only one DataRow.
When I modify this example it can send several rows to the Webpart consumer,
and it works too.

IWebPartTable
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.iwebparttable.aspx
In this sample, the WebPart Provider send a collection of DataRows, but the
DataTable contains only one row...
When I modify the example to send severals rows, it works too.

My question is when shoud I use the IwebPartRow or IWebPartRow interface,
and how to use them, because they seems to work in the same way,
and are all able to send several rows of data.

Daniel
 

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
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top