Funny little problem I'm having. I am passing a session variable containing a querystring to a "printer-friendly" page (black and white datagrid, small font, no graphics, etc...). When the datagrid is larger than one printed page, the second is losing the borders between the cells. Very wierd...

Anyone else come across this, or does anyone have any ideas?

Here's the code if it helps...

Thanks....Ooogs

-------------------------------------

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
lbl1.Text = Session("what") & " sorted by " & Session("sortee")
hl1.NavigateUrl = Session("fromwhere")
hl2.NavigateUrl = "main.aspx"
OleDbConnection1.Open()
Dim cmd As New OleDb.OleDbCommand()
cmd.Connection = OleDbConnection1
cmd.CommandText = Session("thequery")
Dim datareader As OleDb.OleDbDataReader = cmd.ExecuteReader(CommandBehavior.CloseConnection)
dg1.DataSource = datareader
dg1.DataBind()
OleDbConnection1.Close()
Catch ex As OleDb.OleDbException
lblError.Text = "There has been an error. Please advise MIS of this error message: " & ex.Message
End Try
End Sub

--------------------------------------