Exforsys
+ Reply to Thread
Results 1 to 2 of 2

using datagrid inside repeater

This is a discussion on using datagrid inside repeater within the C Sharp forums, part of the Programming Talk category; after databinding repeater to the datasource, i want to databind the datagrid (which is inside the repeater) to the same ...

  1. #1
    shy001 Guest

    using datagrid inside repeater

    after databinding repeater to the datasource, i want to databind the datagrid (which is inside the repeater) to the same data source but a different stored procedure. Any suggestions?

    thanx


  2. #2
    techvinny is offline Moderator Array
    Join Date
    Dec 2010
    Answers
    56
    pretty old post...but I thought the answer might be helpful to others who are looking out for an answer to this...

    Once your repeater has been data binded to a datasource...you should be binding the datagrid within the ItemDataBound event of the repeater.
    Before binding the datagrid, you may have to lookout for the datagrid using FindControl("datagridId") and then bind the datagrid to the datasource as per your reqt...

    HTH!!!

    Cheers.


Latest Article

Network Security Risk Assessment and Measurement

Read More...