mysql - SQL Query to Lambda C# -


what lambda statement sql query?

update table_name set column_name = replace(replace(column_name, char(13), ' '), char(10), ' ') 

i tried :

exporttoexcel ete = new exporttoexcel();  if (ete.billingnotes != null)  {      ete.billingnotes = ete.billingnotes.replace("\r", " ");      ete.billingnotes = ete.billingnotes.replace("\n", " "); }  a.submitchanges();  

thank you!

still no luck. anyone?

here samples:

var tb = db.table_name.singleordefault(x=>x.id == 1); if(tb != null)       tb.column_name = tb.column_name.replace("\\r","").replace("\\n",""); db.savechanges(); 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -