protected void btnSearch_Click(object sender, EventArgs e) { Inspection objinspection= new Inspection(); GvInspectionMemo.DataSource = objinspection.SearchInspectionDetails(txtInspectionNo.Text); GvInspectionMemo.DataBind(); }