473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

table control

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
Jun 16 '07 #1
2 3281

"adrin" <ad***@adrin.adrinwrote in message
news:58**************************@news.chello.pl.. .
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/articl...01373&seqNum=6

<http://www.c-sharpcorner.com/UploadFile/rafidkhalidabdullah/CreatingStronglyTypedCustomCollectionsinCS11302005 020315AM/CreatingStronglyTypedCustomCollectionsinCS.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/ex.../learningpath/

You also have Gridview and Datalist controls in ASP.NET too.

Jun 16 '07 #2
On Sat, 16 Jun 2007 09:20:20 +0200, adrin wrote:
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

Jun 16 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: John Smith Jr. | last post by:
I am looking for some way to persist a table web control so when page_load event comes up, i can display the table as it was. I tried using ViewState with the rows collection but that didn't work...
3
by: Marty McDonald | last post by:
I have <asp:Table... </asp:Table> on my webform. In codebehind, I populate a DataTable whose data should appear in the asp:Table. I created my own code to populate the asp:Table with the...
7
by: klynn | last post by:
I'm wondering what the best way to do the following: I have a page with a table. I built a custom class that creates a System.Web.UI.WebControls table object and return it to the webpage as a...
7
by: david | last post by:
I have asked this question before. But it does not work for me. Given radion buttons in the web form design page. What I did is described as follows. A panel control is dragged into the design...
2
by: clickon | last post by:
I am confused about the way in which asp:table objects work. When a control is within an asp table it generally appears to be in the scope of the tables parent control. E.g. if i have a page that...
4
by: Guy Noir | last post by:
So, I have a table that I only want to appear after some event has fired. Using the asp:table control and the Visible property, this is a piece of cake. The problem is that when I try and drop a...
4
by: rszebras | last post by:
I inherited a database (as a novice at Access) and need to modify it to make it more efficient, i.e., the assignment form needs to autopopulate with the client's name, address, phone number, etc.,...
6
by: Jeff | last post by:
....still new to visual studio 2005 and vb.net I have a master page with a content placeholder. The content page has a table in the content placeholder (placed there via dragging from the...
2
by: Geary | last post by:
I am porting my first traditional app to a web-based app using VS2005 and ASP.NET 2.0. I have a page that will replace a data entry form. To have complete control of layout, I want to use a table...
4
by: TS | last post by:
I am losing my colgroup html element of a table that i toggle back and forth of being visible=true/false. is there any workaround since the rendered html doesn't contain it even though it has not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.