webForumDet fria alternativet

Column 'Rader' does not belong to table Rows.

.NET

1 svar · 419 visningar · startad av annasmurf

Medlem sedan mars 2006237 inlägg
Frågan#1

Column 'Rader' does not belong to table Rows.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Column 'Rader' does not belong to table Rows.

Source Error:

Line 71: <td><asp:TextBox ID="TextBoxRader" runat="server" Text='<%# (((DataRowView)Container.DataItem).Row)["Rader"].ToString() %>' Width="60px" /><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxRader">*</asp:RequiredFieldValidator> </td>

vet någon varför jag får detta fel?

Medlem sedan feb. 2005280 inlägg
#2

Det finns ingen kolumn som heter "rader" i den tabellen :-)

276 ms totalt · 4 externa anrop · v20260731065814-full.1dc6f849
127 ms — deklarationer (db)
0 ms — hämta statistik (cache)
147 ms — hämta tråd, inlägg och bilagor (db)
127 ms — ändringar (db)