Web Hosting Talk







View Full Version : ASP .NET 2.0 [WebMethod] (connect to database)


Goldfiles
07-05-2007, 10:12 AM
I'm trying to follow microsoft's example of how to hookup a cascading drop down menu to a database. But, in their tutorial, they don't explain how to get the information from a database to the drop down menu.

Here is the tut: http://ajax.asp.net/ajaxtoolkit/Walkthrough/CCDWithDB.aspx

It uses [WebMethod] to get the data (i think), but I dont see how to hook it up to a database. ASP .NET NOOB here. Plz help!

Thanks.

Goldfiles
07-05-2007, 10:52 AM
ahh....nvm. i found a tutorial that explains the other tutorial!! haha

http://aspalliance.com/articleViewer.aspx?aId=1183&pId=-1