Avatar of jackjohnson44
jackjohnson44
 asked on

asp.net bind datagrid to list c#

I am a windows developer and need some help getting started with a web form that has a gridview bound to a list.  I have no idea how to get started.  I have a generic list called MyList with properties "name", and "description" loaded in my page load event.  I have no idea where to go from here.

ASP.NETC#.NET Programming

Avatar of undefined
Last Comment
Bob Learned

8/22/2022 - Mon
Bob Learned

Are we talking about 2.0, and the GridView?
MuhammadAdil

You need to bind grid in constructor of form. After initalizeComponent() method.

Regards,
Adil Fazal
Bob Learned

My friend, Adil, this is ASP.NET, and not WinForms.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
MuhammadAdil

Hi LearnedOne,
                        Sorry, Thats mistake. Thanks for correction.

Regards,
Adil
ASKER CERTIFIED SOLUTION
Bob Learned

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.