1,302 Posted Topics
Re: So, I'll give you two solutions, you can go to MySQL site and Install their libraries to work on .NET (Better than using OLE Classes) Second, why you use Reader??! Count(*) returns ONE VALUE so you should use execute SCALAR and cast the returned value [code] int Count = (int)myCommand.ExecuteScalar(); … | |
The End.