Ejemplo n.º 1
0
    private void GetVehicleServicesDetail(int vehicleServiceID)
    {
        //call the stored proc through the entities and
        //assign the bind the results to the Grid view
        var det = autoEntities.usp_ServiceDetails(vehicleServiceID);

        GridView1.DataSource = det.ToList();
        GridView1.DataBind();
    }