| |

VerySource

 Forgot password?
 Register
Search
Author: dscy8899

Ask a data set filling problem (white)

[Copy link]

0

Threads

5

Posts

4

Credits

Newbie

Rank: 1

Credits
4

 China

Post time: 2020-5-26 21:30:02
| Show all posts
The value of Session ["shuihao"]. ToString () is not there, if it is, it should be correct.
Reply

Use magic Report

0

Threads

15

Posts

10

Credits

Newbie

Rank: 1

Credits
10

 China

Post time: 2020-6-2 19:15:01
| Show all posts
If your Session["shuihao"] is null. You ToString() will definitely go wrong.

ds.Tables[0], the first table in the DataSet
sqlda.Fill(ds,"cheeck");--->cheeck is an alias, you are not wrong if you write, you can use the serial number when quoting

It is recommended that the landlord go to see some basic things
Reply

Use magic Report

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

Points Rules

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

Quick Reply To Top Return to the list