A.ExecuteNonQuery()方法返回執(zhí)行Sql語句所影響的行數(shù)。 B.Select操作的Sql語句只能由ExecuteReader()方法來執(zhí)行。 C.insert、updatdelete等操作的Sql語句主要用ExecuteNonQuery()方法來執(zhí)行。 D.ExecuteReader()方法返回一個(gè)DataReder對(duì)象。
A.使用DataSet.Reset方法. B.使用一個(gè)過濾器表達(dá)式來設(shè)置DataSet對(duì)象的RowFilter屬性 C.創(chuàng)建一個(gè)DataView對(duì)象,并使用一個(gè)過濾器表達(dá)式來設(shè)置RowFilter屬性 D.創(chuàng)建一個(gè)DataView對(duì)象,并使用一個(gè)過濾器表達(dá)式來設(shè)置RowStateFilter屬性
A.ResponsCachSetExpires(DateTimNow.AddSeconds(300))ResponsCachVaryByParams("?")=true B.ResponsCachSetExpires(DateTimNow.AddSeconds(300))ResponsCachVaryByParams("All")=true C.ResponsCachSetCacheability(HttpCacheability.Public)ResponsCachSetLastModified(DateTimParse("00:05:00"))ResponsCachVaryByParams("All")=true D.ResponsCachSetCacheability(HttpCacheability.PublicResponsCachSetExpires(DateTimNow.AddSeconds(300))ResponsCachVaryByParams("*")=true