views:

425

answers:

3

Below is the link

http://stackoverflow.com/questions/1518946/how-to-insert-delete-select-update-values-in-datagridview-in-c-using-mysql

which has the code to connect to a MySQL datbase from a Windows application. It works fine in Windows XP. So I have created a setup file and installed in Ubuntu using Wine.

The issue is with the data not getting popped up in the datagridview of the application.

Extra information:

Wine is working fine by which i have installed small desktop application MySql with connector,Mono IDE are already installed.

It is even possible for me to create small applications using mono>(excluding database)

Screenshot 1: In Windows it looks like this:

alt text

But in Ubuntu Linux(8.04) it doesn't show up and looks like below.

alt text

+3  A: 

This sounds like bug 33938, the Mono environment in Linux doesn't seem to support Windows' native codepage (1252).

unwind
This is a problem with the way debian and ubuntu package Mono, not with the framework itself.
skolima
A: 

Wait, why are you using Wine and Mono at the same time? That probably won't work. Why don't you run the application natively, using only Mono?

skolima
I have used many other technologies like crystal reports, access. I think mono isn't capable of supporting such applications
Srikanth V M
Do not run Mono on Wine, this is pointless! And what version of Mono are you using? The bug mentioned by @unwind is in version that is two years old at least.
skolima
I'm not running Mono on Wine but creating a .exe file from windows(visual studio.net) and then deploying in linux ubuntu using wine. This is working fine for small applications, but for database applications errors are popping up
Srikanth V M
A: 

HI all,

Thanks for the all the help and support from all of you.

I have installed crossover trail version which supports datagridview. Please follow the link to find the answer.

http://www.talkonsomething.com/2009/11/how-to-connect-mysql-database-from-windows-xp-to-ubuntu/

Srikanth V M