Click here to Skip to main content
11,502,800 members (67,372 online)

Visual Basic

 
QuestionControlling Monitor brightness from VB6 Pin
Muhammed Niyas19-Nov-12 23:59
memberMuhammed Niyas19-Nov-12 23:59 
AnswerRe: Controlling Monitor brightness from VB6 Pin
Simon_Whale20-Nov-12 0:12
memberSimon_Whale20-Nov-12 0:12 
QuestionExport Data from Gridview to Sql Server Pin
Naga Raju Vutla18-Nov-12 18:22
memberNaga Raju Vutla18-Nov-12 18:22 
AnswerRe: Export Data from Gridview to Sql Server Pin
Eddy Vluggen19-Nov-12 0:01
memberEddy Vluggen19-Nov-12 0:01 
AnswerRe: Export Data from Gridview to Sql Server Pin
Bert Mitton19-Nov-12 8:21
memberBert Mitton19-Nov-12 8:21 
GeneralRe: Export Data from Gridview to Sql Server Pin
Eddy Vluggen19-Nov-12 9:48
memberEddy Vluggen19-Nov-12 9:48 
QuestionReading Complex Type from WSDL Pin
asv17-Nov-12 14:47
memberasv17-Nov-12 14:47 
AnswerRe: Reading Complex Type from WSDL Pin
Zac Greve17-Nov-12 16:56
memberZac Greve17-Nov-12 16:56 
GeneralRe: Reading Complex Type from WSDL Pin
asv17-Nov-12 18:35
memberasv17-Nov-12 18:35 
QuestionSQL functions in VB Pin
NaseerKhanPattan17-Nov-12 6:28
memberNaseerKhanPattan17-Nov-12 6:28 
AnswerRe: SQL functions in VB Pin
Eddy Vluggen17-Nov-12 9:36
memberEddy Vluggen17-Nov-12 9:36 
QuestionFinding a Row in a Datatable and putting the row to variables Pin
JRHibner14-Nov-12 18:37
memberJRHibner14-Nov-12 18:37 
AnswerRe: Finding a Row in a Datatable and putting the row to variables Pin
Andy_L_J15-Nov-12 19:48
memberAndy_L_J15-Nov-12 19:48 
GeneralRe: Finding a Row in a Datatable and putting the row to variables [modified] Pin
JRHibner18-Nov-12 16:15
memberJRHibner18-Nov-12 16:15 
Thank you for your help.

I tried your sample code but I still get and error, I've also tried tweaking is a few ways and I still get the following errors:

"Conversion from string "Name" to type 'Integer' is not valid."
"Value of type 'System.Data.Datarow' Cannot be converted to 'String'"
"Conversion from string "Name" to type 'Integer' is not valid"

Here is how I'm building my search string:

sStringTemp = CBPlazim.SelectedValue.ToString()
sStringTemp2 = "Name = '" + sStringTemp + "'"

CBPlazim is a Combobox that is displays the 'Name' column from the table I'm trying to 'pull' the row from.

It's pulling the right row in the second table. Like I mentioned above, I set a watch on the two string variables and when I have it stop before attempting to put the row somewhere, it's the right row.

Am I just going about finding the row I want in the second table wrong?

I've confirmed that the Column 'Name' in the table is a string variable

Do you know if when I'm using the search code, does it move the active record to the row I'm looking for?

modified 18-Nov-12 22:41pm.

