-1

how to conneect the vb.net windows form with the online web server database. if anyone knows please respond me how

Edited by Dani: Moved to Web Development forum

4
Contributors
8
Replies
40
Views
4 Months
Discussion Span
Last Post by xrj
1

This is a tough one. That web server database should have some API and other examples. As it stands your post is too vague but before I'd code line one, I'd want the web server's API in hand.

1

Unless you are connecting to the db using the server name and the database instance in which case you server name in the connection string would look like

\\164.128.12.93\dbserver
\\merlin\dbserver

assuming that the IP address of the server is 164.128.12.93 or the server name is merlin.

Edited by Reverend Jim

-1

so there is a posibility to connect the online database in vb.net. am i right?
if possible please send me some example.

1

That would depend on what the database engine is and how it is configured. The difference is in the connection string and you can get the correct format here.

Also, depending on the database engine, you will be using ADO, OleDB or SQLclient.

Edited by Reverend Jim

1

@Reverend Jim. I had one client ask for this and the "database" was Wikipedia. What they wanted was a web scraper to get some Wikipedia page and find the numbers on the GDP for countries.

To the OP, you have to tell more. RJ did share there are 3 engine interfaces and I think there are more if you go looking. So with this in mind, let's hear more about this web server.

0

Why not host Asp.Net pages on the server and call them from vb.net through a username and password. Seems to me this question should be asked in Programming/Web development.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.