<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Fox4um - .Net]]></title>
	<link rel="self" href="http://www.fox4um.com/feed/atom/forum/47/"/>
	<updated>2012-02-07T16:10:27Z</updated>
	<generator>PunBB</generator>
	<id>http://www.fox4um.com/</id>
		<entry>
			<title type="html"><![CDATA[C# Tabs,TabStyle]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2112/c-tabstabstyle/new/posts/"/>
			<summary type="html"><![CDATA[<p>C#&nbsp; tabControl&#039;de,
<br />Foxtaki Pageframedeki&nbsp; gibi tabs ve tabstyle özellikleri bildiğim kadarıyla yok.
<br />Bu özellikleri sağlayan başka özellikler var mıdır, yoksa alternatifler nedir?
</p><p>Cevap verenlere şimdiden teşekkür ederim.</p>]]></summary>
			<author>
				<name><![CDATA[cetinbasoz]]></name>
				<uri>http://www.fox4um.com/user/7/</uri>
			</author>
			<updated>2012-02-07T16:10:27Z</updated>
			<id>http://www.fox4um.com/topic/2112/c-tabstabstyle/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[elterminali programı]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2105/elterminali-programi/new/posts/"/>
			<summary type="html"><![CDATA[<p>Arkadaslar bana kodları ile beraber&nbsp; delph veya vb te yazılmış&nbsp; elterminali programı gerekiyor.&nbsp; kodları ile beraber istiyorum çünki ben daha sonra bu kodlar uzerınde musterı ıstegıne gore kucuk degısıklıkler yapacagım.Bilmediğim bir konuda sıfırdan olusturmak cok zamanımı alır. ama hazır birşey üzerinde değişiklik yapmak benım ıcın cok daha rahat olacaktır. Modüller basit ve gayet sade olabilir İstedigim moduller . 
<br />1.Cari kart
<br />2,Stok kart
<br />3,Fatura&nbsp; 
<br />4.sayım fişi
<br />5,Tahsilat -Ödeme 
</p><p>Not : (cari ve stok Kartlardaki field &#039;ler&nbsp; sadece temel bilgiler olacak .Detayları ben eklerım)
</p><p>Program of-line ve on-line çalışabilmeli (Parametrik olacka kullanıcı bunu baştan seçimini yapacak) 
<br />Of-line sahada kullanılırken kendi içerisine kaydedecek&nbsp; .(içeriye cari ve stok kartı alcak. Fatura ve tahsilatları gönderecek (Text dosya olabilir))
<br />Ofline &#039;ken Cari bakiye tutabilmeli ve&nbsp; kasa fişleri bakiyeden düşebilmeli. Fatura yazdırırken&nbsp; son bakiyeyi yazdırabilmek için
</p><p>Online ise wrles üzeründen baglandıgı serverdeki paket programa ait sql database üzerinde çalışacak.
</p><p>Bununla ilgili yardımcı olabilecek bir arkdaş varsa maliyet ve detayları şu mail adresinden görüşebilirz. (petkomahmet@hotmail.com)
<br />Tesekkurler.</p>]]></summary>
			<author>
				<name><![CDATA[petkomahmet]]></name>
				<uri>http://www.fox4um.com/user/512/</uri>
			</author>
			<updated>2012-01-27T23:33:57Z</updated>
			<id>http://www.fox4um.com/topic/2105/elterminali-programi/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[c# ile hazırlanmış bir dll i vfp'de kullanmak?]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2080/c-ile-hazirlanmis-bir-dll-i-vfpde-kullanmak/new/posts/"/>
			<summary type="html"><![CDATA[<p>merhaba,
<br />c# ile hazırlanan bir dll i vfp de kullanmak için nasıl bir yol izlemeliyim.
</p><p>şimdiden teşekkürler.</p>]]></summary>
			<author>
				<name><![CDATA[fmkaya]]></name>
				<uri>http://www.fox4um.com/user/864/</uri>
			</author>
			<updated>2011-12-28T17:09:04Z</updated>
			<id>http://www.fox4um.com/topic/2080/c-ile-hazirlanmis-bir-dll-i-vfpde-kullanmak/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Vb.net Mobile Cihazlarda Id alma]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2033/vbnet-mobile-cihazlarda-id-alma/new/posts/"/>
			<summary type="html"><![CDATA[<p>Öncelikle Herkese Merhabalar
<br />El Terminalinde cihaz Id aldırmak için araştırmalarım sonucunda şöyle bi elimde şöyle bi kod var
<br /></p><div class="codebox"><div class="head">SQL</div><table class="sql fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br />2
<br />3
<br />4
<br />5
<br />6
<br />7
<br />8
<br />9
<br />10
<br />11
<br />12
<br />13
<br />14
<br />15
<br />16
<br />17
<br />18
<br />19
<br />20
<br />21
<br />22
<br />23
<br />24
<br />25
<br />26
<br />27
<br />28
<br />29
<br />30
<br />31
<br />32
<br />33
<br />34
<br />35
<br />36
<br />37
<br />38
<br />39
<br />40
<br />41
<br />42
<br />43
<br />44
<br />45
<br />46
<br />47
<br />48
<br />49
<br />50
<br />51
<br />52
<br />53
<br />54
<br />55
<br />56
<br />57
<br />58
<br />59
<br />60
<br />61
<br />62
<br />63
<br />64
<br />65
<br />66
<br />67
<br />68
<br />69
<br />70
<br />71
<br />72
<br />73
<br />74
<br />75
<br />76
<br />77
<br />78
<br />79
<br />80
<br />81
<br />82
<br />83
<br />84
<br />85
<br />86
<br />87
<br />88
<br /></pre></td><td class="de1"><pre class="de1">Declare <span class="kw1">FUNCTION</span> KernelIoControl Lib <span class="st0">&quot;CoreDll.dll&quot;</span> _
<br />&nbsp;<span class="br0">&#40;</span>ByVal dwIoControlCode <span class="kw1">AS</span> Int32<span class="sy0">,</span> _
<br />&nbsp;ByVal lpInBuf <span class="kw1">AS</span> IntPtr<span class="sy0">,</span> _
<br />&nbsp;ByVal nInBufSize <span class="kw1">AS</span> Int32<span class="sy0">,</span> _
<br />&nbsp;ByVal lpOutBuf<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw1">AS</span> Byte<span class="sy0">,</span> _
<br />&nbsp;ByVal nOutBufSize <span class="kw1">AS</span> Int32<span class="sy0">,</span> _
<br />&nbsp;ByRef lpBytesReturned <span class="kw1">AS</span> Int32<span class="br0">&#41;</span> <span class="kw1">AS</span> <span class="kw1">BOOLEAN</span>
<br />&nbsp;
<br />&nbsp; &nbsp; Private Shared METHOD_BUFFERED <span class="kw1">AS</span> Int32 <span class="sy0">=</span> <span class="nu0">0</span>
<br />&nbsp; &nbsp; Private Shared FILE_ANY_ACCESS <span class="kw1">AS</span> Int32 <span class="sy0">=</span> <span class="nu0">0</span>
<br />&nbsp; &nbsp; Private Shared FILE_DEVICE_HAL <span class="kw1">AS</span> Int32 <span class="sy0">=</span> &amp;H101
<br />&nbsp;
<br />&nbsp; &nbsp; Private Const ERROR_NOT_SUPPORTED <span class="kw1">AS</span> Int32 <span class="sy0">=</span> &amp;H32
<br />&nbsp; &nbsp; Private Const ERROR_INSUFFICIENT_BUFFER <span class="kw1">AS</span> Int32 <span class="sy0">=</span> &amp;H7A
<br />&nbsp;
<br />&nbsp; &nbsp; Private Shared IOCTL_HAL_GET_DEVICEID <span class="kw1">AS</span> Int32 <span class="sy0">=</span> _
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#40;</span>&amp;H10000 <span class="sy0">*</span> FILE_DEVICE_HAL<span class="br0">&#41;</span> <span class="kw1">OR</span> <span class="br0">&#40;</span>&amp;H4000 <span class="sy0">*</span> FILE_ANY_ACCESS<span class="br0">&#41;</span> _
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">OR</span> <span class="br0">&#40;</span>&amp;H4 <span class="sy0">*</span> <span class="nu0">21</span><span class="br0">&#41;</span> <span class="kw1">OR</span> METHOD_BUFFERED
<br />&nbsp;
<br />&nbsp; &nbsp; Private Shared <span class="kw1">FUNCTION</span> GetDeviceID<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw1">AS</span> String
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' Initialize the output buffer to the size of a </span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;'</span> Win32 DEVICE_ID structure 
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim outbuff<span class="br0">&#40;</span><span class="nu0">19</span><span class="br0">&#41;</span> <span class="kw1">AS</span> Byte
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim dwOutBytes <span class="kw1">AS</span> Int32
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim done <span class="kw1">AS</span> <span class="kw1">BOOLEAN</span> <span class="sy0">=</span> False
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim nBuffSize <span class="kw1">AS</span> Int32 <span class="sy0">=</span> outbuff<span class="sy0">.</span>Length
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' Set DEVICEID.dwSize to size of buffer. &nbsp;Some platforms look at</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;'</span> this <span class="kw1">FIELD</span> rather than the nOutBufSize param of KernelIoControl
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' when determining if the buffer is large enough.</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;BitConverter.GetBytes(nBuffSize).CopyTo(outbuff, 0)</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;dwOutBytes = 0</span>
<br />&nbsp;
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;'</span> Loop until the device ID <span class="kw1">IS</span> retrieved <span class="kw1">OR</span> an error occurs<span class="sy0">.</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; While <span class="kw1">NOT</span> done
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span> KernelIoControl<span class="br0">&#40;</span>IOCTL_HAL_GET_DEVICEID<span class="sy0">,</span> IntPtr<span class="sy0">.</span>Zero<span class="sy0">,</span> _
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="nu0">0</span><span class="sy0">,</span> outbuff<span class="sy0">,</span> nBuffSize<span class="sy0">,</span> dwOutBytes<span class="br0">&#41;</span> Then
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done <span class="sy0">=</span> True
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim errnum <span class="kw1">AS</span> Integer <span class="sy0">=</span> Marshal<span class="sy0">.</span>GetLastWin32Error<span class="br0">&#40;</span><span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SELECT</span> Case errnum
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case ERROR_NOT_SUPPORTED
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Throw New NotSupportedException<span class="br0">&#40;</span> _
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;IOCTL_HAL_GET_DEVICEID is not supported on this device&quot;</span><span class="sy0">,</span> _
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; New Win32Exception<span class="br0">&#40;</span>errnum<span class="br0">&#41;</span><span class="br0">&#41;</span>
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case ERROR_INSUFFICIENT_BUFFER
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' The buffer is not big enough for the data. &nbsp;The</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'</span> required size <span class="kw1">IS</span> <span class="kw1">IN</span> the first <span class="nu0">4</span> bytes of the output 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' buffer (DEVICE_ID.dwSize).</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nBuffSize = BitConverter.ToInt32(outbuff, 0)</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;outbuff = New Byte(nBuffSize) {}</span>
<br />&nbsp;
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'</span> <span class="kw1">SET</span> DEVICEID<span class="sy0">.</span>dwSize <span class="kw1">TO</span> size of buffer<span class="sy0">.</span> &nbsp;Some
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' platforms look at this field rather than the</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'</span> nOutBufSize param of KernelIoControl when
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">' determining if the buffer is large enough.</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BitConverter.GetBytes(nBuffSize).CopyTo(outbuff, 0)</span>
<br />&nbsp;
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Case Else</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Throw New Win32Exception(errnum, &quot;Unexpected error&quot;)</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End Select</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;End If</span>
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;End While</span>
<br />&nbsp;
<br /><span class="st0"> &nbsp; &nbsp; &nbsp; &nbsp;'</span> Copy the elements of the DEVICE_ID structure<span class="sy0">.</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim dwPresetIDOffset <span class="kw1">AS</span> Int32 <span class="sy0">=</span> BitConverter<span class="sy0">.</span>ToInt32<span class="br0">&#40;</span>outbuff<span class="sy0">,</span> &amp;H4<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim dwPresetIDSize <span class="kw1">AS</span> Int32 <span class="sy0">=</span> BitConverter<span class="sy0">.</span>ToInt32<span class="br0">&#40;</span>outbuff<span class="sy0">,</span> &amp;H8<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim dwPlatformIDOffset <span class="kw1">AS</span> Int32 <span class="sy0">=</span> BitConverter<span class="sy0">.</span>ToInt32<span class="br0">&#40;</span>outbuff<span class="sy0">,</span> &amp;HC<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim dwPlatformIDSize <span class="kw1">AS</span> Int32 <span class="sy0">=</span> BitConverter<span class="sy0">.</span>ToInt32<span class="br0">&#40;</span>outbuff<span class="sy0">,</span> &amp;H10<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim sb <span class="kw1">AS</span> New StringBuilder
<br />&nbsp; &nbsp; &nbsp; &nbsp; Dim i <span class="kw1">AS</span> Integer
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">FOR</span> i <span class="sy0">=</span> dwPresetIDOffset <span class="kw1">TO</span> <span class="br0">&#40;</span>dwPresetIDOffset <span class="sy0">+</span> dwPresetIDSize<span class="br0">&#41;</span> <span class="sy0">-</span> <span class="nu0">1</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sb<span class="sy0">.</span>Append<span class="br0">&#40;</span>String<span class="sy0">.</span>Format<span class="br0">&#40;</span><span class="st0">&quot;{0:X2}&quot;</span><span class="sy0">,</span> outbuff<span class="br0">&#40;</span>i<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Next i
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; sb<span class="sy0">.</span>Append<span class="br0">&#40;</span><span class="st0">&quot;-&quot;</span><span class="br0">&#41;</span>
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">FOR</span> i <span class="sy0">=</span> dwPlatformIDOffset <span class="kw1">TO</span> <span class="br0">&#40;</span>dwPlatformIDOffset <span class="sy0">+</span> dwPlatformIDSize<span class="br0">&#41;</span> <span class="sy0">-</span> <span class="nu0">1</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sb<span class="sy0">.</span>Append<span class="br0">&#40;</span>String<span class="sy0">.</span>Format<span class="br0">&#40;</span><span class="st0">&quot;{0:X2}&quot;</span><span class="sy0">,</span> outbuff<span class="br0">&#40;</span>i<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; Next i
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">RETURN</span> sb<span class="sy0">.</span>ToString<span class="br0">&#40;</span><span class="br0">&#41;</span>
<br />&nbsp; &nbsp; End <span class="kw1">FUNCTION</span></pre></td></tr></tbody></table></div><p>
<br />Fakat bu kodla alınan numara iki cihazdada aynı sonucu veriyor.Bildiğim kadarı ile bu id numaralarının değişik olması gerekiyor.Bu Konuda Bilgisi olan arkadaşlardan yardımcı olurlarsa sevinirim.
<br />Şimdiden ilgilenen herkese teşekkürler.</p>]]></summary>
			<author>
				<name><![CDATA[Birnefes]]></name>
				<uri>http://www.fox4um.com/user/172/</uri>
			</author>
			<updated>2011-11-11T09:51:08Z</updated>
			<id>http://www.fox4um.com/topic/2033/vbnet-mobile-cihazlarda-id-alma/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Vb.net 2008 Win Ce yüklü El terminali yazıcı]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2004/vbnet-2008-win-ce-yuklu-el-terminali-yazici/new/posts/"/>
			<summary type="html"><![CDATA[<p>Öncelikle Merhabalar Alt yapım gereği Visual basic ile başladığım basit çaplı el terminali yazılımında yazıdırma ihtiyacım duymaktayım fakat araştırmalarım sonucunda herhangi bir sonuca henüz varamadım.Bilgisi olan birileri varsa yardımları için şimdiden teşekkürü bi borç bilirim.:D</p>]]></summary>
			<author>
				<name><![CDATA[Birnefes]]></name>
				<uri>http://www.fox4um.com/user/172/</uri>
			</author>
			<updated>2011-11-11T09:49:19Z</updated>
			<id>http://www.fox4um.com/topic/2004/vbnet-2008-win-ce-yuklu-el-terminali-yazici/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VFP com component Asp.net Kullanımı]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2026/vfp-com-component-aspnet-kullanimi/new/posts/"/>
			<summary type="html"><![CDATA[<p>Merhabalar ,
</p><p>VFP da yazılmış bir com componentimiz mevcut.
</p><p>asp.net icinde bu com objecti kullanıyorum. Aşağıdaki örnek kodda class içerisinde tanımlamam mevcuttur .. 
</p><p> ASPToolsClass a = new ASPToolsClass();
<br /> public string GetType(int AdultPax, int ChildPax)
<br />&nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; InitDb();
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string s = &quot;&quot;;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s = a.Find_type(AdultPax, ChildPax);
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return s;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception ex)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throw new ArgumentException(ex.Message);
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
</p>
<br /><p>&nbsp; &nbsp; &nbsp; &nbsp; }
</p>
<br /><p>--------------------------------------------
</p>
<br /><p>ASP:NET PAGE Kodu
</p><p>&nbsp; &nbsp;protected override void OnPreInit(EventArgs e)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; base.OnPreInit(e);
</p><p>&nbsp; &nbsp; &nbsp; &nbsp;dt = new DataTable();
<br />&nbsp; &nbsp; &nbsp; &nbsp;dt.Columns.Add(&quot;Seçim&quot;, typeof(string));
<br />&nbsp; &nbsp; &nbsp; &nbsp;dt.Columns.Add(&quot;val&quot;, typeof(string));
<br />&nbsp; &nbsp; &nbsp; &nbsp;Session[&quot;ChargeDataTable2&quot;] = dt;
<br />&nbsp; &nbsp; &nbsp; &nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; }
<br />protected void Page_Load(object sender, EventArgs e)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
</p>
<br /><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!Page.IsPostBack)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; Response.Write(a.GetType(3,2));
<br />&nbsp; &nbsp; &nbsp; &nbsp; }
<br />}
</p>
<br /><p>SORUN : Asp.Net sayfası içerisinde onPreInit eventinde sessiona bir datatable create etmekteyım ve buna benzer ıkı uc ufak caplı memoryde bulunan datatable rım mevcut. Ne zaman vfp den gelen class ıcerısındekı voıdlerden bırını cagırdıgımda bu memory (session) a create ettıgım datatable ların hepsı null olarak gelmektedır. Session sıfırlanmaktadır. Bu konu hakkında bılgısı olan arkadaslardan bılgı taleb etmekteyım 
</p>
<br /><p>saygılarımla</p>]]></summary>
			<author>
				<name><![CDATA[cetinbasoz]]></name>
				<uri>http://www.fox4um.com/user/2447/</uri>
			</author>
			<updated>2011-10-13T09:50:13Z</updated>
			<id>http://www.fox4um.com/topic/2026/vfp-com-component-aspnet-kullanimi/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Vb.net data format]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/2016/vbnet-data-format/new/posts/"/>
			<summary type="html"><![CDATA[<p>Öncelikle Merhabalar 
<br />Vb.net&#039;te sql databasesine kullanıyorum.Burada bi&nbsp; alanınımın&nbsp; veri tipi datetime bu alana veri kaydederken aldığım değer datetime.today fakat bundan gelen değeri yazmada sürekli format uymadı şeklinde hata alıyorum bu formatı ayarlamak için yöntemleri araştırıyorum fakat bi sonuca ulaşamadım. bu konuda yardımcı olabilecek arkadaşlar şimdiden teşekkür ederim.</p>]]></summary>
			<author>
				<name><![CDATA[Aligocmen]]></name>
				<uri>http://www.fox4um.com/user/172/</uri>
			</author>
			<updated>2011-09-29T15:30:33Z</updated>
			<id>http://www.fox4um.com/topic/2016/vbnet-data-format/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[C# kodlama standartları ile ilgili döküman]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1874/c-kodlama-standartlari-ile-ilgili-dokuman/new/posts/"/>
			<summary type="html"><![CDATA[<p>Yeni başlayanlar için kılavuz olabilecek gönüllülük esasına dayalı oluşturulmuş,Proje&nbsp; öncüleri Kadir ÇAMOĞLU,Volkan ATASEVER (Mobil Programlama Kitabının yazarları) olan benimde baskı,dizgi,cümle düşüklüğü vs için &quot;gözden gecirenler&quot; arasında olduğum TİKS (C# Türkçe içeriki kodlama sistemi) bir döküman (PDF) ilgilenenler için link <a href="http://www.mediafire.com/?7umxy0eumpja8">http://www.mediafire.com/?7umxy0eumpja8</a> 
</p><p>Proje ve ekibi ile ilgili bir kac link
<br /><a href="http://www.facebook.com/group.php?gid=29006737231">http://www.facebook.com/group.php?gid=29006737231</a>
</p><p>Kadir ÇAMOĞLU
<br /><a href="http://www.chip.com.tr/blog/kadircamoglu/">http://www.chip.com.tr/blog/kadircamoglu/</a>
<br /><a href="http://tiksprojesi.blogspot.com">http://tiksprojesi.blogspot.com</a>
</p><p>Volkan ATASEVER
<br /><a href="http://developermania.net/developermania/main.asp">http://developermania.net/developermania/main.asp</a>
<br /><a href="http://www.volkanatasever.com">http://www.volkanatasever.com</a></p>]]></summary>
			<author>
				<name><![CDATA[soykanozcelik]]></name>
				<uri>http://www.fox4um.com/user/4/</uri>
			</author>
			<updated>2010-12-24T06:51:51Z</updated>
			<id>http://www.fox4um.com/topic/1874/c-kodlama-standartlari-ile-ilgili-dokuman/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[C# navigation buton kodları]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1870/c-navigation-buton-kodlari/new/posts/"/>
			<summary type="html"><![CDATA[<p>C# ta asagidaki buton kodu ile ilk kayda gidebildim ancak son,sonraki,onceki icin olanları yapamadim bilen varmidir ?
</p><div class="codebox"><div class="head">C#</div><table class="csharp fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br />2
<br />3
<br />4
<br />5
<br />6
<br />7
<br />8
<br />9
<br />10
<br />11
<br />12
<br />13
<br />14
<br />15
<br />16
<br />17
<br />18
<br />19
<br />20
<br />21
<br />22
<br />23
<br />24
<br />25
<br />26
<br />27
<br />28
<br />29
<br />30
<br />31
<br /></pre></td><td class="de1"><pre class="de1"><span class="kw1">private</span> <span class="kw1">void</span> cmdFirst_Click<span class="br0">&#40;</span><span class="kw4">object</span> sender, EventArgs e<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeConn <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> SqlCeConnection<span class="br0">&#40;</span><span class="st_h">@&quot;data source = &quot;</span> <span class="sy0">+</span> strDataPath<span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeCmd <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> SqlCeCommand<span class="br0">&#40;</span><span class="st0">&quot;select * from CariH&quot;</span>, CeConn<span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeAdapter <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> SqlCeDataAdapter<span class="br0">&#40;</span>CeCmd<span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataSet DS <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> DataSet<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DS.<span class="me1">Clear</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span> 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeConn.<span class="me1">Open</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeAdapter.<span class="me1">Fill</span><span class="br0">&#40;</span>DS<span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeConn.<span class="me1">Close</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CeConn.<span class="me1">Dispose</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span> 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GrdCarih.<span class="me1">DataSource</span> <span class="sy0">=</span> DS.<span class="me1">Tables</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DataRow dr <span class="sy0">=</span> DS.<span class="me1">Tables</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span>.<span class="me1">Rows</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
<br />&nbsp;
<br /><span class="kw1">private</span> <span class="kw1">void</span> cmdLast_Click<span class="br0">&#40;</span><span class="kw4">object</span> sender, EventArgs e<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>
<br /><span class="co1">//?</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
<br /><span class="kw1">private</span> <span class="kw1">void</span> cmdNext_Click<span class="br0">&#40;</span><span class="kw4">object</span> sender, EventArgs e<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>
<br /><span class="co1">//?</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
<br /><span class="kw1">private</span> <span class="kw1">void</span> cmdPrior_Click<span class="br0">&#40;</span><span class="kw4">object</span> sender, EventArgs e<span class="br0">&#41;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>
<br /><span class="co1">//?</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></pre></td></tr></tbody></table></div>]]></summary>
			<author>
				<name><![CDATA[soykanozcelik]]></name>
				<uri>http://www.fox4um.com/user/4/</uri>
			</author>
			<updated>2010-12-18T13:37:28Z</updated>
			<id>http://www.fox4um.com/topic/1870/c-navigation-buton-kodlari/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[c# yardım]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1858/c-yardim/new/posts/"/>
			<summary type="html"><![CDATA[<p>arkadaşlar bir akrabam üniversitede okuyor ve bitirme tezi olarak c# de ödev vermişler çocuk programı yapmış fakat mdb ye baglamış sql balayacaksın demişler ben c# de anlamadıgım için bu veri dosyasını nasıl baglanır bilmiyorum aranızda bilen varsa yardım ederse sevinirim 
</p><p>Not : Program mdb ile çalışıyormuş sql ile çalışması gerekiroemuş gerekli proje dosyalarını bana gönderdi çözüm üretecek arkadaşa rar lı dosyayı gönderebilirim</p>]]></summary>
			<author>
				<name><![CDATA[antepli]]></name>
				<uri>http://www.fox4um.com/user/421/</uri>
			</author>
			<updated>2010-12-08T23:09:24Z</updated>
			<id>http://www.fox4um.com/topic/1858/c-yardim/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[.NET ile bir e-ticaret framework'u]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1814/net-ile-bir-eticaret-frameworku/new/posts/"/>
			<summary type="html"><![CDATA[<p>.NET altında çalışan bir open-source framework&#039;e ihtiyacımız var. Royalty-free olmalı. Bilgisi olan var mı?</p>]]></summary>
			<author>
				<name><![CDATA[metin]]></name>
				<uri>http://www.fox4um.com/user/39/</uri>
			</author>
			<updated>2010-10-22T14:59:35Z</updated>
			<id>http://www.fox4um.com/topic/1814/net-ile-bir-eticaret-frameworku/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[asp.net controls]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1753/aspnet-controls/new/posts/"/>
			<summary type="html"><![CDATA[<p>asp.net için&nbsp; bir gridview&nbsp; yerine grid&nbsp; kontrol&nbsp; almayı düşünüyorum 
<br />Aynı zamanda asp.net&nbsp; için Schedule kontrol alacağım&nbsp; &nbsp;( microsoft outlook tarzi haftalık randevu ların girilebileceği&nbsp; ortam&nbsp; )
</p><p>devexpress in ürünlerini almayı düşünüyorum . 
</p><p>Grid in adı&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ASPxGridView and Editors Suite&nbsp; &nbsp;(bunu 59 dolardan veriyorlar ben eskiden almıştım ama pek kullanmadım )
<br />Schedule kontrol&nbsp; un adı&nbsp; : ASPxScheduler Suite&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( 179 dolar )
<br />&nbsp; 
<br />Bu konuda bana fikir verebilecek arkadaş var mı ?</p>]]></summary>
			<author>
				<name><![CDATA[KONURALP]]></name>
				<uri>http://www.fox4um.com/user/16/</uri>
			</author>
			<updated>2010-09-14T08:49:54Z</updated>
			<id>http://www.fox4um.com/topic/1753/aspnet-controls/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[.net den vfp database i kullanmak]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1739/net-den-vfp-database-i-kullanmak/new/posts/"/>
			<summary type="html"><![CDATA[<p>.net de bir program yazdım&nbsp; &nbsp;VFP database i&nbsp; &nbsp;kullanacak 
</p><p>önce vfp datasını&nbsp; xml le çevirip denedim oluyor fakat sürekli update edildiği 
<br />için anında update edilmiş data yı alamayabilirim. xml büyük datalarda yavaş olur herhalde 
</p><p>sonra sürekli update edilen&nbsp; VFP database e&nbsp; direk .NET den erişmeyi denedim&nbsp; o da oluyor
</p><p>windows 2000 veya 2003 serverda sürekli kullanılan update edilen&nbsp; VFP database i&nbsp; 
<br />dışardan .net den erişsem&nbsp; &nbsp;bu bilgileri update etsem&nbsp; pratikte ne sorun çıkar 
</p><p> teşekkürler
</p><p>ilgilenenlere .net den vfp ya erişmeyide göndermiş olayım&nbsp; belki sonra işinize yarar
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><div class="codebox"><div class="head">C#</div><table class="csharp fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br />2
<br />3
<br />4
<br />5
<br />6
<br />7
<br />8
<br />9
<br />10
<br />11
<br /></pre></td><td class="de1"><pre class="de1">DataSet ds <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> DataSet<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span> 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OleDbConnection baglanti <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> OleDbConnection<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span> 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; baglanti.<span class="me1">ConnectionString</span> <span class="sy0">=</span> <span class="st0">&quot;Provider=VFPOLEDB.1;Data Source=C:<span class="es0">\\</span>adres<span class="es0">\\</span>genel.dbc&quot;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; baglanti.<span class="me1">Open</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw4">string</span> Goster <span class="sy0">=</span> <span class="st0">&quot;Select * from adres&quot;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OleDbDataAdapter Adapter <span class="sy0">=</span> <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span class="kw3">new</span></a> OleDbDataAdapter<span class="br0">&#40;</span>Goster, baglanti<span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Adapter.<span class="me1">Fill</span><span class="br0">&#40;</span>ds, <span class="st0">&quot;Tablo&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridView1.<span class="me1">DataSource</span> <span class="sy0">=</span> ds<span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridView1.<span class="me1">DataMember</span> <span class="sy0">=</span> <span class="st0">&quot;Tablo&quot;</span><span class="sy0">;</span> 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; baglanti.<span class="me1">close</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// burda birde OLEDBPROIDER For vfp yu instal etmeniz gerekiyor</span></pre></td></tr></tbody></table></div>]]></summary>
			<author>
				<name><![CDATA[KONURALP]]></name>
				<uri>http://www.fox4um.com/user/16/</uri>
			</author>
			<updated>2010-08-25T08:12:12Z</updated>
			<id>http://www.fox4um.com/topic/1739/net-den-vfp-database-i-kullanmak/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[c# da xml dosyasını sql servera aktarmak]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1717/c-da-xml-dosyasini-sql-servera-aktarmak/new/posts/"/>
			<summary type="html"><![CDATA[<p>xml deki datayı sql servera yazmam gerekiyor 
<br />dili bilmemek çok kötü gerçekten 
<br />allta bunu yaptım düzgün de çalışıyor.&nbsp; &nbsp;ama mantığı saçma geldi
<br />mutlaka daha mantıklı yolu vardır diye düşünüyorum
</p><p>bu kodu optimize edebilirmisiniz.
</p><p>kisaca şöyle 
<br />hasta.xml den&nbsp; &nbsp;h_protokol , h_isim , h_ad , h_soyad , h_ceptel , h_tel1 , h_tel2 , h_tel3 , h_tel4&nbsp; 
<br />elemanlarını sıra ile okuyorum&nbsp; sıra&nbsp; h_email&nbsp; e geldiğinde hemen sonra gidip sql servera yazıyorum
</p><p>şimdiden teşekkürler
</p>
<br />
<br />
<br /><p>using System;
<br />using System.Collections.Generic;
<br />using System.Linq;
<br />using System.Web;
<br />using System.Web.UI;
<br />using System.Web.UI.WebControls;
<br />using System.Xml;
<br />using System.Data.SqlClient;
</p><p>namespace drorgdis
<br />{
<br />&nbsp; &nbsp; public partial class xmltosqlserver : System.Web.UI.Page
<br />&nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)
<br />&nbsp; &nbsp; &nbsp; &nbsp; {
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; }
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; string sonkayit;
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; protected void Button1_Click(object sender, EventArgs e)
<br />&nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SqlConnection conn1 = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings[&quot;ConnStr_alp&quot;].ToString());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conn1.Open();
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XmlTextReader xmld = new XmlTextReader(@&quot;C:\\hasta.xml&quot;);
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (xmld.Read())
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (xmld.NodeType == XmlNodeType.Element)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sonkayit = &quot;hayir&quot;;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch (xmld.Name)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_protokol&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox1.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_isim&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox2.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_ad&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox3.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_soyad&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox4.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_ceptel&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox5.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_tel1&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox6.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_tel2&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox7.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_tel3&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox8.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_tel4&quot;:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox9.Text = Convert.ToString(xmld.ReadString().Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;h_email&quot;:
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sonkayit = &quot;evet&quot;;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox10.Text = Convert.ToString(xmld.ReadString().Trim());&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (sonkayit == &quot;evet&quot;)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; string komut = @&quot; insert into&nbsp; hasta (protokol,isim,ad,soyad,ceptel,tel1,tel2,tel3,tel4,email) values (@protokol,@isim,@ad,@soyad,@ceptel,@tel1,@tel2,@tel3,@tel4,@email)&quot;;
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SqlCommand cmd2 = new SqlCommand(komut, conn1); 
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@protokol&quot;, TextBox1.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@isim&quot;, TextBox2.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@ad&quot;, TextBox3.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@soyad&quot;, TextBox4.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@ceptel&quot;, TextBox5.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@tel1&quot;, TextBox6.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@tel2&quot;, TextBox7.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@tel3&quot;, TextBox8.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@tel4&quot;, TextBox9.Text.Trim());
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cmd2.Parameters.AddWithValue(&quot;@email&quot;, TextBox10.Text.Trim());
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int donenkayitsayisi = cmd2.ExecuteNonQuery();
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (donenkayitsayisi &gt; 0)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { Response.Write(&quot;kayıt edildi &quot;); }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { Response.Write(&quot;kayıt edilmedi&quot;); }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; catch (Exception ex)
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { Response.Write(&quot;Xml e bağlanamadım : &quot; + ex.Message); }
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xmld.Close();
<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; conn1.Close();
<br />&nbsp; &nbsp; &nbsp; &nbsp; }
</p><p>&nbsp; &nbsp; &nbsp; &nbsp; }
<br />&nbsp; &nbsp; }
</p><p>xml dosyasi&nbsp; &nbsp;hasta.xml&nbsp; 
<br />********************
<br />&nbsp; &lt;?xml version=&quot;1.0&quot; encoding=&quot;Windows-1254&quot; standalone=&quot;yes&quot; ?&gt; 
<br />- &lt;VFPData&gt;
<br />- &lt;xsd:schema id=&quot;VFPData&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;
<br />- &lt;xsd:element name=&quot;VFPData&quot; msdata:IsDataSet=&quot;true&quot;&gt;
<br />- &lt;xsd:complexType&gt;
<br />- &lt;xsd:choice maxOccurs=&quot;unbounded&quot;&gt;
<br />- &lt;xsd:element name=&quot;ghasta&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
<br />- &lt;xsd:complexType&gt;
<br />- &lt;xsd:sequence&gt;
<br />- &lt;xsd:element name=&quot;h_protokol&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;10&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_isim&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;40&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_ad&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;20&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_soyad&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;20&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_ceptel&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;10&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_tel1&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;20&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_tel2&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;20&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_tel3&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;20&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_tel4&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;20&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />- &lt;xsd:element name=&quot;h_email&quot;&gt;
<br />- &lt;xsd:simpleType&gt;
<br />- &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
<br />&nbsp; &lt;xsd:maxLength value=&quot;40&quot; /&gt; 
<br />&nbsp; &lt;/xsd:restriction&gt;
<br />&nbsp; &lt;/xsd:simpleType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />&nbsp; &lt;/xsd:sequence&gt;
<br />&nbsp; &lt;/xsd:complexType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />&nbsp; &lt;/xsd:choice&gt;
<br />&nbsp; &lt;xsd:anyAttribute namespace=&quot;http://www.w3.org/XML/1998/namespace&quot; processContents=&quot;lax&quot; /&gt; 
<br />&nbsp; &lt;/xsd:complexType&gt;
<br />&nbsp; &lt;/xsd:element&gt;
<br />&nbsp; &lt;/xsd:schema&gt;
<br />- &lt;ghasta&gt;
<br />&nbsp; &lt;h_protokol&gt;0066117&lt;/h_protokol&gt; 
<br />&nbsp; &lt;h_isim&gt;Abdulkadir Çimen&lt;/h_isim&gt; 
<br />&nbsp; &lt;h_ad&gt;Abdulkadir&lt;/h_ad&gt; 
<br />&nbsp; &lt;h_soyad&gt;Çimen&lt;/h_soyad&gt; 
<br />&nbsp; &lt;h_ceptel&gt;5134847051&lt;/h_ceptel&gt; 
<br />&nbsp; &lt;h_tel1&gt;İş 0212 474 19 00&lt;/h_tel1&gt; 
<br />&nbsp; &lt;h_tel2&gt;İş 0212 310 75 49&lt;/h_tel2&gt; 
<br />&nbsp; &lt;h_tel3&gt;Cep 0532 484 70 51&lt;/h_tel3&gt; 
<br />&nbsp; &lt;h_tel4&gt;Ev 0552 273 89 25&lt;/h_tel4&gt; 
<br />&nbsp; &lt;h_email&gt;abdulkadir@suddbora1.com&lt;/h_email&gt; 
<br />&nbsp; &lt;/ghasta&gt;
<br />- &lt;ghasta&gt;
<br />&nbsp; &lt;h_protokol&gt;0107762&lt;/h_protokol&gt; 
<br />&nbsp; &lt;h_isim&gt;Abdullah Ergen&lt;/h_isim&gt; 
<br />&nbsp; &lt;h_ad&gt;Abdullah&lt;/h_ad&gt; 
<br />&nbsp; &lt;h_soyad&gt;Ergen&lt;/h_soyad&gt; 
<br />&nbsp; &lt;h_ceptel&gt;5359257014&lt;/h_ceptel&gt; 
<br />&nbsp; &lt;h_tel1&gt;Ev 0212 428 41 11&lt;/h_tel1&gt; 
<br />&nbsp; &lt;h_tel2&gt;Cep 0532 925 70 01&lt;/h_tel2&gt; 
<br />&nbsp; &lt;h_tel3&gt;Ev 0552 273 89 21&lt;/h_tel3&gt; 
<br />&nbsp; &lt;h_tel4&gt;Ev 0552 273 89 21&lt;/h_tel4&gt; 
<br />&nbsp; &lt;h_email&gt;palidrom11@hotmail.com&lt;/h_email&gt; 
<br />&nbsp; &lt;/ghasta&gt;
<br />&nbsp; &lt;/VFPData&gt;</p>]]></summary>
			<author>
				<name><![CDATA[cetinbasoz]]></name>
				<uri>http://www.fox4um.com/user/16/</uri>
			</author>
			<updated>2010-08-15T20:52:18Z</updated>
			<id>http://www.fox4um.com/topic/1717/c-da-xml-dosyasini-sql-servera-aktarmak/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[c# ile ilgili soru]]></title>
			<link rel="alternate" href="http://www.fox4um.com/topic/1713/c-ile-ilgili-soru/new/posts/"/>
			<summary type="html"><![CDATA[<p>c# kodunun içine alltakine benzer sql sorgu koyacağım 
<br /></p><div class="codebox"><div class="head">C#</div><table class="csharp fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br /></pre></td><td class="de1"><pre class="de1">SELECT &nbsp; &nbsp; ad, soyad &nbsp; FROM &nbsp; &nbsp;adres &nbsp; WHERE &nbsp; &nbsp; <span class="br0">&#40;</span>ad LIKE <span class="st0">'k%'</span><span class="br0">&#41;</span> AND <span class="br0">&#40;</span>soyad LIKE <span class="st0">'d%'</span><span class="br0">&#41;</span></pre></td></tr></tbody></table></div><p>
<br />bu like kısıtlamasını tek eleman için kolaylıkla yapıyorum 
</p><div class="codebox"><div class="head">C#</div><table class="csharp fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br /></pre></td><td class="de1"><pre class="de1">SELECT &nbsp; &nbsp; ad, soyad &nbsp; FROM &nbsp; &nbsp;adres &nbsp; WHERE &nbsp; &nbsp; <span class="br0">&#40;</span>ad LIKE <span class="st0">'k%'</span><span class="br0">&#41;</span></pre></td></tr></tbody></table></div><p>
<br />c# kodunu alttaki gibi yazarak yapıyorum
</p><div class="codebox"><div class="head">C#</div><table class="csharp fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br />2
<br />3
<br /></pre></td><td class="de1"><pre class="de1"><span class="kw4">string</span> sorgu1 <span class="sy0">=</span> <span class="st0">&quot;select ad,soyad &nbsp;from adres where ad like @ad1 +'%'&quot;</span><span class="sy0">;</span>
<br />cmd.<span class="me1">Parameters</span>.<span class="me1">AddWithValue</span><span class="br0">&#40;</span><span class="st0">&quot;ad1&quot;</span>,TextBox1.<span class="me1">Text</span><span class="br0">&#41;</span><span class="sy0">;</span>
<br />cmd.<span class="me1">Parameters</span>.<span class="me1">AddWithValue</span><span class="br0">&#40;</span><span class="st0">&quot;soyad1&quot;</span>, TextBox2.<span class="me1">Text</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></td></tr></tbody></table></div><p>
</p>
<br /><p>c# kodu&nbsp; alltaki sorgulama için nasıl olmalı ?
<br /></p><div class="codebox"><div class="head">C#</div><table class="csharp fxcode"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
<br /></pre></td><td class="de1"><pre class="de1">SELECT &nbsp; &nbsp; ad, soyad &nbsp; FROM &nbsp; &nbsp;adres &nbsp; WHERE &nbsp; &nbsp; <span class="br0">&#40;</span>ad LIKE <span class="st0">'k%'</span><span class="br0">&#41;</span> AND <span class="br0">&#40;</span>soyad LIKE <span class="st0">'d%'</span><span class="br0">&#41;</span></pre></td></tr></tbody></table></div><p>
<br />string sorgu1&nbsp; &nbsp; nasıl olmalı 
</p><p>şimdiden teşekkürler</p>]]></summary>
			<author>
				<name><![CDATA[KONURALP]]></name>
				<uri>http://www.fox4um.com/user/16/</uri>
			</author>
			<updated>2010-08-05T22:11:15Z</updated>
			<id>http://www.fox4um.com/topic/1713/c-ile-ilgili-soru/new/posts/</id>
		</entry>
</feed>

