hi...
I want to store Multilanguage like Marathi, Hindi, Urdu etc in the database.
when I store these languages, in the Database it shows ????????????????..
I have given the datatype as Nvarchar(MAX).
plzzzz help...
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vilas GiteRank #951 · 2.1K reputationPosted Jul 2, 2011, 3:55 AM EDT
please refer below links in this article author seonarayan describe well.
http://www.dotnetfunda.com/articles/article1412-how-to-save-and-retrieve-regional-languages-data-from-the-database-.aspx
----------------------------------------------------------------------------------------------------
If this reply hepls your post…then "MARK AS ANSWER"!
Mayur GujrathiRank #666 · 3.6K reputationPosted Jul 2, 2011, 3:41 AM EDT
i think there is no provision for storing other lang words in database but you can show in front end
for what i mean to say follow this blog
http://www.c-sharpcorner.com/Blogs/4645/using-other-language-tham-english-in-dot-net-wibdows-applica.aspx
Krishna GaradRank #191 · 12.8K reputationPosted Jul 2, 2011, 3:52 AM EDT
Ancy Raju19 reputationPosted Jul 2, 2011, 3:52 AM EDT
I am working in C# Visual studio 2010 and sql server 2008
I have a html Text Editor, in which i copy paste language like Marathi like (?????? ?? ??? ???? ???????? )
But when i check into my Database sql server 2008 the Text in it appers like ????????????????????? this..
what is the solution to this prob..
Ancy Raju19 reputationPosted Jul 2, 2011, 4:25 AM EDT
ALTER PROCEDURE [dbo].[cAddNewsText]
@News ntext,
@ArticleID INT
AS
INSERT INTO News1
(
News, news_id
)
VALUES
(
@News, @ArticleID
)
if (newsletter.News != null) {
using (DbCommand command = wrapper.GetStoredProcCommand("cAddNewsText")) {
wrapper.AddInParameter(command, "News", DbType.String, newsletter.News);
wrapper.AddInParameter(command, "ArticleID", DbType.Int64, newsletter.News_Id);
wrapper.ExecuteNonQuery(command);
}
}
how to i make changes accordingly as I can see multilanguages in my database
Ancy Raju19 reputationPosted Jul 7, 2011, 1:08 AM EDT
Vilas GiteRank #951 · 2.1K reputationPosted Jul 7, 2011, 2:43 AM EDT