Search:

Type: Posts; User: jdbaba

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    999

    Re: Add two arrays to datagrid view

    Thanks so much for your time and help. I was able to figure that out.
  2. Replies
    4
    Views
    999

    Re: Add two arrays to datagrid view

    Thanks. I figured it out.


    DataGridView1.ColumnCount = 2
    For i = 0 To jdxDat.Length - 1
    DataGridView1.Rows.Add(jdxDat(i), jdyDat(i))
    Next
    ...
  3. Replies
    4
    Views
    999

    [RESOLVED] Add two arrays to datagrid view

    I have two arrays xdat and ydat and I want to display them into datagridview.

    I tried to use
    DataGridView1.Rows.Add(jdxDat, jdyDat)
    but I got the error "No row can be added to a Data grid...
  4. Re: Reading csv data and storing it to array

    Techgnome,

    Thank you so much. It works great.
  5. Re: Reading csv data and storing it to array

    The problem here is not with reading the data into datagridview1.

    But I want to either use datagridview1 data to plot charts or directly read csv file in an array so that I can plot graphs.
    ...
  6. Re: Reading csv data and storing it to array

    Are you asking for this ?

    It would look something like:


    Public Class flow
    Public Property point As double
    Public Property distance As double
    End Class
  7. Re: Reading csv data and storing it to array

    My simple dataset looks like following:


    date, distance
    1,5
    2,8
    4,9
    10,15

    Thanks.
  8. Re: Reading csv data and storing it to array

    Thank you for your reply. But I am not sure how to implement your ideas.
  9. [RESOLVED] Reading csv data and storing it to array

    HI,

    I was able to read the csv data and display the data in the Datagridview but I didn't know how to save those data in array form. My code looks like following:


    Private Sub...
  10. Read the data from text file and plot in visual basic

    I have a dataset in the following format :


    Station1 98.0 76.5
    4 8/19/2010 00:10 AM
    0 1 2 3
    38.6 38.5 38.3 38
    5 8/19/2010 10:33 AM
    0 1 2 3 4
    39.7 39.7 39.6 39.6 39.5
  11. Add a button to control the x and Y axis limits in Chart

    Hi I am working on the line chart and I want to add controls on the chart window which would control the limits of the X and Y axis. If somebody could give any suggestions that would be great.
    ...
  12. Replies
    0
    Views
    452

    Plot graphs from Textbox

    Hi All,

    I want to know how to make graph from the textbox i.e I want to let the users to open a file or manually copy and paste the data in the box. The text-box will have multiple columns. It...
  13. Replies
    7
    Views
    9,850

    Re: Visual basic 2010 2d line Charts

    Thank you so much Paul.

    Now I have known how to create a graph from the text file. I also want to know how to make graph from the textbox i.e I want to let the users to open a file or manually...
  14. Replies
    7
    Views
    9,850

    Re: Visual basic 2010 2d line Charts

    Dear Paul,

    Thank you so much for your instant reply. I am now able to display the chart. I want to display the chart in a line format. Right now, it is showing in the bar format. Would you please...
  15. Replies
    7
    Views
    9,850

    Re: Visual basic 2010 2d line Charts

    Dear Paul,

    Thank you so much for your help. I don't exactly know what do I need to put on "values.txt". I am sorry for this question as I am a begineer in visual basic. Would you kindly explain...
  16. Replies
    7
    Views
    9,850

    Visual basic 2010 2d line Charts

    Hi,

    I am using Visual basic express 2010. I have a set of data in a text file and I want to read that text file into the visual basic and create a chart. I am able to import the data into visual...
Results 1 to 16 of 16



Click Here to Expand Forum to Full Width