how to search database in asp.net
Alternatively, you can write code to perform data access yourself using ADO.NET classes or LINQ queries. 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.