Avatar of praveen1981
praveen1981
Flag for India asked on

Merging Columns

I want to merge all the column in a row except the first column
Microsoft Development.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
praveen1981

8/22/2022 - Mon
Nasir Razzaq

Good.











































Hope that helps. If it does not, then give more details such as whether you are talking about datagridview, gridview, Excel, etc.
Andrei Fomitchev

       Dim dreader As System.Data.OleDb.OleDbDataReader
        Dim s As String = ""
        For k = 2 To dreader.FieldCount
            s &= dreader(k).ToString()
        Next k
ASKER CERTIFIED SOLUTION
Nasir Razzaq

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
praveen1981

ASKER
Actually i am fecthing 7 rows of a single column from the database  and  pivoting all the rows in to columns in the datatable in Business logic.  so the above solution doesn't works out for me.

can you please suggest any more..
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
praveen1981

ASKER
it solved partially