My website that sells products one page is called dvd.aspx which, using a sproc, displays all the dvds in my database with the “type=dvd”. I have some admin pages in an admin folder where i can add new product, edit existing products but i need to let the admin decide which items to display, would anyone have any advice on how to go about this, do i need to create a page in admin folder for this or maybe edit code behind dvd.aspx page?
Any kind of advice is welcome,
Thank you
My website that sells products one page is called dvd.aspx which, using a sproc,
Share
Create new column in you table called somehing like
"ToShow"and make it a bit type, edit yourdvd.aspxto show items withtype=dvdandToShow=true.Create admin page, add GridView with the option to change ToShow property. That way admin can select items to show.
Just a friendly advice,move to .net 4.0 and you can use some Object-relational mapper like Linq to Sql,NHibernate or Entity Framework, it would make your life a lot easier!