You must Sign In to post a response.
  • Category: ASP.NET

    Merge cells in grid view

    Hello every one

    is there any way to merge two cells in to one common heading
    i hv to create report card...with columns
    like
    I Term II Term
    obtain Mrks | Total mrks Obtain Mrks | Total mrks

    in Grid vw control how to this ..plz help
  • #366415
    hi,

    check this link

    http://www.codeproject.com/KB/webforms/MergeGridViewCells.aspx

    Regards,
    Phani Harshitha Madala
    My blog:www.phmadala.wordpress.com

    Rate this Response[Excellent/Good/Poor]

  • #366416
    hi,

    u can use a label for that... in that luse the comon heading and bind the column like this


    Select (Total + ' ' + Obtain) as Term 1 from tabname where condition


    and bind the Term1 to that label

    like this u can do for both the mark..

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #366513
    go through the below links

    http://forums.asp.net/p/1053747/1494505.aspx
    http://forums.asp.net/p/1094937/1654757.aspx
    http://www.developerfusion.com/forum/thread/52060/
    http://marss.co.ua/MergingCellsInGridView.aspx

    Thanks!
    Regards,
    Narendra


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.