Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sharmila rao

@sharmila rao
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Merge a particular column in gridview using asp.net ?
    S sharmila rao

    :-D I got it done myself. It is working fine now.

    Thanks, Sharmi

    ASP.NET csharp asp-net algorithms tutorial question

  • How to Merge a particular column in gridview using asp.net ?
    S sharmila rao

    Friends, Please help me with this as soon as possible. By monday i need to show a demo to my Manager. Kinldy do the needful

    Thanks, Sharmi

    ASP.NET csharp asp-net algorithms tutorial question

  • How to Merge a particular column in gridview using asp.net ?
    S sharmila rao

    Hi , I already saw that link, It is merging all columns right. I need to merge just for 1 column. I dint get it properly,the code. If possible could u pls explain each line.

    :confused:

    Thanks, Sharmi

    ASP.NET csharp asp-net algorithms tutorial question

  • How to Merge a particular column in gridview using asp.net ?
    S sharmila rao

    Sorry Let me clearly ask the question again. I am binding the data from stored procedure. I must not touch the SP now. I just need to write a code in rowbound function for merging. I find only the below code in all blogs. It is merging rows of all columns in grid, i need it for only 1 column. for (int rowIndex = REGrid.Rows.Count - 2; rowIndex >= 0; rowIndex--) { GridViewRow gvRow = REGrid.Rows[rowIndex]; GridViewRow gvPreviousRow = REGrid.Rows[rowIndex + 1]; for (int cellCount = 0; cellCount < gvRow.Cells.Count; cellCount++) { if (gvRow.Cells[cellCount].Text == gvPreviousRow.Cells[cellCount].Text) { if (gvPreviousRow.Cells[cellCount].RowSpan < 2) { gvRow.Cells[cellCount].RowSpan = 2; } else { gvRow.Cells[cellCount].RowSpan = gvPreviousRow.Cells[cellCount].RowSpan + 1; } gvPreviousRow.Cells[cellCount].Visible = false; } } } This is the code. Could you please help me in this, how to re frame this loop for just 1 column. Lets assume for the first column in grid. thanks in advance

    Thanks, Sharmi

    ASP.NET csharp asp-net algorithms tutorial question

  • How to Merge a particular column in gridview using asp.net ?
    S sharmila rao

    Please somebody post reply to this. I am a new developer, and am searching for merging rows of particular column alone.

    Thanks, Sharmi

    ASP.NET csharp asp-net algorithms tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups