<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=ASP.Net%2FADO.net_Database%2FOleDbCommandBuilder</id>
		<title>ASP.Net/ADO.net Database/OleDbCommandBuilder - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=ASP.Net%2FADO.net_Database%2FOleDbCommandBuilder"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=ASP.Net/ADO.net_Database/OleDbCommandBuilder&amp;action=history"/>
		<updated>2026-04-29T19:52:19Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=ASP.Net/ADO.net_Database/OleDbCommandBuilder&amp;diff=1618&amp;oldid=prev</id>
		<title> в 15:30, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=ASP.Net/ADO.net_Database/OleDbCommandBuilder&amp;diff=1618&amp;oldid=prev"/>
				<updated>2010-05-26T15:30:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:30, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=ASP.Net/ADO.net_Database/OleDbCommandBuilder&amp;diff=1619&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=ASP.Net/ADO.net_Database/OleDbCommandBuilder&amp;diff=1619&amp;oldid=prev"/>
				<updated>2010-05-26T11:50:59Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Get command from OleDbCommandBuilder==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;%@ Import Namespace=&amp;quot;System.Data&amp;quot; %&amp;gt;&lt;br /&gt;
&amp;lt;%@ Import Namespace=&amp;quot;System.Data.OleDb&amp;quot; %&amp;gt;&lt;br /&gt;
&amp;lt;script language=&amp;quot;VB&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;
  Sub Page_Load(Sender As Object, E As EventArgs)&lt;br /&gt;
    Dim strConnection As String&lt;br /&gt;
    Dim strSQL        As String&lt;br /&gt;
    Dim objDataSet    As New DataSet()&lt;br /&gt;
    Dim objConnection As OleDbConnection&lt;br /&gt;
    Dim objAdapter    As OleDbDataAdapter&lt;br /&gt;
    Dim objCommand    As OleDbCommand&lt;br /&gt;
    Dim objBuilder    As OleDbCommandBuilder&lt;br /&gt;
    &amp;quot; set the connection and query details&lt;br /&gt;
    strConnection = &amp;quot;Provider=Microsoft.Jet.OLEDB.4.0; &amp;quot; &amp;amp; _&lt;br /&gt;
                    &amp;quot;Data Source=c:\Northwind.mdb&amp;quot;&lt;br /&gt;
    strSQL = &amp;quot;SELECT EmployeeID, FirstName, LastName FROM Employees&amp;quot;&lt;br /&gt;
    &amp;quot; open the connection and set the command&lt;br /&gt;
    objConnection = New OledbConnection(strConnection)&lt;br /&gt;
    objAdapter = New OledbDataAdapter(strSQL, objConnection)&lt;br /&gt;
    &amp;quot; create the other commands&lt;br /&gt;
    objBuilder = New OleDbCommandBuilder(objAdapter)&lt;br /&gt;
    objAdapter.UpdateCommand = objBuilder.GetUpdateCommand()&lt;br /&gt;
    objAdapter.InsertCommand = objBuilder.GetInsertCommand()&lt;br /&gt;
    objAdapter.DeleteCommand = objBuilder.GetDeleteCommand()&lt;br /&gt;
    &lt;br /&gt;
    &amp;quot; now display the CommandText property from each command&lt;br /&gt;
    lblSelectCommand.Text = objAdapter.SelectCommand.rumandText&lt;br /&gt;
    lblUpdateCommand.Text = objAdapter.UpdateCommand.rumandText&lt;br /&gt;
    lblInsertCommand.Text = objAdapter.InsertCommand.rumandText&lt;br /&gt;
    lblDeleteCommand.Text = objAdapter.DeleteCommand.rumandText&lt;br /&gt;
  End Sub&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
 &amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;Command&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;CommandText&amp;lt;/td&amp;gt;&lt;br /&gt;
   &amp;lt;/tr&amp;gt;&lt;br /&gt;
   &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;SelectCommand&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;asp:Label id=&amp;quot;lblSelectCommand&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/tr&amp;gt;&lt;br /&gt;
   &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;UpdateCommand&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;asp:Label id=&amp;quot;lblUpdateCommand&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/tr&amp;gt;&lt;br /&gt;
   &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;InsertCommand &amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;asp:Label id=&amp;quot;lblInsertCommand&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/tr&amp;gt;&lt;br /&gt;
   &amp;lt;tr&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;DeleteCommand&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;td&amp;gt;&amp;lt;asp:Label id=&amp;quot;lblDeleteCommand&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/tr&amp;gt;&lt;br /&gt;
  &amp;lt;/table&amp;gt;&lt;br /&gt;
 &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>