Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

c# MysqlDataReader return null (no replies)

$
0
0
Hello,

I trying to use sql command with MySqlDataReader and a string command.
This one work well with MysqlWorkbench, but in DotNet, I always have a null result.
My MySqlDataReader is null !!!

For some dark reasons, when my string command is : "SELECT * FROM table_medecin", my MySqlDatareader return all the records.
But when it is : "SELECT * FROM table_medecin WHERE Nom='xxx'", the return is NULL !!! But in MysqlWorkbench, I have the result...

I think that my sql syntax is good.

What's wrong ?

Thank you for your help...

Still looking for

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>