Hi my friend... i thought this is problem for string datatype in your problem....
you make sure one thing you just save one word dont give spaces... and i think you wont get this error.. bcoz this was happen only you give spaces in between the words,,,,,,,, just try this tell me.... On Mon, Apr 12, 2010 at 2:33 PM, Raghupathi Kamuni <[email protected]>wrote: > check this link > > http://www.code-magazine.com/articleprint.aspx?quickid=0503081&printmode=true > > On Thu, Apr 8, 2010 at 10:16 PM, Stickytroll > <[email protected]>wrote: > >> Hi all, >> >> I hope someone can help me - this is driving me crazy and I've been >> searching for answers all day... >> >> I have a web page written in C# ASP.NET <http://asp.net/>, with a >> multiline text box and >> a label. The user types text into the text box, and there are 2 >> buttons so they can either save the text to a SQL database on the web >> server, or preview the text in a label. >> >> The text box allows e.g. Chinese characters no problem, and they are >> saved and loaded from the SQL database fine, so there's nothing wrong >> with how they are being stored, saved, retrieved, etc. >> >> However when the preview button is clicked, the label only shows a >> string of square symbols. Obviously it's having trouble displaying the >> characters. I'm not setting any special fonts for each of the >> controls, so they should both be using default fonts. >> >> I'm copying the text from the textbox to the label like this: >> >> ConstitutionLabel.Text = ConstitutionTextBox.Text; >> >> so it should be straightforward. Can anyone suggest anything? >> >> Any ideas appreciated! >> >> >> >> -- >> To unsubscribe, reply using "remove me" as the subject. >> > > -- Jagadish Kumar 97894 25903 [email protected]
