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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Record on Two Rows in Gridview

  • 25-02-2008 10:23pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 2,793 ✭✭✭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