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
  1. Home
  2. General Programming
  3. C#
  4. hi need help plzzzzzzzzz

hi need help plzzzzzzzzz

Scheduled Pinned Locked Moved C#
helpcsharpcssdatabase
17 Posts 13 Posters 1 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.
  • P Pete OHanlon

    ace300 wrote:

    hello
    i need help i am working on database and i have connected it to the c# i need small problem i have created a serach button but i dont want to show the result on data grid view if u can help plz give me the answer and the code

    I'm sorry, I don't have a clue what you're on about. You have a search button and you don't want to show the results on a data grid view. Well, don't write any code to bind the data to the data grid. Job done.

    I'm not a stalker, I just know things. Oh by the way, you're out of milk.

    Forgive your enemies - it messes with their heads

    My blog | My articles | MoXAML PowerToys | Onyx

    A Offline
    A Offline
    ace300
    wrote on last edited by
    #5

    Problem is datagrid view he can not display the images and I need another tool to help me in any work when he hit the search button shows me the name of the worker that searching for him and his image and the national number or if u have a sloution for this problem in data grid view tell me and ty again

    D P 2 Replies Last reply
    0
    • A ace300

      Problem is datagrid view he can not display the images and I need another tool to help me in any work when he hit the search button shows me the name of the worker that searching for him and his image and the national number or if u have a sloution for this problem in data grid view tell me and ty again

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #6

      We still don't have a frickin' clue what you're talking about. Perhaps you need to find someone with better skills in Communication and English to pass on your problem?

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      1 Reply Last reply
      0
      • A ace300

        hello i need help i am working on database and i have connected it to the c# i need small problem i have created a serach button but i dont want to show the result on data grid view if u can help plz give me the answer and the code ty

        G Offline
        G Offline
        gavindon
        wrote on last edited by
        #7

        can't believe I'm about to use these words but... Google. Search feature on CP.. there are a number of options you can take besides "gimme code" for a unclear problem. a little advice from a newbie that I've learned #1 break your problem down into bits. not one huge line of garbled question about a project we have no clue what you are doing.. Break it down into individual parts. #2 figure out how to do each part separately. #3 if at that point you still do not know how to make a specific part work.. Show some of your attempts,, Explain what you have tried, what errors you get,,, and for crying out loud state your problem CLEARLY and CONCISELY. Then the real programmers haunting these boards will be more than happy to help you a little bit. What they are NOT happy doing is doing the entire freakin project for you. Especially when nobody but you is even sure what the project is.

        Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.

        K 1 Reply Last reply
        0
        • G gavindon

          can't believe I'm about to use these words but... Google. Search feature on CP.. there are a number of options you can take besides "gimme code" for a unclear problem. a little advice from a newbie that I've learned #1 break your problem down into bits. not one huge line of garbled question about a project we have no clue what you are doing.. Break it down into individual parts. #2 figure out how to do each part separately. #3 if at that point you still do not know how to make a specific part work.. Show some of your attempts,, Explain what you have tried, what errors you get,,, and for crying out loud state your problem CLEARLY and CONCISELY. Then the real programmers haunting these boards will be more than happy to help you a little bit. What they are NOT happy doing is doing the entire freakin project for you. Especially when nobody but you is even sure what the project is.

          Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.

          K Offline
          K Offline
          Klaus Werner Konrad
          wrote on last edited by
          #8

          Nobody understands me - PLEASE, do my homework for me ...

          1 Reply Last reply
          0
          • A ace300

            hello i need help i am working on database and i have connected it to the c# i need small problem i have created a serach button but i dont want to show the result on data grid view if u can help plz give me the answer and the code ty

            A Offline
            A Offline
            ankitjoshi24
            wrote on last edited by
            #9

            It would be better if you tell us what is kind of a database it is and if you don't want to show it on data grid view, then where do you want it to be displayed?

            T 1 Reply Last reply
            0
            • L Luc Pattyn

              this is all you need to not show the data:

              public void button1_Click(object sender, EventArgs e) {
              MessageBox.Show("Nothing to see here, moving on");
              }

              :)

              Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

              Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

              P Offline
              P Offline
              Paladin2000
              wrote on last edited by
              #10

              public void button1_Click(object sender, EventArgs e)
              {
              MessageBox.Show("These aren't the records you're looking for.");
              MessageBox.Show("You can go about your business.");
              MessageBox.Show("Move along... Move along.");
              }

              1 Reply Last reply
              0
              • A ace300

                Problem is datagrid view he can not display the images and I need another tool to help me in any work when he hit the search button shows me the name of the worker that searching for him and his image and the national number or if u have a sloution for this problem in data grid view tell me and ty again

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #11

                I'm sorry. I've tried, but I simply don't understand what you're asking. Could you possibly get somebody else to translate this for you? I'm not trying to be funny here because your grasp of English is undoubtedly better than my grasp of your native tongue, but you still need some clarification.

                I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Onyx

                S 1 Reply Last reply
                0
                • P Pete OHanlon

                  I'm sorry. I've tried, but I simply don't understand what you're asking. Could you possibly get somebody else to translate this for you? I'm not trying to be funny here because your grasp of English is undoubtedly better than my grasp of your native tongue, but you still need some clarification.

                  I'm not a stalker, I just know things. Oh by the way, you're out of milk.

                  Forgive your enemies - it messes with their heads

                  My blog | My articles | MoXAML PowerToys | Onyx

                  S Offline
                  S Offline
                  SledgeHammer01
                  wrote on last edited by
                  #12

                  Aren't you going to compensate him for all the univotes he got on that question? :D.

                  L 1 Reply Last reply
                  0
                  • S SledgeHammer01

                    Aren't you going to compensate him for all the univotes he got on that question? :D.

                    L Offline
                    L Offline
                    Luc Pattyn
                    wrote on last edited by
                    #13

                    I'm afraid even a Jedi wouldn't have the force to do that. :)

                    Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

                    Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

                    1 Reply Last reply
                    0
                    • A ankitjoshi24

                      It would be better if you tell us what is kind of a database it is and if you don't want to show it on data grid view, then where do you want it to be displayed?

                      T Offline
                      T Offline
                      Thomas Krojer
                      wrote on last edited by
                      #14

                      first, the question is not well formed (ok, my english too) second, what i read and understand: he dont like to use the datagridview "because it cannot display images". i understand from this, that he found some piece of code in the internet, used it, but the sample uses a datagridview and databinding. and now he would like to change the sample program to search for a value, and fetch the values from the db to controls on the form, and he has absolutly no clue where to start (if this is homework, the question arise: why does he not know where to start? not listening? no teaching?). beside the fact, that a datagridview definitly can be abused and [B][U]can[/U][/B] display ownerdrawn cells (=everthing is possible, images too), he can react on the click event of the datagrid and display the image in an additional control on his form. all this assuming w´re talking about a windows form app. wpf would open other possibilities.

                      I cannot remember: What did I before google?

                      A 1 Reply Last reply
                      0
                      • T Thomas Krojer

                        first, the question is not well formed (ok, my english too) second, what i read and understand: he dont like to use the datagridview "because it cannot display images". i understand from this, that he found some piece of code in the internet, used it, but the sample uses a datagridview and databinding. and now he would like to change the sample program to search for a value, and fetch the values from the db to controls on the form, and he has absolutly no clue where to start (if this is homework, the question arise: why does he not know where to start? not listening? no teaching?). beside the fact, that a datagridview definitly can be abused and [B][U]can[/U][/B] display ownerdrawn cells (=everthing is possible, images too), he can react on the click event of the datagrid and display the image in an additional control on his form. all this assuming w´re talking about a windows form app. wpf would open other possibilities.

                        I cannot remember: What did I before google?

                        A Offline
                        A Offline
                        ankitjoshi24
                        wrote on last edited by
                        #15

                        I second your thoughts Thomas. He does not even seem to be interested in replying our feeds.

                        1 Reply Last reply
                        0
                        • A ace300

                          hello i need help i am working on database and i have connected it to the c# i need small problem i have created a serach button but i dont want to show the result on data grid view if u can help plz give me the answer and the code ty

                          G Offline
                          G Offline
                          Ganesh Kumar Kaki
                          wrote on last edited by
                          #16

                          Hi, For your need follow these steps. 1.create a connection with your database 2.create an sql command to fetch the values from your database 3.next, fill the values in a datatable 4.and then bind those values to your grid

                          1 Reply Last reply
                          0
                          • A ace300

                            hello i need help i am working on database and i have connected it to the c# i need small problem i have created a serach button but i dont want to show the result on data grid view if u can help plz give me the answer and the code ty

                            R Offline
                            R Offline
                            Ravi Sant
                            wrote on last edited by
                            #17

                            Google is your friend :)

                            ♫ 99 little bugs in the code, 99 bugs in the code We fix a bug, compile it again 101 little bugs in the code ♫

                            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