Click here to Skip to main content
15,902,777 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to get the ProcessID of any object initialized by applicaiton ? Pin
Yona Low2-Nov-06 3:44
Yona Low2-Nov-06 3:44 
QuestionHelp, please Pin
alexfromto1-Nov-06 3:00
alexfromto1-Nov-06 3:00 
AnswerRe: Help, please Pin
Are Jay1-Nov-06 10:23
Are Jay1-Nov-06 10:23 
GeneralRe: Help, please Pin
alexfromto1-Nov-06 10:35
alexfromto1-Nov-06 10:35 
QuestionInstalling a Windows Service Pin
steve.borman1-Nov-06 1:27
steve.borman1-Nov-06 1:27 
QuestionWhat is the use of application Pin
garimajain_mca1-Nov-06 1:15
garimajain_mca1-Nov-06 1:15 
AnswerRe: What is the use of application Pin
nlarson111-Nov-06 10:17
nlarson111-Nov-06 10:17 
Questioncopy dataset to dataset Pin
K edar V1-Nov-06 0:32
K edar V1-Nov-06 0:32 
i want to copy one database to another using following approach:-
fill dataset1 from adapter1
copy dataset1 to dataset2
update database from dataset2 using adapter2.


But error here is:- Update unable to find TableMapping['Table'] or
DataTable 'Table'.
On Following line:- adapter.Update(ds2)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
LoadFBGrid()
loadDS2()
copyds1to2()
End Sub
Public Sub copyds1to2()
Dim cmdBuilder As FbCommandBuilder = New FbCommandBuilder(adapter2)
ds2 = ds.Copy
adapter.Update(ds2)
End Sub
Public Sub loadDS2()
Try
ds2 = New DataSet("Destination")
con2 = New FbConnection(connectionString2)
con2.Open()
adapter2 = New FbDataAdapter("Select * from Students", con2)
adapter2.Fill(ds2, "Studets")
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Public Sub LoadFBGrid()
Try
ds = New DataSet("Source")
con = New FbConnection(connectionString)
con.Open()
adapter = New FbDataAdapter("Select * from Students", con)
dt = New DataTable("Students")
adapter.Fill(ds, "Studets") ' copy ds change
adapter.Fill(dt)
DataGrid1.DataSource = dt
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub

"You can do any thing you set to your mind" - theGhost_k8

AnswerRe: copy dataset to dataset Pin
Are Jay1-Nov-06 10:53
Are Jay1-Nov-06 10:53 
GeneralRe: copy dataset to dataset Pin
K edar V1-Nov-06 17:40
K edar V1-Nov-06 17:40 
QuestionWeird Error Pin
Muntyness1-Nov-06 0:09
Muntyness1-Nov-06 0:09 
AnswerRe: Weird Error Pin
OldWarhorse1-Nov-06 1:55
OldWarhorse1-Nov-06 1:55 
GeneralRe: Weird Error Pin
Muntyness1-Nov-06 4:00
Muntyness1-Nov-06 4:00 
GeneralRe: Weird Error Pin
OldWarhorse1-Nov-06 13:55
OldWarhorse1-Nov-06 13:55 
GeneralRe: Weird Error Pin
OldWarhorse2-Nov-06 3:13
OldWarhorse2-Nov-06 3:13 
QuestionHow can I pop up a window in VB.net? Pin
walalawll31-Oct-06 21:52
walalawll31-Oct-06 21:52 
AnswerRe: How can I pop up a window in VB.net? Pin
just3ala231-Oct-06 22:49
just3ala231-Oct-06 22:49 
GeneralRe: How can I pop up a window in VB.net? Pin
walalawll31-Oct-06 23:01
walalawll31-Oct-06 23:01 
GeneralRe: How can I pop up a window in VB.net? Pin
just3ala21-Nov-06 0:30
just3ala21-Nov-06 0:30 
GeneralRe: How can I pop up a window in VB.net? Pin
walalawll1-Nov-06 13:47
walalawll1-Nov-06 13:47 
GeneralRe: How can I pop up a window in VB.net? Pin
just3ala21-Nov-06 20:21
just3ala21-Nov-06 20:21 
AnswerRe: How can I pop up a window in VB.net? Pin
OldWarhorse2-Nov-06 2:19
OldWarhorse2-Nov-06 2:19 
QuestionFile Search Pin
Xmen Real 31-Oct-06 21:40
professional Xmen Real 31-Oct-06 21:40 
AnswerRe: File Search Pin
nlarson111-Nov-06 6:21
nlarson111-Nov-06 6:21 
GeneralRe: File Search Pin
Xmen Real 1-Nov-06 23:28
professional Xmen Real 1-Nov-06 23:28 

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.