Search results for query: *

  1. P

    Table Allocation

    As my deadline draws close I'm praying someone who knows more about VB.NET reads this. I need to allocate tables to guests at a function. Each guest may bring additional guests which are specified on a registration form. I then need to allocate 10 people to a table and there are 50 tables. I've...
  2. P

    Mathematical Operations and Allocation

    I dont have it in a datatable its in an arraylist which is the datasource for a dataview.
  3. P

    Mathematical Operations and Allocation

    As i can now complete most of my program i just have a few issues i dont know how to do. One thing i need to do is display the total amount donated. Each record specifies the amount that person is donating so what is the best way to perform this calculation without using a very very large number...
  4. P

    Datatables

    Its kind of late here so I need to get some sleep before work, but I'll check this page when i get up tmrw. Incase someone else stumbles across this post I've attached my code below. Public Class Person Private _firstname As String Private _lastname As String Private _address As String...
  5. P

    Datatables

    Yeh it works except it displays the columns in the wrong order, im trying to follow the microsoft code to find a way to force the column order Ok I've looked through the code and i have no idea how to make them display in the order theyre declared. Is there any info I can provide or look at...
  6. P

    Datatables

    I'm confused why wouldnt it work? Seems to run fine on my end shows the data perfectly. I'm currently adding the rest of the array to make sure it all checks out but i think it works Ok i ran it with all my data, it displays correctly except the columns are in the wrong order. Is there a way...
  7. P

    Datatables

    Its ok i fixed it, so now onto my last question for you all hopefully you can suggest the best method to do this. So all my data is stored in a sequential file which is fine ive got writing and reading working perfectly. Now i need functionality to edit and delete records. Whats the best way to...
  8. P

    Datatables

    Ok ive almost got it to work only problem is it only does it for the first record can you point out the error in my code Private Sub test5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles test5.Click Dim sr As IO.StreamReader Dim tmpPerson As Person If...
  9. P

    Datatables

    Thanks for that, i followed what was going on until the second section where tmpperson as new person comes up with declaration expected. Did i put something in the wrong place or do i need to add something else. Sorry if i sound like an idiot im very new to this
  10. P

    Converting Data to an Array and Displaying It

    i managed to get the dataview working using that code you gave me after i fixed my array. In the code it makes minor mention of setting column names but im still not sure how to do it. If you could help me with this it would be great. Also theres no way to make a 2 dimensional array resize...
  11. P

    Datatables

    Having looked at multidimensional arrays with some degree of confusion I was told a datatable might work better for me. I need to read strings of data from a text file which has 9 elements which are comma delimited. How do i use a datatable with this and then how do i display this. Any help is...
  12. P

    Yet another question regarding arrays

    Your all probably sick of seeing my posts by now but can someone tell me why this doesnt work. When i do a break the test has the correct value for the first record in the text file which should meet the criteria but it doesnt put it into rsvp. Also im not sure if its actually reading all the...
  13. P

    Converting Data to an Array and Displaying It

    ok i did what u said to open it and add it to my project, but i still get ArrayDataView is not defined when i add that code in my form. So can u run be through step by step how to do it incase im screwing it up
  14. P

    Converting Data to an Array and Displaying It

    While that page would be very useful if i was doing Visual C#, i am only allowed to use Visual Basic.NET 2003 for this task so is there anyway to do it in VB?
  15. P

    Edit Menu Functionality

    You guys seem to know pretty much everything so now i have another question. In my program i have drop down menus just like any other program. One menu is an edit menu with the usual functions. I was wondering how do i get commands like copy, cut, paste and delete to work like in word or...
  16. P

    Converting Data to an Array and Displaying It

    You guys are the best. I got that bit working now i just dont know how to put the result of my query (stored in a two dimensional array) into an object on the form where all data in the array can be seen. Im sure with a loop and using variables i could do it but is there an easier way?
  17. P

    Converting Data to an Array and Displaying It

    Hi, I'm doing an assignment as some of you would have read in my previous post. I now have my data writing to my file fine and reading from it into a text box (used only to confirm its being read). All the data is saved using comma delimited format so i attempted to turn the read data into a one...
  18. P

    Help with arrays and sequential files

    Hey, thanks for the reply. I already know how to read and write the files its more how to search and display the results that im having trouble with. I tried to do a bit of code for returning results of those who rsvp'd. I stored it into a multidimensional array or at least tried but im not sure...
  19. P

    Help with arrays and sequential files

    Hi, I'm currently doing an assignment for a class in VB.NET and I need some help. We have been asked to create a fairly simple event management program which stores the information entered into sequential files. We must then read the sequential file and run a series of queries such as guests who...
Back
Top