Hello,
Hopefully this is a simple question. I'm using an ASP.NET GridView. I'm setting the SQL in my SelectCommand's SqlDataSource. I have a need to qualify a field with a "<" symbol, but ASP.NET doesn't like it because it thinks I'm trying to insert an html or ASP tag. So how does one get "<" or ">" in the query without the code interpretting it as a tag?
Robert
[UPDATE]
Nevermind. I solved my own problem. Use "<" and ">" rather than "<" and ">". I tried to delete this thread before anyone answered, but I don't have that option. Is it only a moderator function?
Robert
Hopefully this is a simple question. I'm using an ASP.NET GridView. I'm setting the SQL in my SelectCommand's SqlDataSource. I have a need to qualify a field with a "<" symbol, but ASP.NET doesn't like it because it thinks I'm trying to insert an html or ASP tag. So how does one get "<" or ">" in the query without the code interpretting it as a tag?
Robert
[UPDATE]
Nevermind. I solved my own problem. Use "<" and ">" rather than "<" and ">". I tried to delete this thread before anyone answered, but I don't have that option. Is it only a moderator function?
Robert
Comment