none
GridView : Binding two RSS Feed to two Different GridViews in ASP.NET RRS feed

  • Question

  • I am try to bind two RSS Feed to two Different GridView in ASP.NET. when I am trying to bind it to GridView I get the following error

    A column named 'link' already belongs to this DataTable: cannot set a nested table name to the same name.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.DuplicateNameException: A column named 'link' already belongs to this DataTable: cannot set a nested table name to the same name.

    Source Error:

    Line 65:         {
    Line 66:             DataSet ds = new DataSet();
    Line 67:             ds.ReadXml(RssURL);
    Line 68:             oGV.DataSource = ds.Tables[2];
    Line 69:             oGV.DataBind();
     
    Who can I resolve this issue? Guys do you have any answer?.

    Thanks,
    Muder
    Monday, December 15, 2008 8:05 PM