Please Help Print a column from a row from a datag
I need to modify the below code to take the string parsedreceipt and print it to a printer.
I am not sure how to build this javascript.
if(e.CommandName =="Print")
{
string parsedreceipt = null;
parsedreceipt = DecodeReceipt (e.Item.Cells[3].Text);
Response.Write("<script language=\"JavaScript\">");
Response.Write("parent.framename.print(parsedrecei pt)");
Response.Write("</script>");
}
Knowledge is to be shared.
__________________
Knowledge is to be shared.
|