I’m a beginner at ASP.net. I want to create a custom GridView where it contains images and such.
But i’ve searched a lot for a guide that explains how to customize GridView controller. All existing ones (the ones i found of course) only talks about how to do a certain uses out of it, like e-commerce site Gridview, or inline Gridview and others. But none are explaining it for a beginner like me.
If there’s a guide or even a good book for using and customizing ASP.net controls, i’d be grateful if you mentioned it.
Question 1 – Good ASP.NET book
The book that really helped me learn ASP.NET was – 70-515 Web Application Development With Microsoft .NET Framework 4
The only prerequisite for this book is C# or VB.NET and some basic HTML knowledge, it assumes that the reader has never done ASP.NET before and all the examples are really easy to follow.At the end of every chapter there are step by step labs which guide you to create a sample website based on what you’ve learned in that chapter.
Here are some topics which the book covers:
If it sounds like something you’d be interested in I bought mine from amazon but I know oreilly stock it as well
Question 2 – starting with GridView
If you want to learn working with the gridview I would suggest starting with the basics e.g. binding to a
List<T>:ASPX:
Code behind:
Once you have the basics just play around with the gridview and try binding to different types of objects and you’ll get a hang of it in no time: