Click here to Skip to main content
15,879,239 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Starting program with a command line parameter Pin
Sasha Laurel15-May-12 13:40
Sasha Laurel15-May-12 13:40 
AnswerRe: Starting program with a command line parameter Pin
pcusr806-Jun-12 3:57
pcusr806-Jun-12 3:57 
QuestionDRAG & DROP LABELS SWAP Pin
User 871522210-May-12 0:57
professionalUser 871522210-May-12 0:57 
AnswerRe: DRAG & DROP LABELS SWAP Pin
Dave Kreskowiak10-May-12 2:21
mveDave Kreskowiak10-May-12 2:21 
AnswerRe: DRAG & DROP LABELS SWAP Pin
User 871522210-May-12 23:11
professionalUser 871522210-May-12 23:11 
QuestionGet currency conversion from website Pin
wouterv819-May-12 13:33
wouterv819-May-12 13:33 
AnswerRe: Get currency conversion from website Pin
Dave Kreskowiak9-May-12 18:44
mveDave Kreskowiak9-May-12 18:44 
QuestionThis row already belongs to this table error Pin
rusydan.khir9-May-12 7:03
rusydan.khir9-May-12 7:03 
I got an error and i have tried so many ways to solve it..but still got error..
my table have 3 columns.. SID(autonumber), movieid(text),seat(text)..
i want to store splitword(1) into movie ID and for the rest splitword(i) where i = 3 , 4 ,5 6 and so on..... store in seat columns with new row..
sorry for bad english..
this is my code:

VB
Dim index As Integer = 2
Dim testsplit As String = "Book 9 j18 d7 d8 a9"
        Dim SplitWord() As String = testsplit.Split(" ")
        Dim wc As Integer = SplitWord.Length - 1
                Do While index <= wc

                    SeatNewRow.Item("MovieID") = SplitWord(1)
                    SeatNewRow.Item("Seat") = SplitWord(index)

                    SeatDS.Tables("Seat").Rows.Add(SeatNewRow)
                    index += 1
                Loop

                SeatDA.Update(SeatDS, "Seat")


modified 9-May-12 13:20pm.

AnswerRe: This row already belongs to this table error Pin
Dave Kreskowiak9-May-12 10:23
mveDave Kreskowiak9-May-12 10:23 
GeneralRe: This row already belongs to this table error Pin
rusydan.khir9-May-12 18:27
rusydan.khir9-May-12 18:27 
GeneralRe: This row already belongs to this table error Pin
Dave Kreskowiak9-May-12 18:46
mveDave Kreskowiak9-May-12 18:46 
GeneralRe: This row already belongs to this table error Pin
rusydan.khir9-May-12 18:49
rusydan.khir9-May-12 18:49 
GeneralRe: This row already belongs to this table error Pin
rusydan.khir9-May-12 19:01
rusydan.khir9-May-12 19:01 
Questionstrange behavior on adding controls to a form Pin
Ahmad_kelany8-May-12 22:22
Ahmad_kelany8-May-12 22:22 
AnswerRe: strange behavior on adding controls to a form Pin
Dave Kreskowiak9-May-12 10:20
mveDave Kreskowiak9-May-12 10:20 
QuestionHow can I get a sender object of a control handle in VB.net? Pin
Member 37460768-May-12 13:27
Member 37460768-May-12 13:27 
AnswerRe: How can I get a sender object of a control handle in VB.net? Pin
Midnight Ahri8-May-12 15:16
Midnight Ahri8-May-12 15:16 
GeneralRe: How can I get a sender object of a control handle in VB.net? Pin
Member 37460769-May-12 6:55
Member 37460769-May-12 6:55 
AnswerRe: How can I get a sender object of a control handle in VB.net? Pin
Eddy Vluggen9-May-12 0:10
professionalEddy Vluggen9-May-12 0:10 
GeneralRe: How can I get a sender object of a control handle in VB.net? Pin
Member 37460769-May-12 7:06
Member 37460769-May-12 7:06 
AnswerRe: How can I get a sender object of a control handle in VB.net? Pin
Eddy Vluggen9-May-12 7:19
professionalEddy Vluggen9-May-12 7:19 
GeneralRe: How can I get a sender object of a control handle in VB.net? Pin
Member 37460769-May-12 7:16
Member 37460769-May-12 7:16 
Questionabout datagridview in vb.net ?? Pin
Ahmad_kelany8-May-12 9:57
Ahmad_kelany8-May-12 9:57 
AnswerRe: about datagridview in vb.net ?? Pin
JohnPayton8-May-12 12:52
JohnPayton8-May-12 12:52 
GeneralRe: about datagridview in vb.net ?? Pin
Ahmad_kelany8-May-12 20:52
Ahmad_kelany8-May-12 20:52 

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.