C#: Grid in application for data

Want to create a spreadsheet-like control (DataGridView not working?)

Page 1 of 1

0 Replies - 2574 Views - Last Post: 11 June 2007 - 08:57 AM Rate Topic: -----

#1 killnine  Icon User is offline

  • D.I.C Head

Reputation: 19
  • View blog
  • Posts: 161
  • Joined: 12-February 07

C#: Grid in application for data

Posted 11 June 2007 - 08:57 AM

Howdy again guys,

So I am continuing development on a TCP/IP utility with a proprietary API. I am able to call functions that return important data about the system I am testing (as strings, integers and doubles).

Now, I want to put this data into a spreadsheet, but dont know how. I have looked up information about DataGridView, but every tutorial I can find uses a database as its implementation.

I just want to create a loop to update cells in the grid view.

Right now I am just have a listbox that updates with this one set of data:

			for (int i = start; i < (end); i++)
			{
				listbox_signals.Items.Add(tg.GetSignalName(i));
				
			}



However, each of these Signals also has a value associated with it (actually, a vector of multiple values). I would like to display each of the signals and its value in a nice excel-esque format.

Any links or thoughts? Thanks!!

Is This A Good Question/Topic? 0
  • +

Page 1 of 1