3

Below is the link

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

2
  • 2
    Sorry I don't have full answer for you, but from the error it looks like something to do with character encoding of the data maybe. Commented Nov 6, 2009 at 10:59
  • sudo apt-get install libmono-i18n2.0-cil I used the above command. Because of which the error got segregated. But Still the error pops up Commented Nov 6, 2009 at 11:07

3 Answers 3

3

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

Sign up to request clarification or add additional context in comments.

1 Comment

This is a problem with the way debian and ubuntu package Mono, not with the framework itself.
0

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?

3 Comments

I have used many other technologies like crystal reports, access. I think mono isn't capable of supporting such applications
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.
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
0

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/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.