Last post Jun 29, 2017 07:19 PM by DoctorWho
Jun 29, 2017 04:35 PM|DoctorWho|LINK
I'm trying to use an EntityDataSource on an ASP.NET WebForms app I'm writing using VS 2015. I've not used EntityDataSources before. I've used SqlDataSources. But it looks like using EntityDataSources in WebForms is the preferred method.
I found this post on Stackoverflow
Entity DataSource not working with Entity Framework 6 Upgrade, which is helpful but I've still got an issue. In this case I'm not trying to update an app, I'm creating a new one. I've already installed the EntityDataSource package from NuGet, exactly as
described in the linked post. I see that the EntityDataSource has been added to the section of my Web.Config. However, when I go into the HTML view and start typing
VS 2015 doesn't understand what I've typed. There's no Intellisense. So I presume that VS 2015 isn't aware of it as I thought it would be. What more do I have to do?
Jun 29, 2017 07:19 PM|DoctorWho|LINK
Well, I don't know why this would make a difference, but today all of a sudden, it works. Besides being a different day (that can't be why), the only thing I can think of is that I got out of VS 2015 yesterday and got back into it today. Why that would make
a difference, I don't know. But it looks like it did. I hate when getting out and VS and getting back into it seems to resolve the issue. Kind of reminds me of Roy from "The IT Crowd" whose fashion line is, "Have you tried shutting it off and back on again?"