Click here to Skip to main content
15,889,116 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen12-Mar-18 11:27
professionalEddy Vluggen12-Mar-18 11:27 
GeneralRe: I have a question about Visual Basic and Databases... Pin
D. Doulas19-Mar-18 10:13
D. Doulas19-Mar-18 10:13 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen19-Mar-18 10:42
professionalEddy Vluggen19-Mar-18 10:42 
AnswerRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen11-Mar-18 2:08
professionalEddy Vluggen11-Mar-18 2:08 
GeneralRe: I have a question about Visual Basic and Databases... Pin
D. Doulas11-Mar-18 10:43
D. Doulas11-Mar-18 10:43 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen11-Mar-18 10:58
professionalEddy Vluggen11-Mar-18 10:58 
QuestionI am trying to change code from vb6 to vb.net but I am getting error Pin
Member 107545958-Mar-18 8:30
Member 107545958-Mar-18 8:30 
AnswerRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Maciej Los8-Mar-18 9:05
mveMaciej Los8-Mar-18 9:05 
A DataSet object is totally different to ADODB.Recordset!

To be able to read data from DataSet, you have to refer to DataTable object corresponding to data you fetched from.
VB
Dim dt As DataTable = YourDataSet.DataTables("YourTableName")
For Each r As DataRow in dt.Rows
    'code to load data into windows controls
Next
'or
Dim singleRecord = YourDataSet.DataTables("YourTableName").Rows(0)
txtPart.Text = singleRecord("PART_NUM").Value

Another way to get data from DataSet is to use Linq. See: Queries in LINQ to DataSet | Microsoft Docs
GeneralRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Member 107545959-Mar-18 3:03
Member 107545959-Mar-18 3:03 
GeneralRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Dave Kreskowiak9-Mar-18 9:37
mveDave Kreskowiak9-Mar-18 9:37 
AnswerRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Eddy Vluggen9-Mar-18 4:11
professionalEddy Vluggen9-Mar-18 4:11 
QuestionHow to display an image in a center of a form Pin
desanti7-Mar-18 9:51
desanti7-Mar-18 9:51 
AnswerRe: How to display an image in a center of a form Pin
Gerry Schmitz7-Mar-18 10:56
mveGerry Schmitz7-Mar-18 10:56 
GeneralRe: How to display an image in a center of a form Pin
desanti7-Mar-18 11:07
desanti7-Mar-18 11:07 
AnswerRe: How to display an image in a center of a form Pin
Eddy Vluggen8-Mar-18 1:45
professionalEddy Vluggen8-Mar-18 1:45 
AnswerRe: How to display an image in a center of a form Pin
Eddy Vluggen9-Mar-18 5:41
professionalEddy Vluggen9-Mar-18 5:41 
QuestionForm topmost only within application Pin
desanti7-Mar-18 9:47
desanti7-Mar-18 9:47 
AnswerRe: Form topmost only within application Pin
Gerry Schmitz7-Mar-18 10:53
mveGerry Schmitz7-Mar-18 10:53 
GeneralRe: Form topmost only within application Pin
desanti7-Mar-18 11:07
desanti7-Mar-18 11:07 
AnswerRe: Form topmost only within application Pin
Eddy Vluggen8-Mar-18 1:46
professionalEddy Vluggen8-Mar-18 1:46 
QuestionAdd text to richtextbox at design time: Resolved Pin
mo14926-Mar-18 2:20
mo14926-Mar-18 2:20 
QuestionHow to check if user doesn't select anything in combobox. Pin
hmanhha27-Feb-18 4:35
hmanhha27-Feb-18 4:35 
AnswerRe: How to check if user doesn't select anything in combobox. Pin
phil.o27-Feb-18 5:56
professionalphil.o27-Feb-18 5:56 
GeneralRe: How to check if user doesn't select anything in combobox. Pin
hmanhha27-Feb-18 15:04
hmanhha27-Feb-18 15:04 
AnswerRe: How to check if user doesn't select anything in combobox. Pin
Ralf Meier28-Feb-18 0:44
mveRalf Meier28-Feb-18 0:44 

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.