asp.net 2.0 GridView adding data row?

R

rob merritt

I have a 2.0 GridView

<asp:GridView Runat="server" ID="GridView1"
DataSourceID="AccessDataSource3" BackColor="Gainsboro"
BorderColor="#336666" BorderWidth="3px" BorderStyle="Double"
CellPadding="4" GridLines="Horizontal" AllowSorting="True"
AutoGenerateEditButton="true" DataKeyNames="University"
ForeColor="Black">
<FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
<RowStyle ForeColor="#333333" BackColor="White"></RowStyle>
<PagerStyle ForeColor="White" HorizontalAlign="Center"
BackColor="#336666"></PagerStyle>
<SelectedRowStyle ForeColor="White" Font-Bold="True"
BackColor="#339966"></SelectedRowStyle>
<HeaderStyle ForeColor="White" Font-Bold="True"
BackColor="#336666"></HeaderStyle>
</asp:GridView>

I have it set as editable is there any way to set it toui
automatically add a blank row that the user can then edit and add a
data row
 
B

Brock Allen

The GridView still has the same "style" as the DataGrid from 1.1. So, in
short, no. Not that you can't do a bunch of work to make it sort of do this...
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top