Hi Everyone!
I have to make a forum with MS SQL, and, as I'm Hungarian, we use characters, like áéíőúű, etc. Now, if I insert a text with the letter ő or ű, I get back o and u. How can I solve this problem?
The users write posts in an aspx website, by a textbox. I use this code in the insertcommand:
@"INSERT INTO Forum2 (Sorszám, Idő, Feladó, Üzenet) VALUES (" + GridView1.Rows.Count + ", '" + DateTime.Now + "', '" + namebox.Text.ToString() + "', '" + @message.Text.ToString() + "')";
Oh, and is there any way to count an SQL database's rows? That way, I could allow paging..
Thank you!