Hi
I have below code and i want to send it in HTML format through Email body
C#
string _StrSQL = "SELECT T0.\"TransId\", T0.\"DocNum\", T0.\"DocDate\" " +
"FROM \"ATULAYA_NEW_LIVE\".OINV T0 " +
"INNER JOIN CRD1 T3 ON T0.\"CardCode\" = T3.\"CardCode\" " +
"INNER JOIN INV12 T5 ON T5.\"DocEntry\" = T0.\"DocEntry\" + " +
"where T0.\"CardCode\" = T3.\"CardCode\" and T3.\"GSTRegnNo\" <> '' " +
"and T5.\"LocGSTN\" <> T5.\"BpGSTN\" ";Thanks
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Feb 7, 2025, 5:07 AM EST
Hello Ramco,
I believe, your issue has been fixed through another question.
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Feb 7, 2025, 12:59 AM EST
Hello Ramco,
To send the SQL query in an HTML-formatted email body, you need to wrap the query in HTML tags. You can useCode
This query is used to retrieve data from the database.