How do you  search database in asp.net?
 Using Data Source Controls in an ASP.NET Web Page. To connect to a database using a data source control, you do the following: Determine the type of data source control you need.ou connect the LinqDataSource control to these classes. For more information, see How to: Create LINQ to SQL Classes in a Web Project. If you use the SqlDataSource control, determine what provider you need. A provider is a class that communicates with a specific type of database. 