
Originally Posted by
ikantspelwurdz
From viewing the video on that site, ASP.NET Web Forms is definitely the way to go for me. I'm most comfortable with WinForms, and I've never much liked traditional HTML web development.
Entity *seems* like it's the right way to go, but I have no proof of this, and I don't completely get how it works either. The tutorial on how to use it, the one with ContosoUniversity, looks like a decent model, but it is set up so that the user can edit and update the data directly from a GridView, and I'm struggling to figure out how to change it so that instead you get a clipboard-like view of the selected record.
I'll post what I've got so far later today. I've got a page "Students.aspx" which displays abbreviated student records in a GridView and has Select buttons that don't do anything. And I've got a page "Student.aspx" which displays the extended record of the student with ID=0 in a ListView. The ListView is editable, but I haven't figured out how to make updating work yet - right now it throws an exception about not having an update command. I am trying to determine:
1: How do I make it so you can click on an abbreviated record and then redirect to Student.aspx with that selected record?
2: Is ListView the best control for this? Suppose the Student record had 100 fields and I wanted a form with all of them, and easily arrangeable. Is there a better control for that than ListView?
3: How do I make updating it work?
Bookmarks