Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Table in a Webform using C# and 1.1

Status
Not open for further replies.

AT76

Technical User
Apr 14, 2005
460
US
Hi,

I've been trying to find a good example of this but haven't been successful. If someone knows of a good example in the web I would appreciate if you can share it.

Thank you!
 
AT76: Hey AT; as I mentioned chatting with you the other day I'm not a C# programmer but I do remember several threads on this topic. Some tables I have seen were created using a string append approach (appending html while looping through a simple binding process, etc).

What is you want to do exactly? DataGrids (GridViews) can be made of course to look like table (essentially what they are). What components will be in the table? What makes this table unique, etc?
 
Hi Isadore,

I'm trying to create a table in which users can input data. The table will always have the same number of columns. The number of rows the user might enter will vary. I thought of a datagrid but isn't a datagrid to view data only? Could the user enter data to a datagrid?

Ultimately the data will be sent to a SQL database. How do you recommend I approach the data entry?

Thank you for your support.

- Andres
 
A datagrid is not for viewing only. You can select rows and update them as well. There are also ways to insert data. Check out this article, it tackles many common issues and requirements needed by programmers using the datagrid. I believe the datagrid is the way to do for what you want.

Jim

 
Thank you for your feedback Jim! I will check it out tonight!
:)
 
OK good.. it really is a great article.. I belive it has about 16 parts. Take some time and go through it. It will help you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top