TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ana
NA
1
0
Represent Serbian Latin Chars in System.String
Aug 6 2010 4:16 AM
Hi
I've been Googling about this for some time, and couldn't find appropriate solution. Please help.
I am doing simple insert from windows form controls into MySql database.
This is my code:
*
comRI_pruzene_usluge = new MySqlCommand();
comRI_pruzene_usluge.Connection = baza;
comRI_pruzene_usluge.CommandText = "insert into RI_pruzene_usluge (id_RI,rb_PU, opis_pruzene_usluge, korisnik)"
+ "values (@id_RI, @rb_PU, @opis_pruzene_usluge, @korisnik)";
comRI_pruzene_usluge.Parameters.AddWithValue("@id_RI", id_RI);
comRI_pruzene_usluge.Parameters.AddWithValue("@rb_PU", rb_PU);
comRI_pruzene_usluge.Parameters.AddWithValue("@opis_pruzene_usluge", opis_pruzene_usluge);
comRI_pruzene_usluge.Parameters.AddWithValue("@korisnik", korisnik);
*
Parameter values are taken from textbox.Text.
When I input "Saša" into textbox it is inserted into database like "Sasa". Char 'š' is converted into 's'. When I do direct input manually into database cell "Saca" remains "Saša".
I tried to declare thread culture info property but problem resist.
Please, can someone solve this to me, it is urgent.
Thank you in advance.
Reply
Answers (
0
)
Run exe while installing setup(MSI installer)
list box in data grid view