help me solve this error
-
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 :(
-
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 :(
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 )
-
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 )
-
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 )
-
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 )
-
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 :(
hwyr 554 54t5 545y y 45
Anuj Kumar y54y545