0

テーブルに画像フィールドが含まれている場合、その画像フィールドを次のように別のテーブルに挿入する必要があります。

SqlDataAdapter da = new SqlDataAdapter(select id,stdpic from student)
dt.Clear(); da.Fill(dt);
insert into team(teamid,teampic)values('"+dt.Rows[0][0].tostring()+"','"+dt.Rows[0][1].tostring()+"')

どうやってするの?

4

1 に答える 1