Hello,
Welcome to our Microsoft Q&A platform!
If you want to display data from the SQL server without using the web API, I have to say it is a little hard, you cannot directly consume your SQL server/database info on a mobile application, refer to https://github.com/dotnet/SqlClient/issues/831#issuecomment-740197777
This issue has also been concerned by many developers, refer to
https://social.msdn.microsoft.com/Forums/en-US/3fd2ad9d-1476-4bd4-9ebc-8f37435b9677/displaying-data-from-sql?forum=xamarinforms
https://learn.microsoft.com/en-us/answers/questions/326272/how-connect-to-sql-database-server-not-local-not-u.html
https://stackoverflow.com/questions/54471457/using-sqlconnection-in-xamarin-forms
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.