string sql = "select * " + " from table_name where t.months = '2014/05'" + " order by 1 DESC"; OracleCommand command = new OracleCommand(sql, conn); command.CommandType = CommandType.Text; OracleDataAdapter adapter = new OracleDataAdapter(command); DataSet dataset = new DataSet(); adapter = new OracleDataAdapter(command); adapter.Fill(dataset); command.ExecuteNonQuery(); GridView1.DataSource = dataset.Tables[0]; GridView1.DataBind();
GridView1.Columns[1].HeaderText = "mytext";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)