AnswerRe: Finding a Row in a Datatable and putting the row to variables Pin
Andy_L_J18-Nov-12 20:45
memberAndy_L_J18-Nov-12 20:45 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner18-Nov-12 20:55
memberJRHibner18-Nov-12 20:55 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
Andy_L_J18-Nov-12 21:33
memberAndy_L_J18-Nov-12 21:33 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner18-Nov-12 21:36
memberJRHibner18-Nov-12 21:36 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner27-Nov-12 19:28
memberJRHibner27-Nov-12 19:28 
AnswerRe: Finding a Row in a Datatable and putting the row to variables Pin
Andy_L_J27-Nov-12 20:56
memberAndy_L_J27-Nov-12 20:56 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner27-Nov-12 23:40
memberJRHibner27-Nov-12 23:40 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
Andy_L_J28-Nov-12 0:20
memberAndy_L_J28-Nov-12 0:20 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner28-Nov-12 10:35
memberJRHibner28-Nov-12 10:35 
QuestionChanging Assembly Properties through Reflection Pin
DisIsHoody14-Nov-12 9:38
memberDisIsHoody14-Nov-12 9:38 
AnswerRe: Changing Assembly Properties through Reflection Pin
Eddy Vluggen15-Nov-12 1:18
memberEddy Vluggen15-Nov-12 1:18 
GeneralRe: Changing Assembly Properties through Reflection Pin
DisIsHoody15-Nov-12 17:14
memberDisIsHoody15-Nov-12 17:14 
GeneralRe: Changing Assembly Properties through Reflection Pin
Eddy Vluggen16-Nov-12 0:06
memberEddy Vluggen16-Nov-12 0:06 
Questionmessagebeep Pin
Gil Goodridge14-Nov-12 8:00
memberGil Goodridge14-Nov-12 8:00 
AnswerRe: messagebeep Pin
Dave Kreskowiak14-Nov-12 8:31
mvpDave Kreskowiak14-Nov-12 8:31 
QuestionRijndael encryption not working Pin
maskrtnik0114-Nov-12 2:20
membermaskrtnik0114-Nov-12 2:20 
AnswerRe: Rijndael encryption not working Pin
Keith Barrow14-Nov-12 2:52
mentorKeith Barrow14-Nov-12 2:52 
GeneralRe: Rijndael encryption not working Pin
maskrtnik0114-Nov-12 3:08
membermaskrtnik0114-Nov-12 3:08 
GeneralRe: Rijndael encryption not working Pin
Keith Barrow14-Nov-12 3:26
mentorKeith Barrow14-Nov-12 3:26 
GeneralRe: Rijndael encryption not working Pin
Keith Barrow14-Nov-12 3:35
mentorKeith Barrow14-Nov-12 3:35 
GeneralRe: Rijndael encryption not working Pin
maskrtnik0114-Nov-12 3:48
membermaskrtnik0114-Nov-12 3:48 
GeneralRe: Rijndael encryption not working Pin
Keith Barrow14-Nov-12 4:05
mentorKeith Barrow14-Nov-12 4:05 
QuestionRe: Rijndael encryption not working [modified] Pin
maskrtnik0115-Nov-12 19:40
membermaskrtnik0115-Nov-12 19:40 
GeneralRe: Rijndael encryption not working Pin
DisIsHoody14-Nov-12 9:34
memberDisIsHoody14-Nov-12 9:34 
GeneralRe: Rijndael encryption not working Pin
maskrtnik0114-Nov-12 18:21
membermaskrtnik0114-Nov-12 18:21 
AnswerRe: Rijndael encryption not working Pin
DisIsHoody15-Nov-12 17:37
memberDisIsHoody15-Nov-12 17:37 
GeneralRe: Rijndael encryption not working Pin
maskrtnik0115-Nov-12 19:37
membermaskrtnik0115-Nov-12 19:37 
QuestionRetrive date from sql server in system date format in VB6 application by a one time setting Pin
Johnson Antony13-Nov-12 13:34
memberJohnson Antony13-Nov-12 13:34 
AnswerRe: Retrive date from sql server in system date format in VB6 application by a one time setting Pin
Dave Kreskowiak13-Nov-12 14:00
mvpDave Kreskowiak13-Nov-12 14:00 
QuestionHow to find out if a file is in use before reading the data in that file Pin
KreativeKai13-Nov-12 7:47
memberKreativeKai13-Nov-12 7:47 
AnswerRe: How to find out if a file is in use before reading the data in that file Pin
Dave Kreskowiak13-Nov-12 8:09
mvpDave Kreskowiak13-Nov-12 8:09 
GeneralRe: How to find out if a file is in use before reading the data in that file Pin
KreativeKai13-Nov-12 8:22
memberKreativeKai13-Nov-12 8:22 
GeneralRe: How to find out if a file is in use before reading the data in that file Pin
KreativeKai13-Nov-12 8:46
memberKreativeKai13-Nov-12 8:46 
AnswerRe: How to find out if a file is in use before reading the data in that file Pin
KreativeKai13-Nov-12 8:13
memberKreativeKai13-Nov-12 8:13 
GeneralRe: How to find out if a file is in use before reading the data in that file [modified] Pin
Dave Kreskowiak13-Nov-12 9:57
mvpDave Kreskowiak13-Nov-12 9:57 
AnswerRe: How to find out if a file is in use before reading the data in that file Pin
Eddy Vluggen13-Nov-12 11:41
memberEddy Vluggen13-Nov-12 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 2 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid