protected void GridPedidosAbertos_RowDataBound(object sender, GridViewRowEventArgs e)
        {
            if (e.Row.RowType == DataControlRowType.DataRow)
            {
                ImageButton iBotaoBoleto = (ImageButton)e.Row.FindControl("imgBoleto");
                ImageButton iBotaoTaxa   = (ImageButton)e.Row.FindControl("imgTaxa");

                if (bdp.getCodigoBoleto(Convert.ToInt32(e.Row.Cells[0].Text), false) == 0)
                {
                    iBotaoBoleto.Visible = false;
                }
                else
                {
                    iBotaoBoleto.CommandArgument = "boleto;" + e.Row.Cells[0].Text;
                    iBotaoBoleto.AlternateText   = "Imprimir Boleto Pedido";
                    iBotaoBoleto.ToolTip         = "Imprimir Boleto Pedido";
                }

                if (bdp.getCodigoBoleto(Convert.ToInt32(e.Row.Cells[0].Text), true) == 0)
                {
                    iBotaoTaxa.Visible = false;
                }
                else
                {
                    iBotaoTaxa.CommandArgument = "taxa;" + e.Row.Cells[0].Text;
                    iBotaoTaxa.AlternateText   = "Imprimir Boleto Taxa";
                    iBotaoTaxa.ToolTip         = "Imprimir Boleto Taxa";
                }

                e.Row.Attributes["onmouseover"] = "this.style.cursor='pointer';this.style.textDecoration='underline';";
                e.Row.Attributes["onmouseout"]  = "this.style.textDecoration='none';";

                foreach (TableCell iCelula in e.Row.Cells)
                {
                    if (iCelula.HasControls())
                    {
                        continue;
                    }

                    iCelula.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(this.GridPedidosAbertos, "Select$" + e.Row.RowIndex);
                }

                //e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(this.GridPedidosAbertos, "Select$" + e.Row.RowIndex);
            }
        }