That typically is not a mysql issue. The datagrid is designed to display
data only in the event that there *is data. Before you bind your grid, you
should test to see if there is data like so:
if(dataset1 != null && dataset1.Tables[0].Rows.Count > 0)
then bind
otherwise no data so take appropriate action
If it was a mysql error, the application would have bombed, most likely.
--
Regards,
Alvin Bruney
http://www.networkip.net/dotnet/tidbits/default.htm
"kbs" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Hi all, i'm new here, and I just beggining with c# so..
I'm brazilian, and I already get connect to mysql using
MySQLDriverCS, but I can't display data on a datagrid or
thro an aspx file.
can anyone help me? or just tell me where i can get help
for this?
thank you.
kbs