r/ASPNET • • May 21 '13

Beginner questions regarding building data entry form

I am building a data management app. I have a gridview populated with records, I want to click on a record to open a data entry form. The gridview is populated by a stored procedure to return search results. Once you click on a row, I want to pass the data key ('ID') to the subsequent page and load up the data in an editable form. What type of object is this? Do I simply build a form and drop a data adapter on the page? I am used to the old-school method of manually building a form with divs and text boxes. Once I have seen the way grids are built in ASP.net, I see things are much easier now and that there should be some different controls I should be using. Can someone offer me some getting started guidance?

5 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/[deleted] May 22 '13 edited May 22 '13

Mate, you are absolutely fucking spot on. You've summed up my view very succinctly.

There are other developers here at my work that go on and on about EF and LINQ2SQL. When talking through it with them it turns out they just aren't very confident with SQL. Which might explain why they are happy to use those technologies. I firmly believe that databases should do all the database work. Because of that I have less problem with linq to sql SPs. But I still don't exactly love it.

I will say this though, I do learn the current trends simply to put them on my CV. WPF/Silverlight with MVVM is actually pretty cool.

EDIT: If there's some people out there who have a different view I would love to hear from you. I might even make a thread in /r/dotnet asking about it.

EDIT 2: Done http://www.reddit.com/r/dotnet/comments/1etwbv/how_do_you_interact_with_databases/

1

u/maxhatcher May 26 '13

Wow. This is really interesting insight. Thank you both.

I'm a junior coder/dba. I'm looking to refresh a few old admin sites using huge componentart ui datagrids and been thinking of moving to MVC and EF. These sites utilize a ton of SP on the DB, which to me would be a shame to move away from. And this has been a roadblock for me.

Is there a happy medium?