File: SqlDataSourceMode.xml

package info (click to toggle)
mono 6.14.1%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,282,732 kB
  • sloc: cs: 11,182,461; xml: 2,850,281; ansic: 699,123; cpp: 122,919; perl: 58,604; javascript: 30,841; asm: 21,845; makefile: 19,602; sh: 10,973; python: 4,772; pascal: 925; sql: 859; sed: 16; php: 1
file content (59 lines) | stat: -rw-r--r-- 3,949 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<Type Name="SqlDataSourceMode" FullName="System.Web.UI.WebControls.SqlDataSourceMode">
  <TypeSignature Language="C#" Value="public enum SqlDataSourceMode" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.UI.WebControls.SqlDataSourceMode" /> enumeration is used by the <see cref="T:System.Web.UI.WebControls.SqlDataSource" /> and <see cref="T:System.Web.UI.WebControls.AccessDataSource" /> controls to describe the data retrieval mode that the data source control uses when the <see cref="M:System.Web.UI.WebControls.SqlDataSource.Select(System.Web.UI.DataSourceSelectArguments)" /> method is called. When the <see cref="P:System.Web.UI.WebControls.SqlDataSource.DataSourceMode" /> property is set to <see cref="F:System.Web.UI.WebControls.SqlDataSourceMode.DataSet" />, data is loaded into a <see cref="T:System.Data.DataSet" /> structure. This enables scenarios where user interface controls such as <see cref="T:System.Web.UI.WebControls.GridView" /> offer sorting and paging capabilities. When the <see cref="P:System.Web.UI.WebControls.SqlDataSource.DataSourceMode" /> property is set to <see cref="F:System.Web.UI.WebControls.SqlDataSourceMode.DataReader" />, data is retrieved by an <see cref="T:System.Data.IDataReader" /> object, which is a read-only, forward-only cursor.</para>
      <para>The <see cref="T:System.Web.UI.WebControls.SqlDataSourceMode" /> enumeration is only used to describe how the <see cref="M:System.Web.UI.WebControls.SqlDataSource.Select(System.Web.UI.DataSourceSelectArguments)" /> command retrieves data; it has no effect on other operations the <see cref="T:System.Web.UI.WebControls.SqlDataSource" /> control performs, such as <see cref="M:System.Web.UI.WebControls.SqlDataSource.Insert" />, <see cref="M:System.Web.UI.WebControls.SqlDataSource.Update" />, or <see cref="M:System.Web.UI.WebControls.SqlDataSource.Delete" />.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Specifies whether a <see cref="T:System.Web.UI.WebControls.SqlDataSource" /> or <see cref="T:System.Web.UI.WebControls.AccessDataSource" /> control retrieves data as a <see cref="T:System.Data.IDataReader" /> or <see cref="T:System.Data.DataSet" />.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="DataReader">
      <MemberSignature Language="C#" Value="DataReader" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.SqlDataSourceMode</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Retrieves data from the underlying data storage as an <see cref="T:System.Data.IDataReader" /></para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="DataSet">
      <MemberSignature Language="C#" Value="DataSet" />
      <MemberType>Field</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.SqlDataSourceMode</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Retrieves data from the underlying data storage into a <see cref="T:System.Data.DataSet" /> structure.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>