Introduction

Description : I already explained how to populate dropdown based on another dropdown but now why I am explaining about this using Jquery for fetch data from webservice.

Here I will explain with two dropdowns State dropdown, City dropdown.and data will be manually fetch webservice using generic.How to Jquery work in this application see details.

Jquery Script

Jquery Dropdownlist


Design Page

Jquery Dropdownlist

After that design your aspx page like this

Web.config

Jquery Dropdownlist in asp.net


Add webservice in web.config file in appsettings.

Webservice Namespace

After that add one new webservice page to your application and following namcespaces in your webservice code behind page

ASP.NET Jquery Dropdownlist

Web services :

After completion of writing namespaces and write the following code in webservice page

ASP.NET Dropdownlist using Jquery

Demo

And last this application ‘s output is looks like this

Jquery Dropdownlist