Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #22.6K
Ranked #4K
~748 People Reached
Favorite Forums

4 Posted Topics

Member Avatar for coroll

Define a List (or array) of ComboBoxes as a (private) member of your class and fill it in your for-loop. Then in your Button-Click event handler iterate over the List and obtain the selected value with currentComboBox.SelectedItem.Text;

Member Avatar for coroll
0
147
Member Avatar for adem87

What is the exact error message? Maybe you need a password? If so, you can append this to your connection string: [CODE]Jet OLEDB:Database Password=password;[/CODE]

Member Avatar for cudahead
0
138
Member Avatar for ctsmith84

I have no experience with DB2 from .NET, but I found some promising infos: 1) from [URL="http://www.codeproject.com/KB/database/DotnetDb2.aspx"]http://www.codeproject.com/KB/database/DotnetDb2.aspx[/URL] a quite realistic looking connection string: [CODE] OleDbConnection cn = new OleDbConnection( "Provider=IBMDA400.1;Data Source=TEST;User ID=db2user;" + "Password=db2user;Default Collection =SAMPLEDB"); [/CODE] 2) from [URL="http://csharp.net-informations.com/dataadapter/selectcommand-oledb.htm"]http://csharp.net-informations.com/dataadapter/selectcommand-oledb.htm[/URL] a snippet how to execute simple sql commands with a …

Member Avatar for ctsmith84
0
221
Member Avatar for BoBok2002

Looks like the _targetRoi variable is not initialized. It must be initialized in the constructor of your class or in the declaration of _targetRoi.

Member Avatar for cudahead
0
242

The End.