| |

VerySource

 Forgot password?
 Register
Search
View: 962|Reply: 6

consult! VB.NET does the background of web pages?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-14 13:00:01
| Show all posts |Read mode
I want to use VB.NET to do a backend for a small website and connect to the ACCESS database. Is it the same connection method as the editing software? I imported the class library I made before, and I got an error. Others do n’t know if it works. "SqlClient.SqlConnection" error,
Can't it be defined like this
Private conn As SqlClient.SqlConnection
Still nothing
Reply

Use magic Report

0

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-11 22:15:01
| Show all posts
Did you imports
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-18 17:30:02
| Show all posts
Private conn As SqlClient.SqlConnection
This is connected to sql!
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-24 09:15:01
| Show all posts
access changed to
Private conn As OleClient.OleConnection
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-6-24 19:45:01
| Show all posts
Private conn As SqlClient.SqlConnection
Should be:
Private conn as OleDb.OleDbConnection
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-7-11 11:15:01
| Show all posts
SqlConnection changed:
OleDbConnection
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-8-1 21:45:01
| Show all posts
Thank you, I was careless
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list