A common question I know :)
i am using
string contents = e.Item.Cells.Text; //get text from datagrid
contents = contents.Replace(vbCrLf,"<br> "); // replace linefeed with br
The compilation error is
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