LINQ in Action roller

How to insert none unicode into database using LINQ

Hi, I am trying to insert a none unicode value to the database using LINQ. My data type in database is nvarchar but when I use linq like MyDataContext dx = new MyDataContext (); KeyWord keywrd = new KeyWord(); keywrd.name = txtName.Text; dx.KeyWords.Add(keywrd); . . . dx. SubmitChanges(); name is in arabic and when I check the databse it inserted ??? insted of none unicode value. Please help. Thanks, Ahmad... Read More...
Published Monday, January 28, 2008 10:49 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication