I have a problem with my SQL Insert statement which is the single quotes.
INSERT INTO DOCS VALUES ('<a href= & filename2 & " target=new_window>" & txtTitle.Text & "</a>','next value',....)
The problem is that if my filename2 is something like "My File.xls" then the link on my datagrid will read:
There needs to be single quotes before the "http" part and after the "filename2" part so my link will read the whole file name, not just until the space. It won't let me use more than one pair of single quotes per Value.
Any help would be much appreciated.
Thanks
INSERT INTO DOCS VALUES ('<a href= & filename2 & " target=new_window>" & txtTitle.Text & "</a>','next value',....)
The problem is that if my filename2 is something like "My File.xls" then the link on my datagrid will read:
There needs to be single quotes before the "http" part and after the "filename2" part so my link will read the whole file name, not just until the space. It won't let me use more than one pair of single quotes per Value.
Any help would be much appreciated.
Thanks