Hello again! :)
I have big small problem. After user click on button, this function is executed.
protected void btGenDown_Click(object sender, EventArgs e)
{
string fname = Convert.ToString(DateTime.Now) + ".csv";
tmp = countSelections - 1;
Response.Clear();
Response.AddHeader("content-disposition", "attachment; filename=" + fname);
Response.ContentType = "text/csv";
OracleConnection con = new OracleConnection(ConfigurationManager.ConnectionStrings["OraAspNetConString"].ConnectionString);
OracleCommand cmd = new OracleCommand(finalSql, con);
con.Open();
OracleDataReader thisReader = cmd.ExecuteReader();
while (thisReader.Read())
{
for (int i = 0; i < countSelections; i++)
{
if (thisReader.IsDBNull(i))
Re ...
Go to the complete details ...