Just for addition info i am not just reading your posts (i dont ignore your hints)i try to use them in my code if i can but i am not superp in english as i think you see in more of my posts so i somethimes have trouble knowing what evry word means and i am gratful your trying to help me but there were differnt errors on the post i posted before but i whont open a new post ont this bit of code anymore just hope you whanne help me with this new error on the same code
Hey i think i got 1 step farther becase now i get an differnt error and if i leave the txt OfferteArray in the code he will still runn the application but i get an error later on in a method
Dont now if you still whanne try to help but i need to try i cant do it myself XD
the error message i get now is
No overload for method 'GetOfferteGegevens' takes '1' arguments
And yes i first lookd on the internet for solutions but cudent find any useful 1
Weird thing is that the error message is differtn from the code error becase the bleu line is under dbConn
here is the code hope somone is interested enouf to try to help
- #region Invullen van de tekstvelden uit Database
-
public void Vullen_tekstvelden(string[] OfferteArray, bool nieuw)
-
{
-
localhost1.dbConnection dbConn = new localhost1.dbConnection();
-
OfferteArray = dbConn.GetOfferteGegevens(txtNoteID.Text);
-
txtNoteID.Text = OfferteArray[0];
-
txtBTW.Text = "25";
-
txtOfferteNr.Text = OfferteArray[1];
-
txtDatum.Text = Functions.DateToNL(OfferteArray[2]);
-
txtDebNr.Text = OfferteArray[3];
-
txtKlantNaam.Text = OfferteArray[4];
-
txtContactpersoon.Text = OfferteArray[5];
-
txtOmschrijving.Text = OfferteArray[6];
-
txtOrderNr.Text = OfferteArray[7];
error is rule number 5 i think on the dbConn.GetOfferteGegevens lap of code