Код: Выделить всё
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()+"')
Подробнее здесь: https://stackoverflow.com/questions/526 ... ther-table
Мобильная версия