table control

  • Thread starter Thread starter adrin
  • Start date Start date
A

adrin

hello,
i am a c# newbie, and i'm writing an application that requires to show
some numerical data in a table(it is a distance matrix). i wonder if
there is any component that serves such purpose... ? i would like it to
be editable, able to store integers or strings and not bloated :-)
thanks in advance for your help
 
adrin said:
hello,
i am a c# newbie, and i'm writing an application that requires to show
some numerical data in a table(it is a distance matrix). i wonder if
there is any component that serves such purpose... ? i would like it to
be editable, able to store integers or strings and not bloated :-)
thanks in advance for your help

There is a Table Control in ASP.Net that you can do this with, where you
build the table dynamically and add controls to the table.

For a Windows desktop application, you may have to resort to using a
DataGridView control, binding an ArrayList or Collection containing accessor
objects that will hold your data fields so that they can be edited in the
DataGridView.

http://www.samspublishing.com/articles/article.asp?p=101373&seqNum=6

<http://www.c-sharpcorner.com/Upload...eatingStronglyTypedCustomCollectionsinCS.aspx>

You can walk the collection and save the objects to a database or you can
read a table from a database populating the collection, binding it to the
DataGridView, so that objects can be edited.

However, here is the class 101 that can get you up to speed with C# on
something's using C#.NET

http://msdn.microsoft.com/vstudio/express/beginner/learningpath/

You also have Gridview and Datalist controls in ASP.NET too.
 
hello,
i am a c# newbie, and i'm writing an application that requires to show
some numerical data in a table(it is a distance matrix). i wonder if
there is any component that serves such purpose... ? i would like it to
be editable, able to store integers or strings and not bloated :-)
thanks in advance for your help

XPTable is worth a look
http://www.codeproject.com/cs/miscctrl/XPTable.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top