Sie Ste

Sie Ste

  • NA
  • 196
  • 184.5k

Formweview error

Dec 6 2011 6:32 PM
Problem: Above the two columns there is a double line on the top border of both cells for a formsview 2010 control.


The 'double line' has a line for the length of the top line of the cell, followed by a small amount of white space for the length of the cell followed by another line for the length of the cell.

Thus since  I do not see a problem with the html, is there something I should be aware of in the formsview control that I need to change? If so what is it? If not can you tell me what is wrong with the html?

Basically the top border of any grid should have only one line instead of two lines.


The following is the code:

<asp:FormView ID="FormView1" runat="server" DataSourceID="LinqDataSource1" AutoGenerateRows="False"
  HorizontalAlign="Center"  DefaultMode="Edit" DataKeyNames="Att_id" border="1"
  EnableModelValidation="True">
  <EditItemTemplate>
 
  <tr>
  <td>
  <asp:Label ID="Label2" runat="server" Text='Att ID'></asp:Label>
  </td>
  <td>
  <asp:Label ID="TextBoxAttid" runat="server" Text='<%# Eval("Att_id") %>'>
  </asp:Label>
  </td>
 
  </tr>
 
 
  <tr>
  <td>
  <asp:Label ID="Label10" runat="server" Text=' Submitted Late'></asp:Label>
  </td>
  <td>
  <asp:Label ID="lblSubmitLate" runat="server" Text='<%# Eval("Submitted_Late") %>' />
  </td>
 
  </tr>
 
  </EditItemTemplate>
 
  </asp:FormView>

Answers (1)