You are probably doing something like
if(stringvalue = "something")
{
}
which will throw an error all day because you are setting the value of stringvalue to something. You should be doing something like this:
if(stringvalue == "something")
{
}
this will compile.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========