private void btnseacrh_Click(object sender, EventArgs e) { var name=txttextbox.Text; var Resultdataset= Fecthresultfromdb(name); // retchresultfromdb method calls the database and fetches all the people whose name //starts with 'name' value entered in a textbox //finally result set is bind to datagrid for display datagrid.datasource=Resultdataset; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)