please Eric, give me some help with this if we can:
I made a script that generate a long sql file with insert's.... identify, etc! To tun under asp.net 1.1 with thePhile
I used your excelent CopyTableData.cs.txt as inspiration!
My big problem is:
Code:
ElseIf (sqlProviderType.ToString = "Binary") Then
If (dr(col) Is DBNull.Value) Then
result += "NULL, "
Else
Dim b() As Byte = New Byte(dr.GetBytes(col, 0, Nothing, 0, Int.MaxValue))
dr.GetBytes(col, 0, b, 0, b.Length)
'put here something like result += b.toString or convert.BytetoString(b)
Asp.Net 1.1 don't support:
"dim xxx() as byte = New byte(....)
and
Int.MaxValue
I tested my script and it is perfect (without binary fields)
Binary and bytes is a big problem for me!
I spend all night "googling" for solution without success!
I just need to convert my datarow of datareader into a string like this:
0xD62F739DA2796769AF9E727E7905F91A369F44A
in order to download all by db based on thephile and make my changes to turn it into sql2005 to run under thebeerhouse!
Please, if you can help me with this i will by much thankful

Max