一、SqlCommand介紹
SqlCommand對(duì)象允許你指定在數(shù)據(jù)庫上執(zhí)行的操作的類型。比如,你能夠?qū)?shù)據(jù)庫中的行數(shù)據(jù)執(zhí)行select,insert,modify以及delete命令。 1.創(chuàng)建SqlCommand對(duì)象 SqlCommand cmd new SqlCommand(“select email from userinfo”…