protected void btnBuscaCli_Click(object sender, EventArgs e)
        {
            DtClientes = CliOSDal.Listar();
            GVClientesOS.DataSource = DtClientes;
            GVClientesOS.DataBind();

            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            sb.Append(@"<script type='text/javascript'>");
            sb.Append("$('#ClientesModal').modal('show');");
            sb.Append(@"</script>");

            ScriptManager.RegisterStartupScript(this, GetType(), "ClientesScript", sb.ToString(), false);
        }
 protected void GVClientesOS_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GVClientesOS.PageIndex  = e.NewPageIndex;
     GVClientesOS.DataSource = CliOSDal.Listar();
     GVClientesOS.DataBind();
 }