I have added a dataset(xsd) to my web application and cofigured it to SQL database and wrote a select query and named it as Getdata(). if i open the xsd file it has Getdata() method in it under TableAdapters. Dataset(xsd) TableAdapter has Getdata() method to get the details.How to call this method of TableAdapter of xsd in C# and bind the data to dropdownlist.please suggest me the complete C# code to do this.
Share
You can do it like this.