I did not create it my self it whas bild in 2002 and now i am eddeting it becase there were some errors that made sure the application dident work anymore so now i need to get it to work i converted it from VS 7 to 2005 and that alrydi cuased a lot of erros but the most of them are solved now i only need this last page to work than its done but this last page is to tricky for me in the page i get 3 errors 1 with an Array and 2 with Queries here is the code for the array becase i have 2 document with the same name and i dont now wich one is can best use see the beginning of the code and i hope you know wich 1 i can best use
- public partial class Offerte_nieuw : System.Web.UI.Page
-
{
-
#region Controlls
-
protected System.Web.UI.WebControls.ImageButton ImageButton1;
-
#endregion
-
public bool nieuw;
-
-
#region Invullen van de tekstvelden uit Database
-
private void Vullen_tekstvelden(string[] OfferteArray, bool nieuw)
-
{
-
txtNoteID.Text = OfferteArray[0];
-
txtBTW.Text = "19";
-
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];
-
#region Nieuwe Offerte
-
if (nieuw == true)
Here is get an error on the Array and i thought that maybe the insancies werent created so the otther document is this
And here is the other page with all the same code axcept what you see in the beggining and i whas wondering whats the ebst to use becase with this page i get error about EventArgs and more
If i am wright they just whanne load some values from the database to the Array and in to an txtbox when i look at that bit off code i dont see an error aldo i know that my Array = NULL
is it posible to load a value from a database into an array and from that array into a txtbox if i know how that works i maybe able to solve it but i cant even find a way on internet that thous that