[thelist] ASP.NET: Binding DataRows to a Repeater

Blake haswell00 at gmail.com
Thu Apr 2 14:17:45 CDT 2009


On Fri, Apr 3, 2009 at 5:56 AM, Edward McCarroll <Ed at comsimplicity.com> wrote:
> Blake,
>
> As a .Net programmer, it's great so see an occasional .Net post on
> this list.  But the resource I find most helpful with .Net questions
> is the ASP.Net forums at:  http://forums.asp.net/

Thanks for the response Edward.

I ended up getting around this last night by looping through the rows
and assigning them to a new table which I then bound to the repeater.
Ended up working quite nicely.

        foreach (DataRow dr in
dsGames.Tables["GamePlatform"].Select("GameId = " + strGameId,
"Platform"))
        {
            dsGames.Tables["Platforms"].ImportRow(dr);
        }

Thanks again for the response.

-- 
Blake Haswell
http://www.blakehaswell.com/ | Twitter: @haswell00



More information about the thelist mailing list