Posted on: 11/19/2013 3:52:41 AM | Views : 321

In my aspx page,
<asp:Repeater ID="Repeater4" runat="server"             DataSourceID="SqlDataSource6"  ><ItemTemplate>                  <%#IIf((String.IsNullOrEmpty(Eval("X").ToString())), "", Eval("X"))%>                      </ItemTemplate></asp:Repeater>
This code only prevent null value error, how to prevent non-exist error ? If there is no such column named X in SqlDatasource, it goes to error.
Any error prevention in such case where when column X does not exist in database at all ? THanks

Go to the complete details ...