A common question I know :)
i am using
Code:
string contents = e.Item.Cells[3].Text; //get text from datagrid
contents = contents.Replace(vbCrLf,"<br> "); // replace linefeed with br
The compilation error is
Code:
CS0103: The name 'vbCrLf' does not exist in the class or namespace 'ASP.edithomepage_aspx'
which makes sense as it isn't declared anywhere, I cant find what headers to include to make it work.
any help is much appreciated
Cheers,
Kev