请帮忙 - 将数据库值分配给数组 [英] Please help - Assign database values to array
本文介绍了请帮忙 - 将数据库值分配给数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,Code Masters,
今天我再次寻求您的帮助和指导。
对于每个数组值,它是一个不同的SQL语句(特别是不同的where子句)。
Hello, Code Masters,
Here I am again today going to seek help and guidance from you.
The catch is, it is a different SQL statement (specifically a different where clause) for each array value.
推荐答案
从这里开始:如何:创建与SQL Server数据库的连接 [ ^ ]或遵循以下简单指南:< a href =https://msdn.microsoft.com/en-US/library/ms171890%28v=vs.80%29.aspx>演练:连接到SQL Server Express数据库中的数据 [< a href =https://msdn.microsoft.com/en-US/library/ms171890%28v=vs.80%29.aspx\"target =_ blanktitle =New Window> ^ ] 。
然后你需要连接数据:如何:连接到SQL Server Express数据库中的数据 [ ^ ]
试试吧!当你遇到困难时回到这里。
Start here: How to: Create Connections to SQL Server Databases[^] or follow this simple guide: Walkthrough: Connecting to Data in a SQL Server Express Database[^].
Then you need to connect to the data: How to: Connect to Data in a SQL Server Express Database [^]
Try! Come back here when you get stuck.
这篇关于请帮忙 - 将数据库值分配给数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文