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. help me solve this error

help me solve this error

Scheduled Pinned Locked Moved C#
helpcsharpdatabasetutoriallearning
6 Posts 3 Posters 0 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.
  • F Offline
    F Offline
    fofoth
    wrote on last edited by
    #1

    i refer to this book-'visual c# 2005 how to program'(pearson international edition) //the program to loads data for the rows with the specified last name into the addressbookDataSet.Address table private void findButton_Click(object sender, EventArgs e) { //fill the DataSet's DataTable with only rows containing the user-specified last name addressTableAdapter.FillByLastName(addressBookDataSet.Address, findTextBox.Text); } but when i implement this coding to my program error happens: private void enterButton_Click(object sender, EventArgs e) { this.rEGISTERTableAdapter.FillByRFID(this.rFIDdbDataSet.REGISTER, this.rfidTextBox.Text); } it said:-Error-1 No overload for method 'FillByRFID' takes '2' arguments I've already added query to the table adapter using the instruction in the book,i really don't understand why this error happens :(

    C A 2 Replies Last reply
    0
    • F fofoth

      i refer to this book-'visual c# 2005 how to program'(pearson international edition) //the program to loads data for the rows with the specified last name into the addressbookDataSet.Address table private void findButton_Click(object sender, EventArgs e) { //fill the DataSet's DataTable with only rows containing the user-specified last name addressTableAdapter.FillByLastName(addressBookDataSet.Address, findTextBox.Text); } but when i implement this coding to my program error happens: private void enterButton_Click(object sender, EventArgs e) { this.rEGISTERTableAdapter.FillByRFID(this.rFIDdbDataSet.REGISTER, this.rfidTextBox.Text); } it said:-Error-1 No overload for method 'FillByRFID' takes '2' arguments I've already added query to the table adapter using the instruction in the book,i really don't understand why this error happens :(

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

      Intellisense will tell you how many arguments it should be expecting. What does it say ?

      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 )

      F 1 Reply Last reply
      0
      • C Christian Graus

        Intellisense will tell you how many arguments it should be expecting. What does it say ?

        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 )

        F Offline
        F Offline
        fofoth
        wrote on last edited by
        #3

        how to use the intellisense?

        C 1 Reply Last reply
        0
        • F fofoth

          how to use the intellisense?

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

          It just happens. Hit the comma and it will pop up and show you the method signature. Even when you type the opening brackets, it should appear. You can also right click and choose 'go to definition'

          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 )

          F 1 Reply Last reply
          0
          • C Christian Graus

            It just happens. Hit the comma and it will pop up and show you the method signature. Even when you type the opening brackets, it should appear. You can also right click and choose 'go to definition'

            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 )

            F Offline
            F Offline
            fofoth
            wrote on last edited by
            #5

            this appear when i hit the comma ->int REGISTERTableAdapter.FillByR(RFIDdbDataSet.REGISTERDataTable dataTable)

            1 Reply Last reply
            0
            • F fofoth

              i refer to this book-'visual c# 2005 how to program'(pearson international edition) //the program to loads data for the rows with the specified last name into the addressbookDataSet.Address table private void findButton_Click(object sender, EventArgs e) { //fill the DataSet's DataTable with only rows containing the user-specified last name addressTableAdapter.FillByLastName(addressBookDataSet.Address, findTextBox.Text); } but when i implement this coding to my program error happens: private void enterButton_Click(object sender, EventArgs e) { this.rEGISTERTableAdapter.FillByRFID(this.rFIDdbDataSet.REGISTER, this.rfidTextBox.Text); } it said:-Error-1 No overload for method 'FillByRFID' takes '2' arguments I've already added query to the table adapter using the instruction in the book,i really don't understand why this error happens :(

              A Offline
              A Offline
              anujarya_2001
              wrote on last edited by
              #6

              hwyr 554 54t5 545y y 45

              Anuj Kumar y54y545

              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