private void carregarTabelaDataSet()
{
CadFilmes objListarTodosFilmes = new CadFilmes();
DataSet dtListarTodosFilmes = objListarTodosFilmes.consultarTodos();
for (int linha = 0; linha <= dtListarTodosFilmes.Tables["Tabela"].Rows.Count - 1; linha++)
{
TableRow tRow = new TableRow();
tabelaFilmes.Rows.Add(tRow);
for (int coluna = 0; coluna <= 9; coluna++)
{
TableCell tCell = new TableCell();
tCell.Text = Convert.ToString(dtListarTodosFilmes.Tables["Tabela"].Rows[linha][coluna]);
tRow.Cells.Add(tCell);
}
}
}