I completely agree! Good one, Joe.

On Mar 31, 11:03 pm, Joe Enos <[email protected]> wrote:
> == is not the equals operator in VB.NET.
>
> @Brock:
> I believe your code is not compiling because you're trying to compare
> a string to a textbox, not the contents of the textbox:
> (email = txtEmailAddress And password = txtPassword)
> should be
> (email = txtEmailAddress.Text And password = txtPassword.Text)
>
> FYI: There are better ways of accomplishing this rather than a dataset
> - XPath, serialization, etc.
> Also, I don't think it matters in this case, but it's good practice to
> keep case correct - when retrieving values from your dataset, the
> column names are capitalized differently from the XML element names.
>

Reply via email to