Click here to Skip to main content
       

Visual Basic

 
QuestionReading Complex Type from WSDL Pinmemberasv17-Nov-12 15:47 
AnswerRe: Reading Complex Type from WSDL PinmemberZac Greve17-Nov-12 17:56 
GeneralRe: Reading Complex Type from WSDL Pinmemberasv17-Nov-12 19:35 
QuestionSQL functions in VB PinmemberNaseerKhanPattan17-Nov-12 7:28 
AnswerRe: SQL functions in VB PinmemberEddy Vluggen17-Nov-12 10:36 
QuestionFinding a Row in a Datatable and putting the row to variables PinmemberJRHibner14-Nov-12 19:37 
AnswerRe: Finding a Row in a Datatable and putting the row to variables PinmemberAndy_L_J15-Nov-12 20:48 
GeneralRe: Finding a Row in a Datatable and putting the row to variables [modified] PinmemberJRHibner18-Nov-12 17: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 PinmemberAndy_L_J18-Nov-12 21:45 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberJRHibner18-Nov-12 21:55 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberAndy_L_J18-Nov-12 22:33 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberJRHibner18-Nov-12 22:36 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberJRHibner27-Nov-12 20:28 
AnswerRe: Finding a Row in a Datatable and putting the row to variables PinmemberAndy_L_J27-Nov-12 21:56 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberJRHibner28-Nov-12 0:40 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberAndy_L_J28-Nov-12 1:20 
GeneralRe: Finding a Row in a Datatable and putting the row to variables PinmemberJRHibner28-Nov-12 11:35 
QuestionChanging Assembly Properties through Reflection PinmemberDisIsHoody14-Nov-12 10:38 
AnswerRe: Changing Assembly Properties through Reflection PinmemberEddy Vluggen15-Nov-12 2:18 
GeneralRe: Changing Assembly Properties through Reflection PinmemberDisIsHoody15-Nov-12 18:14 
GeneralRe: Changing Assembly Properties through Reflection PinmemberEddy Vluggen16-Nov-12 1:06 
Questionmessagebeep PinmemberGil Goodridge14-Nov-12 9:00 
AnswerRe: messagebeep PinmvpDave Kreskowiak14-Nov-12 9:31 
QuestionRijndael encryption not working Pinmembermaskrtnik0114-Nov-12 3:20 
AnswerRe: Rijndael encryption not working PinmentorKeith Barrow14-Nov-12 3:52 

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
Web04 | 2.8.1411023.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid