Click here to Skip to main content
12,885,022 members (30,426 online)

Visual Basic

 
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 
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 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 Pin
JRHibner18-Nov-12 16:15
memberJRHibner18-Nov-12 16:15 
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 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.170424.1 | Last Updated 24 Apr 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid