Thanks, but that is not what i need. My webform will add new records, the user needs to be able to type in new records, each row will be a record. I will not be updating from a datagrid directly, but when the user clicks the add record button all the rows will be added. i need for it to resemble an excel spread sheet and that is no problem when using a table. The first row will be titles an all the cells after will be textboxes, if i want it to work like i want, i was just wondering if there is an easier way maybe a special control i can download that mimics an excel spread sheet.
<TABLE id="Table1" style="Z-INDEX: 129; LEFT: 0px; WIDTH: 944px; POSITION: absolute; TOP: 176px; HEIGHT: 360px"
cellSpacing="1" cellPadding="1" width="944" border="1">
<TR>
<TD style="WIDTH: 71px; HEIGHT: 18px" ALIGN="center" VALIGN="bottom">
<asp:Label id="Label20" runat="server" Font-Size="10px">MAINT #</asp:Label>
</TD>
<TD VALIGN="bottom" style="WIDTH: 200px; HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label21" runat="server" Font-Size="10px">JOB/EQUIP
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label22" runat="server" Font-Size="10px">DEPT</asp
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label23" runat="server" Font-Size="10px">W.O.#</as
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label24" runat="server" Font-Size="10px">HOURS</as
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Image id="Image2" runat="server" ImageUrl="file:///C:\inetp
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label26" runat="server" Font-Size="10px">PROBLEM</
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label27" runat="server" Font-Size="10px">CAUSE</as
<TD VALIGN="bottom" style="HEIGHT: 18px" ALIGN="center">
<asp:Label id="Label28" runat="server" Font-Size="10px">REMEDY</a
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 71px"></TD>
<TD style="WIDTH: 200px"></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
</TR>
</TABLE>
Main Topics
Browse All Topics





by: jonleehackerPosted on 2004-05-28 at 09:31:09ID: 11181896
I think this page has an example of what you are looking for:
spnet101/a spnet/code sample.asp x? code=dgE dit
http://www.aspnet101.com/a