Click here to Skip to main content
15,906,816 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Online handwriting recognition system using vector machine Pin
HafiqWiselman21-Nov-12 3:22
HafiqWiselman21-Nov-12 3:22 
QuestionControlling Monitor brightness from VB6 Pin
Muhammed Niyas19-Nov-12 23:59
Muhammed Niyas19-Nov-12 23:59 
AnswerRe: Controlling Monitor brightness from VB6 Pin
Simon_Whale20-Nov-12 0:12
Simon_Whale20-Nov-12 0:12 
QuestionExport Data from Gridview to Sql Server Pin
Nag242518-Nov-12 18:22
Nag242518-Nov-12 18:22 
AnswerRe: Export Data from Gridview to Sql Server Pin
Eddy Vluggen19-Nov-12 0:01
professionalEddy Vluggen19-Nov-12 0:01 
AnswerRe: Export Data from Gridview to Sql Server Pin
Bert Mitton19-Nov-12 8:21
professionalBert Mitton19-Nov-12 8:21 
GeneralRe: Export Data from Gridview to Sql Server Pin
Eddy Vluggen19-Nov-12 9:48
professionalEddy Vluggen19-Nov-12 9:48 
QuestionReading Complex Type from WSDL Pin
asv17-Nov-12 14:47
asv17-Nov-12 14:47 
AnswerRe: Reading Complex Type from WSDL Pin
Brisingr Aerowing17-Nov-12 16:56
professionalBrisingr Aerowing17-Nov-12 16:56 
GeneralRe: Reading Complex Type from WSDL Pin
asv17-Nov-12 18:35
asv17-Nov-12 18:35 
QuestionSQL functions in VB Pin
NaseerKhanPattan17-Nov-12 6:28
NaseerKhanPattan17-Nov-12 6:28 
AnswerRe: SQL functions in VB Pin
Eddy Vluggen17-Nov-12 9:36
professionalEddy Vluggen17-Nov-12 9:36 
QuestionFinding a Row in a Datatable and putting the row to variables Pin
JRHibner14-Nov-12 18:37
JRHibner14-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
Andy_L_J15-Nov-12 19:48 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner18-Nov-12 16:15
JRHibner18-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
Andy_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
JRHibner18-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
Andy_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
JRHibner18-Nov-12 21:36 
GeneralRe: Finding a Row in a Datatable and putting the row to variables Pin
JRHibner27-Nov-12 19:28
JRHibner27-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
Andy_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
JRHibner27-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
Andy_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
JRHibner28-Nov-12 10:35 
QuestionChanging Assembly Properties through Reflection Pin
Dominick Marciano14-Nov-12 9:38
professionalDominick Marciano14-Nov-12 9:38 

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

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