Hi!
I created my tables and for each table a class containing the fields. I added "New Scaffolded Item" for each class. My problem is with the client class. On the Insert.aspx page I am trying to create a client, using the Create(Client, string) method. The
problem is, that I get "Sequence contains no elements" exception message.
Insert.aspx page:
<%@ Page Title="ClientInsert" Language="C#" MasterPageFile="~/Site.Master" CodeBehind="Insert.aspx.cs" Inherits="SchoolInTheCloud.Models.Clients.Insert" %>
<asp:Content runat="server" ContentPlaceHolderID="MainContent">
<div>
<p> </p>
<asp:FormView runat="server" ID="formViewID"
ItemType="SchoolInTheCloud.Models.Client" DefaultMode="Insert"
InsertItemPosition="FirstItem&quo ...
Go to the complete details ...