Home Forums Programming SMO/RMO/DMO Running .sql file using C# .Net - Accents Problem RE: Running .sql file using C# .Net - Accents Problem

  • Its working now!! 😀

    string script = File.ReadAllText(sqlCommandFilePath, System.Text.Encoding.GetEncoding(1252));

    1252 is the codepage for my country.

    I couldn't have put this together without your help dmbaker. Thank you.