跳至內容
選單
此問題已被標幟
1769 瀏覽次數

Hi

I want to insert the records in dataset ds in to another table(another database and server). What should i do write in the select statement.
sda = New NpgsqlDataAdapter(pgCommand)
sda.Fill(ds)
pgCommand1.CommandText = "INSERT INTO public.tab2 (SELECT * FROM ds)"

Thanks


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 24
1359
3
11月 23
1586
1
8月 23
3630
4
3月 15
11617
2
3月 15
6515