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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to print the tow rows from the datagrid in a single line.....while printing

how to print the tow rows from the datagrid in a single line.....while printing

Scheduled Pinned Locked Moved C#
tutorial
7 Posts 4 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cse vidhya
    wrote on last edited by
    #1

    hi have to print my datagrid values like this........ Printed out should be like Pepsi 500ml £1.09 coke 500ml £1.09 Fanta 500ml £1.09 Sprite 500ml .99p but i am getting print out like...... Pepsi 500ml £1.09 coke 500ml £1.09 Fanta 500ml £1.09 Sprite 500ml .99p

    C 1 Reply Last reply
    0
    • C cse vidhya

      hi have to print my datagrid values like this........ Printed out should be like Pepsi 500ml £1.09 coke 500ml £1.09 Fanta 500ml £1.09 Sprite 500ml .99p but i am getting print out like...... Pepsi 500ml £1.09 coke 500ml £1.09 Fanta 500ml £1.09 Sprite 500ml .99p

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Wow - I answer your question, so you repost it ? Why didn't you respond to my answer ? It's clear to me from the code you posted that you're getting by copying and pasting code you find on the internet and do not understand. If you remotely understood the code you posted, this change would be trivial for you. Either way, I explained how to do it. If you don't understand something when it's explained to you, ask on the same thread. Don't repost, it makes you look rude, and it also leaves us with the feeling that you're looking for a complete cut and paste solution because you're too lazy to learn how to do it yourself. I can write this code for you, but I prefer to encourage people to learn for themselves. That tends to help people who want to be programmers, and cut out people who just want to take on work and get us to do it for them.

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      C 1 Reply Last reply
      0
      • C Christian Graus

        Wow - I answer your question, so you repost it ? Why didn't you respond to my answer ? It's clear to me from the code you posted that you're getting by copying and pasting code you find on the internet and do not understand. If you remotely understood the code you posted, this change would be trivial for you. Either way, I explained how to do it. If you don't understand something when it's explained to you, ask on the same thread. Don't repost, it makes you look rude, and it also leaves us with the feeling that you're looking for a complete cut and paste solution because you're too lazy to learn how to do it yourself. I can write this code for you, but I prefer to encourage people to learn for themselves. That tends to help people who want to be programmers, and cut out people who just want to take on work and get us to do it for them.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        C Offline
        C Offline
        cse vidhya
        wrote on last edited by
        #3

        sorry one of my frind posted it again...

        C A 2 Replies Last reply
        0
        • C cse vidhya

          sorry one of my frind posted it again...

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          You have two people sharing an account, and trying between you to work out how to print items in two columns ?

          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

          C E 2 Replies Last reply
          0
          • C Christian Graus

            You have two people sharing an account, and trying between you to work out how to print items in two columns ?

            Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

            C Offline
            C Offline
            cse vidhya
            wrote on last edited by
            #5

            now i got some idea from u thank u very much

            1 Reply Last reply
            0
            • C cse vidhya

              sorry one of my frind posted it again...

              A Offline
              A Offline
              Arindam Tewary
              wrote on last edited by
              #6

              cse.vidhya wrote:

              sorry one of my frind posted it again...

              Really shocking !!! :mad::confused::mad::mad:

              Thanks, Arindam D Tewary

              1 Reply Last reply
              0
              • C Christian Graus

                You have two people sharing an account, and trying between you to work out how to print items in two columns ?

                Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                E Offline
                E Offline
                Eytukan
                wrote on last edited by
                #7

                >>Sorry my friend posted it again. Who is your friend? cse.vidiya>>It's another bot.


                OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus Best wishes to Rexx[^]

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

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