I have a table with fields varbinary (i cant change the column type). I use LINQ and I want to assign the database column to a textbox value...so I do this:
IncomingPatient ip = new IncomingPatient(); //this is the table
ip.firstname = first_name.Text
I get this error: Cannot implicitly convert type 'string' to 'System.Data.Linq.Binary'
I've been googling and someone here is saying to change the Binary to Byte
How can I do this? do i need to change to Byte?