Connecting Tech Pros Worldwide Forums | Help | Site Map

connection of dropdownlist with database in asp.net

Newbie
 
Join Date: Aug 2009
Posts: 2
#1: Aug 30 '09
How can i connect dropdown list with my backend database sqlserver 2005,so that when i will add something it will display in dropdownlist & also same in when i will delete something from database
plz give me the code.
thanx in advance

Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#2: Aug 31 '09

re: connection of dropdownlist with database in asp.net


Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics. Please take the time to read over the posting guidlines specifically the section on Before you post your question.

You can start by looking at this article about how to use a database in your program, and part II of that article....or you could use the MSDN Library to research how to connect to and use a database.

Please attempt the problem first and then post the difficulties you're having on a specific problem you're having with your solution.

-Moderator Frinny
Reply