G
Guest
i have a c# asp.net webform that contains a datagrid. the datagrid has a
vertical scroll. i need to give the user the ability to print the datagrid's
entire content (all the rows). IE's print menu prints only the rows that are
currently shown. thanks in advance.
string sqlcmd = sqlSelect + sqlOrder;
DataSet ds = new DataSet();
OracleConnection oraConn = new OracleConnection(connStr);
OracleCommand oraCMD = new OracleCommand(sqlcmd, oraConn);
oraConn.Open();
OracleDataAdapter da = new OracleDataAdapter(oraCMD);
da.Fill(ds);
dgSearchResults.DataSource = ds.Tables[0];
dgSearchResults.DataBind();
dgSearchResults.Visible = true;
where dgSearchResults is the Datagrid
vertical scroll. i need to give the user the ability to print the datagrid's
entire content (all the rows). IE's print menu prints only the rows that are
currently shown. thanks in advance.
string sqlcmd = sqlSelect + sqlOrder;
DataSet ds = new DataSet();
OracleConnection oraConn = new OracleConnection(connStr);
OracleCommand oraCMD = new OracleCommand(sqlcmd, oraConn);
oraConn.Open();
OracleDataAdapter da = new OracleDataAdapter(oraCMD);
da.Fill(ds);
dgSearchResults.DataSource = ds.Tables[0];
dgSearchResults.DataBind();
dgSearchResults.Visible = true;
where dgSearchResults is the Datagrid