Click here to Skip to main content
       

Visual Basic

 
AnswerRe: Export Data from Gridview to Sql Server PinmemberBert Mitton19-Nov-12 9:21 
GeneralRe: Export Data from Gridview to Sql Server PinmemberEddy Vluggen19-Nov-12 10:48 
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 
Hello,
 
I'm working on a project with a database. I'm taking the selected item from a databound Combobox and using the selected text to get a row from another table.
 
I'm using:
Microsoft Visual Basic 2008, Professional Edition
 
Here's the code:
sStringTemp2 = "Name = '" + sStringTemp + "'"
Dim tRow As DataRow() = tPlazimBases.Select(sStringTemp2)
 
When I set a watch for my row variable it shows it loaded the specific row from the table. But I'm unable to figure out how to put that row data in to text boxes or strings.Confused | :confused:
 
I'm not sure if when I did the 'select' function if that moved the selected row of the datatable to the row I'm looking for and I should then refer back to the datatable
 
or
 
If I should be using the tRow directly to get my information to load into form components
 
Any links or code samples would be appreciated!!Thumbs Up | :thumbsup:
 
Thank you for any help!
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 
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 

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
Web02 | 2.8.141216.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid