Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need an example to read data from online database (MS SQL OR MYSQL) to list view.

Simple example:

NOT LOCAL DATABASE EXAMPLES, CLOUD HOSTED
NOT GOOGLE SEARCH
NO GOOGLE


Thank you!

What I have tried:

Multiple examples with local database
Posted
Updated 6-Nov-23 1:23am
v5
Comments
Dave Kreskowiak 27-Oct-23 10:12am    
You just got tagged a troll for your comments below.

You either learn how to teach yourself or you're going to fail miserably at this job. Demanding other people do your research for you is extremely rude.

Nobody can do your research for you in this case because "cloud hosted database" is so generic and connecting to such a database is not identical for each cloud provider. You didn't even provide enough relevant details to even start searching!

1 solution

I tried a simple search in Google. read data from azure sql server c# - Google Search[^]

The very first result was a guide on connecting to SQL Server on Azure. Use Visual Studio with .NET and C# to query - Azure SQL Database & SQL Managed Instance | Microsoft Learn[^]
 
Share this answer
 
Comments
Stylus STYLUS 27-Oct-23 3:33am    
XAMARIN, I have app with standard sql conection. Need for mobile. NOT GOOGLE SEARCH. Need example
Thank you
Richard Deeming 27-Oct-23 4:09am    
We are not your personal slaves here to do your work for you. Pete has provided a perfectly good place for you to start. If it doesn't match your requirements, then either modify it until it does, or try a different search.
Stylus STYLUS 27-Oct-23 4:16am    
Nobody is mine, a slave, nor am I looking for it. I was culturally looking for an example of a connection for a mobile application. The answer is nowhere near perfect. I was looking for a XAMARINE connection example, not a simple widows forms connection. If you think you're smart, stop philosophizing, offer an example, not just be smart. On this page, no matter what someone asks, you think first and argue with people because you are bored in life. Unlike you, some people do something and live from it. If you don't have a specific answer (some example) to offer, you don't need to respond, comment or anything else, and not only when you don't like something, you delete the question. Thank you
Richard Deeming 27-Oct-23 4:23am    
OK, you're clearly turning into a "help vampire"; you want someone to do the research for you, and hand you a complete code block, rather than pointing you in the right direction to learn how to do it yourself.

And trying to goad people into doing your work for you by suggesting they're not "smart enough" to do it is a transparent tactic that will not work.

You have a choice: you can continue to whine and complain that we're not doing your work for you; or you can start learning how to do it yourself, and ask for - and accept! - assistance when you get stuck.

One of those options will lead to success. The other will result in nobody wanting to even try to help you.
Stylus STYLUS 27-Oct-23 4:36am    
I'm looking for someone to guide me, that's why I was looking for examples for you to guide me. And not to be smart here and give me some lectures. You are not in a position to lecture me, nor will you write my code for me. I wrote and created everything in my life, neither you wrote to me, nor some idiot like you. I was just looking for a XAMAR example application with a CLOUD base. That's all, not that someone is lecturing me here. If you don't have an example or something clever to say, please don't be boring. Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900