I want to import data by giving the searching option in c#. I am using SQL server database to save this data. Please help me what would I use and how to proceed. I think whether I would use a Google search API or a web crawler. I tried for Google search API but this is not helpful.
Very little information, you need to make sure that when you are creating posts that you clearly specify what you are attempting to do and what code you already have. You'll find that just asking how to do something isn't received well by the SO community, try and when you fail, we'll help.
Now, I'll give you a nudge in the right direction with what you are trying to do. Read up on how to incorporate SQLDataReaders into your application. Link below:
http://www.dotnetperls.com/sqlcommand
Related
i have a powerfull server , now i installed Microsoft SQLServer on My Server , however , i want to receive data from my SQLServer like online program,
What is next my step? Would i change the ConnectingString and this will be ok?
or it need more something ?
if it is, tell me Youtube links or some answers with description .
someone tell me the best way is making "API" , would someone tell me whats the best start step ?
You Know ? this program is working on local database , i want to make that online and i need some description to start.
if there is any way with API and ConnectingString or something , just tell the key word with some description , or links , videos...
my program developed by C# .
i can also use MYsql . but my best choice is MSserver for now.
thaks for help .
I suggest you googling "Basic C# asp.net tutorial" and "publishing asp.net website" there are tons of tutorials online. There are several minor important considerations and knowledge that you could get by studying those google results.
Basically you don't even need an API, if your program is very small, working locally and you want to make it online, just get a hosting server that allows the .Net Framework that you are using, upload your files. Then change the conectionstring to point to the Public IP/credentials of your sql server (you may have to work with firewall or routes in your server to allow external access)
...I'm not sure if your local software is in windows application/console. If this is the case you would need to rewrite the UI to ASP.NET (so it can be acessed like a page). If you don't want the asp.net behavior, you can use your windows app connecting direcly to your server.
There are several ways of doing this, but i really sugest some basic courses/online training in C# and ASP.NET (Udemy, Pluralsight, etc...)
Your question is too broad, and with imprecise scope. Well, anyway, below is a link to an asp.net tutorial (you will find TONs googling 'C# course/tutorial')
https://www.tutorialspoint.com/asp.net/
Good luck
I've searched the internet, for viber's api. I haven't found anything. I'd like to know if there's anyone someone reversed engineered or something, that I can use on C#'s windows form. I'm trying to write a program to send bulk messages in bulk using viber on C#. Or if someone can do it, please, write me. Thank you
I am a total beginner of ASP.NET. I have created a webform in Visual Studio and now I need to figure out how to make the webform submit the data to a record in SQL. I assume there are thousands of tutorials out there for this but I can't seem to find any. Everything I find seems wildly over-complicated to just simply write data to a record. (or maybe its just my lack of understanding .NET that makes it seem over-complicated.)
I dont need to exchange data, or update live data on a page form the db, I just need to write the data to a record.
Can anyone point me in the right direction?
You could use the scaffolding feature to generate your application.
All you need to do is setup your connection string (pointing to your database) and follow this tutorial (http://www.c-sharpcorner.com/UploadFile/4b0136/getting-started-with-web-forms-scaffolding-in-Asp-Net/).
As simple as this!
Follow this link: http://mrbool.com/inserting-data-into-sql-server-database-using-csharp-and-asp-net/25091
or this link
http://www.c-sharpcorner.com/Blogs/12611/easy-steps-to-insert-data-into-sql-server-using-Asp-NetC-Sharp.aspx
My apologies if this has already been requested/answered before, but I'm having a hard time trying to find information on the web about this. I've been tasked to find a way to directly update the content of a Google Sites page (Such as a text box or image) using the API.
I've been looking about the web for examples of doing this using C#, and have not found much to go by. I have some experience with writing/calling REST and SOAP APIs, but I can't seem to work out what Google uses for its API.
I'm struggling as to how I approach this, as the few examples I have found don't really walk through the code, so they leave me little to understand in order to manipulate it to what I want to achieve. One site I did find was Sites API Demo
Does anybody have any examples, or able to provide a simple example of updating content on a Google Site?
I appreciate any help you can give.
Mark
I realise this is an old question, but I have successfully updated the content of a google sites page using the library provided here, and following the example in the wiki.
I compiled the source as a .dll and added it as a reference to my project.
Ok. I thought I would fix this rather easy, but I'm not getting anything to work for some reason. What I want to do is simple; I want to create a web part displaying the latest tweets from a specific user. I'm coding C#.
I found a great post here but it's using php.
Can anyone help me to perform this simple task?
You can find alot examples over internet
Web:
http://www.microsoft.com/web/post/learning-the-basics-of-using-the-twitter-api-in-aspnet-web-pages-with-razor-syntax
Console:
http://www.d80.co.uk/post/2011/02/13/A-Simple-Twitter-Client-in-C-with-OAUTH-using-TweetSharp.aspx
:)