Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Record on Two Rows in Gridview

Options
  • 25-02-2008 11:23pm
    #1
    Registered Users Posts: 325 ✭✭


    Hi

    I'm using MySQL, VS2005 and C#

    I have a gridview that displays a number of records.

    I was wondering is it possible for me to be able to display these records over two lines?

    Example: At the momoent it goes

    Price, Location, Management, Kitchen

    2 3 1 5


    I want it to show

    Price, Location

    2 3


    And when they hit the Select button it shows

    Price, Location

    2 3
    Management, Kitchen

    1 5



    Is this possible and if so could someone possible show me how?


Comments

  • Registered Users Posts: 2,931 ✭✭✭Ginger


    You can do this using an ASP Repeater control. Its a bit trickier but it will do what you need


  • Registered Users Posts: 2,790 ✭✭✭John_Mc


    Ginger wrote: »
    You can do this using an ASP Repeater control. Its a bit trickier but it will do what you need

    Would a templatefield not be easier?


Advertisement