Click here to Skip to main content
15,891,844 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.
Posted
Updated 14-May-15 8:14am
v5
Comments
Maciej Los 10-Mar-15 15:23pm    
Sorry, but we can't read in your mind. Could you be more specific and provide more details, for example: what kind of database?
serigraphie 10-Mar-15 15:29pm    
Hello sir, sorry about that. I tried to make sure all details are supplied but my negligence made me forget to post the Db! That would be SQL database, sir. Please let me know if you need further details and I will provide it to you.

1 solution

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.
 
Share this answer
 
Comments
serigraphie 10-Mar-15 16:15pm    
Sir, I actually know how to communicate with the db and fill my datagrid and labels and ddl controls with database values. However what I need to know is how I can assign values to an array with values coming from the db.
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900