27 Aralık 2011 Salı

.Net ile Xml Dosyası Oluşturmak (Mikro Muhasebe Programı Örneği)


Imports System
Imports System.Xml
Imports System.Xml.Schema
Imports System.IO
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Collections
Imports System.Data
Imports System.Windows.Forms
Public Class Form1


    Private Sub SimpleButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SimpleButton2.Click
        Dim settings As XmlWriterSettings = New XmlWriterSettings()
        settings.Indent = True
        System.IO.File.Delete("d:\MikroText.xml")
        Using writer As XmlWriter = XmlWriter.Create("d:\MikroText.xml", settings)
            writer.WriteStartDocument()
            writer.WriteStartElement("Mikro")
            writer.WriteStartElement("Evrak", 12)
            writer.WriteAttributeString("TabloNo", "51")
            writer.WriteAttributeString("HareketTip", "0")
            writer.WriteAttributeString("EvrakTip", "63")
            writer.WriteAttributeString("EvrakSeriNo", "")
            writer.WriteAttributeString("EvrakSiraNo", "21")


            '---------------------------------------------------------------------------------------------------
            writer.WriteElementString("cha_firmano", "0")
            writer.WriteElementString("cha_subeno", "0")
            writer.WriteElementString("cha_tarihi", "10.12.2010")
            writer.WriteElementString("cha_tip", "0")
            writer.WriteElementString("cha_cinsi", "6")
            writer.WriteElementString("cha_normal_Iade", "0")
            writer.WriteElementString("cha_evrak_tip", "63")
            writer.WriteElementString("cha_satir_no", "0")
            writer.WriteElementString("cha_evrakno_seri", "")
            writer.WriteElementString("cha_evrakno_sira", "21")
            writer.WriteElementString("cha_belge_no", "")

            writer.WriteElementString("cha_belge_tarih", "10.12.2010")
            writer.WriteElementString("cha_cari_cins", "0")
            writer.WriteElementString("cha_kod", " M001")
            writer.WriteElementString("cha_kasa_hizmet", "0")
            writer.WriteElementString("cha_kasa_hizkod", "")
            writer.WriteElementString("cha_d_kurtar", "00:00:00")
            writer.WriteElementString("cha_d_cins", "0")
            writer.WriteElementString("cha_d_kur", "1")
            writer.WriteElementString("cha_altd_kur", "1,5")
            writer.WriteElementString("cha_grupno", "0")
            writer.WriteElementString("cha_meblag", "67,5078")
            writer.WriteElementString("cha_vade", "0")
            writer.WriteElementString("cha_fis_tarih", "00:00:00")
            writer.WriteElementString("cha_fis_sirano", "0")
            writer.WriteElementString("cha_ft_iskonto1", "0")
            writer.WriteElementString("cha_ft_iskonto2", "0")
            writer.WriteElementString("cha_ft_iskonto3", "0")
            writer.WriteElementString("cha_ft_iskonto4", "0")
            writer.WriteElementString("cha_ft_iskonto5", "0")
            writer.WriteElementString("cha_ft_iskonto6", "0")
            writer.WriteElementString("cha_ft_masraf1", "0")
            writer.WriteElementString("cha_ft_masraf2", "0")
            writer.WriteElementString("cha_ft_masraf3", "0")
            writer.WriteElementString("cha_ft_masraf4", "0")
            writer.WriteElementString("cha_vergi1", "0")
            writer.WriteElementString("cha_vergi2", "0")
            writer.WriteElementString("cha_vergi3", "0")
            writer.WriteElementString("cha_vergi4", "10,2978")
            writer.WriteElementString("cha_vergi5", "0")
            writer.WriteElementString("cha_vergi6", "0")
            writer.WriteElementString("cha_vergi7", "0")
            writer.WriteElementString("cha_vergi8", "0")
            writer.WriteElementString("cha_vergi9", "0")
            writer.WriteElementString("cha_vergi10", "0")
            writer.WriteElementString("cha_yuvarlama", "0")
            writer.WriteElementString("cha_tpoz", "0")
            writer.WriteElementString("cha_aciklama", "")
            writer.WriteElementString("cha_trefno", "")
            writer.WriteElementString("cha_sntck_poz", "0")
            writer.WriteElementString("cha_karsidcinsi", "0")
            writer.WriteElementString("cha_karsid_kur", "0")
            writer.WriteElementString("cha_karsidgrupno", "0")
            writer.WriteElementString("cha_srmrkkodu", "")
            writer.WriteElementString("cha_reftarihi", "00:00:00")
            writer.WriteElementString("cha_odeme_arr1", "0")
            writer.WriteElementString("cha_odeme_arr2", "0")
            writer.WriteElementString("cha_odeme_arr3", "0")
            writer.WriteElementString("cha_odeme_arr4", "0")
            writer.WriteElementString("cha_odeme_arr5", "0")
            writer.WriteElementString("cha_odeme_arr6", "0")
            writer.WriteElementString("cha_odeme_arr7", "0")
            writer.WriteElementString("cha_odeme_arr8", "0")
            writer.WriteElementString("cha_miktari", "0")
            writer.WriteElementString("cha_aratoplam", "57,21")
            writer.WriteElementString("cha_vergipntr", "0")
            writer.WriteElementString("cha_istisnakodu", "0")
            writer.WriteElementString("cha_ver_tev_carpani", "0")
            writer.WriteElementString("cha_stopaj", "0")
            writer.WriteElementString("cha_savsandesfonu", "0")
            writer.WriteElementString("cha_vergisiz_fl", "False")
            writer.WriteElementString("cha_satici_kodu", "")
            writer.WriteElementString("cha_mustahsil_borsa", "0")
            writer.WriteElementString("cha_mustahsil_bagkur", "0")
            writer.WriteElementString("cha_mustahsil_diger", "0")
            writer.WriteElementString("cha_HalMSDF", "0")
            writer.WriteElementString("cha_HalHamaliye", "0")
            writer.WriteElementString("cha_HalStopaj", "0")
            writer.WriteElementString("cha_HalKomisyonu", "0")
            writer.WriteElementString("cha_StFonPntr", "0")
            writer.WriteElementString("cha_pos_hareketi", "False")
            writer.WriteElementString("cha_vardiya_tarihi", "00:00:00")
            writer.WriteElementString("cha_vardiya_no", "0")
            writer.WriteElementString("cha_vardiya_evrak_ti", "0")
            writer.WriteElementString("cha_HalRusum", "0")
            writer.WriteElementString("cha_HalNavlunTut", "0")
            writer.WriteElementString("cha_HalRehinFuture", "0")
            writer.WriteElementString("cha_HalKomisyon", "0")
            writer.WriteElementString("cha_Vade_Farki_Yuz", "0")
            writer.WriteElementString("cha_karsisrmrkkodu", "")
            writer.WriteElementString("cha_EXIMkodu", "")
            writer.WriteElementString("cha_HalRehinSandikmiktari", "0")
            writer.WriteElementString("cha_HalSandikVrMiktar", "0")
            writer.WriteElementString("cha_HalSandikTutari", "0")
            writer.WriteElementString("cha_HalSandikKDVTutari", "0")
            writer.WriteElementString("cha_HalrehinSandikTutari", "0")
            writer.WriteElementString("cha_Tevkifat_turu", "0")
            writer.WriteElementString("cha_ticaret_turu", "0")
            writer.WriteElementString("cha_otvtutari", "0")
            writer.WriteElementString("cha_otvvergisiz_fl", "False")
            writer.WriteElementString("cha_projekodu", "")
            writer.WriteElementString("cha_sozlesme_DBCno", "0")
            writer.WriteElementString("cha_sozlesme_RECno", "0")
            writer.WriteElementString("cha_yat_tes_kodu", "")
            writer.WriteElementString("cha_ciro_cari_kodu", "M001")
            writer.WriteElementString("cha_oivergisiz_fl", "False")
            writer.WriteElementString("cha_meblag_ana_doviz_icin_gecer", "0")
            writer.WriteElementString("cha_meblag_alt_doviz_icin_gecer", "0")
            writer.WriteElementString("cha_meblag_orj_doviz_icin_gecer", "0")
            writer.WriteElementString("cha_ciroprim_DBCno", "0")
            writer.WriteElementString("cha_ciroprim_RECno", "0")
            writer.WriteElementString("cha_HalHamaliyeKdv", "0")
            writer.WriteElementString("cha_HalHamaliyeVergisiz_fl", "False")
            writer.WriteElementString("cha_bakimhar_DBCno", "0")
            writer.WriteElementString("cha_bakimhar_RECno", "0")
            writer.WriteElementString("cha_avanstalep_DBCno", "0")
            writer.WriteElementString("cha_avanstalep_RECno", "0")
            writer.WriteElementString("cha_oiv_pntr", "0")
            writer.WriteElementString("cha_oiv_vergi", "0")
            writer.WriteElementString("cha_oivtutari", "0")
            writer.WriteElementString("cha_isk_mas1", "1")
            writer.WriteElementString("cha_isk_mas2", "1")
            writer.WriteElementString("cha_isk_mas3", "1")
            writer.WriteElementString("cha_isk_mas4", "1")
            writer.WriteElementString("cha_isk_mas5", "1")
            writer.WriteElementString("cha_isk_mas6", "1")
            writer.WriteElementString("cha_isk_mas7", "1")
            writer.WriteElementString("cha_isk_mas8", "1")
            writer.WriteElementString("cha_isk_mas9", "1")
            writer.WriteElementString("cha_isk_mas10", "1")
            writer.WriteElementString("cha_sat_iskmas1", "False")
            writer.WriteElementString("cha_sat_iskmas2", "False")
            writer.WriteElementString("cha_sat_iskmas3", "False")
            writer.WriteElementString("cha_sat_iskmas4", "False")
            writer.WriteElementString("cha_sat_iskmas5", "False")
            writer.WriteElementString("cha_sat_iskmas6", "False")
            writer.WriteElementString("cha_sat_iskmas7", "False")
            writer.WriteElementString("cha_sat_iskmas8", "False")
            writer.WriteElementString("cha_sat_iskmas9", "False")
            writer.WriteElementString("cha_sat_iskmas10", "False")
            writer.WriteElementString("cha_sip_recid_dbcno", "0")
            writer.WriteElementString("cha_sip_recid_recno", "0")
            writer.WriteElementString("cha_gidkatsoz_recid_dbcno", "0")
            writer.WriteElementString("cha_gidkatsoz_recid_recno", "0")
            writer.WriteElementString("cha_tevkifat1Yok", "0")
            writer.WriteElementString("cha_tevkifat131", "0")
            writer.WriteElementString("cha_tevkifat191", "0")
            writer.WriteElementString("cha_tevkifat121", "0")
            writer.WriteElementString("cha_tevkifat132", "0")
            writer.WriteElementString("cha_tevkifat161", "0")
            writer.WriteElementString("cha_tevkifat145", "0")
            writer.WriteElementString("cha_tevkifat1Tam", "0")
            writer.WriteElementString("cha_tevkifat2Yok", "0")
            writer.WriteElementString("cha_tevkifat231", "0")
            writer.WriteElementString("cha_tevkifat291", "0")
            writer.WriteElementString("cha_tevkifat221", "0")
            writer.WriteElementString("cha_tevkifat232", "0")
            writer.WriteElementString("cha_tevkifat261", "0")
            writer.WriteElementString("cha_tevkifat245", "0")
            writer.WriteElementString("cha_tevkifat2Tam", "0")
            writer.WriteElementString("cha_tevkifat3Yok", "0")
            writer.WriteElementString("cha_tevkifat331", "0")
            writer.WriteElementString("cha_tevkifat391", "0")
            writer.WriteElementString("cha_tevkifat321", "0")
            writer.WriteElementString("cha_tevkifat332", "0")
            writer.WriteElementString("cha_tevkifat361", "0")
            writer.WriteElementString("cha_tevkifat345", "0")
            writer.WriteElementString("cha_tevkifat3Tam", "0")
            writer.WriteElementString("cha_tevkifat4Yok", "0")
            writer.WriteElementString("cha_tevkifat431", "0")
            writer.WriteElementString("cha_tevkifat491", "0")
            writer.WriteElementString("cha_tevkifat421", "0")
            writer.WriteElementString("cha_tevkifat432", "0")
            writer.WriteElementString("cha_tevkifat461", "0")
            writer.WriteElementString("cha_tevkifat445", "0")
            writer.WriteElementString("cha_tevkifat4Tam", "0")
            writer.WriteElementString("cha_tevkifat5Yok", "0")
            writer.WriteElementString("cha_tevkifat531", "0")
            writer.WriteElementString("cha_tevkifat591", "0")
            writer.WriteElementString("cha_tevkifat521", "0")
            writer.WriteElementString("cha_tevkifat532", "0")
            writer.WriteElementString("cha_tevkifat561", "0")
            writer.WriteElementString("cha_tevkifat545", "0")
            writer.WriteElementString("cha_tevkifat5Tam", "0")
            writer.WriteElementString("cha_tevkifat6Yok", "0")
            writer.WriteElementString("cha_tevkifat631", "0")
            writer.WriteElementString("cha_tevkifat691", "0")
            writer.WriteElementString("cha_tevkifat621", "0")
            writer.WriteElementString("cha_tevkifat632", "0")
            writer.WriteElementString("cha_tevkifat661", "0")
            writer.WriteElementString("cha_tevkifat645", "0")
            writer.WriteElementString("cha_tevkifat6Tam", "0")
            writer.WriteElementString("cha_tevkifat7Yok", "0")
            writer.WriteElementString("cha_tevkifat731", "0")
            writer.WriteElementString("cha_tevkifat791", "0")
            writer.WriteElementString("cha_tevkifat721", "0")
            writer.WriteElementString("cha_tevkifat732", "0")
            writer.WriteElementString("cha_tevkifat761", "0")
            writer.WriteElementString("cha_tevkifat745", "0")
            writer.WriteElementString("cha_tevkifat7Tam", "0")
            writer.WriteElementString("cha_tevkifat8Yok", "0")
            writer.WriteElementString("cha_tevkifat831", "0")
            writer.WriteElementString("cha_tevkifat891", "0")
            writer.WriteElementString("cha_tevkifat821", "0")
            writer.WriteElementString("cha_tevkifat832", "0")
            writer.WriteElementString("cha_tevkifat861", "0")
            writer.WriteElementString("cha_tevkifat845", "0")
            writer.WriteElementString("cha_tevkifat8Tam", "0")
            writer.WriteElementString("cha_tevkifat9Yok", "0")
            writer.WriteElementString("cha_tevkifat931", "0")
            writer.WriteElementString("cha_tevkifat991", "0")
            writer.WriteElementString("cha_tevkifat921", "0")
            writer.WriteElementString("cha_tevkifat932", "0")
            writer.WriteElementString("cha_tevkifat961", "0")
            writer.WriteElementString("cha_tevkifat945", "0")
            writer.WriteElementString("cha_tevkifat9Tam", "0")
            writer.WriteElementString("cha_tevkifat10Yok", "0")
            writer.WriteElementString("cha_tevkifat1031", "0")
            writer.WriteElementString("cha_tevkifat1091", "0")
            writer.WriteElementString("cha_tevkifat1021", "0")
            writer.WriteElementString("cha_tevkifat1032", "0")
            writer.WriteElementString("cha_tevkifat1061", "0")
            writer.WriteElementString("cha_tevkifat1045", "0")
            writer.WriteElementString("cha_tevkifat10Tam", "0")
            '----------------------------------------------------------------------------------------------------


            For i As Integer = 0 To 10
                writer.WriteStartElement("Row")
                writer.WriteElementString("sth_firmano", i & " Değer")
                writer.WriteElementString("sth_subeno", i & " Değer")
                writer.WriteElementString("sth_tarih", i & " Değer")
                writer.WriteElementString("sth_tip", i & " Değer")
                writer.WriteElementString("sth_cins", i & " Değer")
                writer.WriteElementString("sth_normal_iade", i & " Değer")
                writer.WriteElementString("sth_evraktip", i & " Değer")
                writer.WriteElementString("sth_evrakno_seri", i & " Değer")
                writer.WriteElementString("sth_evrakno_sira", i & " Değer")
                writer.WriteElementString("sth_satirno", i & " Değer")
                writer.WriteElementString("sth_belge_no", i & " Değer")
                writer.WriteElementString("sth_belge_tarih", i & " Değer")
                writer.WriteElementString("sth_stok_kod", i & " Değer")
                writer.WriteElementString("sth_isk_mas1", i & " Değer")
                writer.WriteElementString("sth_isk_mas2", i & " Değer")
                writer.WriteElementString("sth_isk_mas3", i & " Değer")
                writer.WriteElementString("sth_isk_mas4", i & " Değer")
                writer.WriteElementString("sth_isk_mas5", i & " Değer")
                writer.WriteElementString("sth_isk_mas6", i & " Değer")
                writer.WriteElementString("sth_isk_mas7", i & " Değer")
                writer.WriteElementString("sth_isk_mas8", i & " Değer")
                writer.WriteElementString("sth_isk_mas9", i & " Değer")
                writer.WriteElementString("sth_isk_mas10", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas1", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas2", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas3", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas4", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas5", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas6", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas7", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas8", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas9", i & " Değer")
                writer.WriteElementString("sth_sat_iskmas10", i & " Değer")
                writer.WriteElementString("sth_pos_satis", i & " Değer")
                writer.WriteElementString("sth_promosyon_fl", i & " Değer")
                writer.WriteElementString("sth_cari_cinsi", i & " Değer")
                writer.WriteElementString("sth_cari_kodu", i & " Değer")
                writer.WriteElementString("sth_cari_grup_no", i & " Değer")
                writer.WriteElementString("sth_isemri_gider_kodu", i & " Değer")
                writer.WriteElementString("sth_ismerkezi_kodu", i & " Değer")
                writer.WriteElementString("sth_plasiyer_kodu", i & " Değer")
                writer.WriteElementString("sth_kur_tarihi", i & " Değer")
                writer.WriteElementString("sth_har_doviz_cinsi", i & " Değer")
                writer.WriteElementString("sth_har_doviz_kuru", i & " Değer")
                writer.WriteElementString("sth_alt_doviz_kuru", i & " Değer")
                writer.WriteElementString("sth_stok_doviz_cinsi", i & " Değer")
                writer.WriteElementString("sth_stok_doviz_kuru", i & " Değer")
                writer.WriteElementString("sth_miktar", i & " Değer")
                writer.WriteElementString("sth_miktar2", i & " Değer")
                writer.WriteElementString("sth_birim_pntr", i & " Değer")
                writer.WriteElementString("sth_tutar", i & " Değer")
                writer.WriteElementString("sth_iskonto1", i & " Değer")
                writer.WriteElementString("sth_iskonto2", i & " Değer")
                writer.WriteElementString("sth_iskonto3", i & " Değer")
                writer.WriteElementString("sth_iskonto4", i & " Değer")
                writer.WriteElementString("sth_iskonto5", i & " Değer")
                writer.WriteElementString("sth_iskonto6", i & " Değer")
                writer.WriteElementString("sth_masraf1", i & " Değer")
                writer.WriteElementString("sth_masraf2", i & " Değer")
                writer.WriteElementString("sth_masraf3", i & " Değer")
                writer.WriteElementString("sth_masraf4", i & " Değer")
                writer.WriteElementString("sth_vergi_pntr", i & " Değer")
                writer.WriteElementString("sth_vergi", i & " Değer")
                writer.WriteElementString("sth_masraf_vergi_pntr", i & " Değer")
                writer.WriteElementString("sth_masraf_vergi", i & " Değer")
                writer.WriteElementString("sth_netagirlik", i & " Değer")
                writer.WriteElementString("sth_odeme_op", i & " Değer")
                writer.WriteElementString("sth_aciklama", i & " Değer")
                writer.WriteElementString("sth_sip_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_sip_recid_recno", i & " Değer")
                writer.WriteElementString("sth_fat_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_fat_recid_recno", i & " Değer")
                writer.WriteElementString("sth_giris_depo_no", i & " Değer")
                writer.WriteElementString("sth_cikis_depo_no", i & " Değer")
                writer.WriteElementString("sth_malkbl_sevk_tarihi", i & " Değer")
                writer.WriteElementString("sth_cari_srm_merkezi", i & " Değer")
                writer.WriteElementString("sth_stok_srm_merkezi", i & " Değer")
                writer.WriteElementString("sth_fis_tarihi", i & " Değer")
                writer.WriteElementString("sth_fis_sirano", i & " Değer")
                writer.WriteElementString("sth_vergisiz_fl", i & " Değer")
                writer.WriteElementString("sth_maliyet_ana", i & " Değer")
                writer.WriteElementString("sth_maliyet_alternatif", i & " Değer")
                writer.WriteElementString("sth_maliyet_orjinal", i & " Değer")
                writer.WriteElementString("sth_adres_no", i & " Değer")
                writer.WriteElementString("sth_parti_kodu", i & " Değer")
                writer.WriteElementString("sth_lot_no", i & " Değer")
                writer.WriteElementString("sth_kons_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_kons_recid_recno", i & " Değer")
                writer.WriteElementString("sth_subesip_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_subesip_recid_recno", i & " Değer")
                writer.WriteElementString("sth_vardiya_tarihi", i & " Değer")
                writer.WriteElementString("sth_vardiya_no", i & " Değer")
                writer.WriteElementString("sth_satistipi", i & " Değer")
                writer.WriteElementString("sth_proje_kodu", i & " Değer")
                writer.WriteElementString("sth_ihracat_kredi_kodu", i & " Değer")
                writer.WriteElementString("sth_exim_kodu", i & " Değer")
                writer.WriteElementString("sth_otv_pntr", i & " Değer")
                writer.WriteElementString("sth_otv_vergi", i & " Değer")
                writer.WriteElementString("sth_bkm_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_bkm_recid_recno", i & " Değer")
                writer.WriteElementString("sth_karsikons_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_karsikons_recid_recno", i & " Değer")
                writer.WriteElementString("sth_iade_evrak_seri", i & " Değer")
                writer.WriteElementString("sth_iade_evrak_sira", i & " Değer")
                writer.WriteElementString("sth_diib_belge_no", i & " Değer")
                writer.WriteElementString("sth_diib_satir_no", i & " Değer")
                writer.WriteElementString("sth_mensey_ulke_tipi", i & " Değer")
                writer.WriteElementString("sth_mensey_ulke_kodu", i & " Değer")
                writer.WriteElementString("sth_brutagirlik", i & " Değer")
                writer.WriteElementString("sth_halrehmiktari", i & " Değer")
                writer.WriteElementString("sth_halrehfiyati", i & " Değer")
                writer.WriteElementString("sth_halsandikmiktari", i & " Değer")
                writer.WriteElementString("sth_halsandikfiyati", i & " Değer")
                writer.WriteElementString("sth_halsandikkdvtutari", i & " Değer")
                writer.WriteElementString("sth_disticaret_turu", i & " Değer")
                writer.WriteElementString("sth_otvtutari", i & " Değer")
                writer.WriteElementString("sth_otvvergisiz_fl", i & " Değer")
                writer.WriteElementString("sth_direkt_iscilik_1", i & " Değer")
                writer.WriteElementString("sth_direkt_iscilik_2", i & " Değer")
                writer.WriteElementString("sth_direkt_iscilik_3", i & " Değer")
                writer.WriteElementString("sth_direkt_iscilik_4", i & " Değer")
                writer.WriteElementString("sth_direkt_iscilik_5", i & " Değer")
                writer.WriteElementString("sth_genel_uretim_1", i & " Değer")
                writer.WriteElementString("sth_genel_uretim_2", i & " Değer")
                writer.WriteElementString("sth_genel_uretim_3", i & " Değer")
                writer.WriteElementString("sth_genel_uretim_4", i & " Değer")
                writer.WriteElementString("sth_genel_uretim_5", i & " Değer")
                writer.WriteElementString("sth_yat_tes_kodu", i & " Değer")
                writer.WriteElementString("sth_oiv_pntr", i & " Değer")
                writer.WriteElementString("sth_oiv_vergi", i & " Değer")
                writer.WriteElementString("sth_oivvergisiz_fl", i & " Değer")
                writer.WriteElementString("sth_fiyat_liste_no", i & " Değer")
                writer.WriteElementString("sth_fis_tarihi2", i & " Değer")
                writer.WriteElementString("sth_fis_sirano2", i & " Değer")
                writer.WriteElementString("sth_rez_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_rez_recid_recno", i & " Değer")
                writer.WriteElementString("sth_fiyfark_esas_evrak_seri", i & " Değer")
                writer.WriteElementString("sth_fiyfark_esas_evrak_sira", i & " Değer")
                writer.WriteElementString("sth_fiyfark_esas_satir_no", i & " Değer")
                writer.WriteElementString("sth_optamam_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_optamam_recid_recno", i & " Değer")
                writer.WriteElementString("sth_oivtutari", i & " Değer")
                writer.WriteElementString("sth_Tevkifat_turu", i & " Değer")
                writer.WriteElementString("sth_HalKomisyonuKdv", i & " Değer")
                writer.WriteElementString("sth_iadeTlp_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_iadeTlp_recid_recno", i & " Değer")
                writer.WriteElementString("sth_HalSatisRecid_dbcno", i & " Değer")
                writer.WriteElementString("sth_HalSatisRecid_recno", i & " Değer")
                writer.WriteElementString("sth_nakliyedeposu", i & " Değer")
                writer.WriteElementString("sth_nakliyedurumu", i & " Değer")
                writer.WriteElementString("sth_ciroprim_dbcno", i & " Değer")
                writer.WriteElementString("sth_ciroprim_recno", i & " Değer")
                writer.WriteElementString("sth_yetkili_recid_dbcno", i & " Değer")
                writer.WriteElementString("sth_yetkili_recid_recno", i & " Değer")
                writer.WriteElementString("sth_taxfree_fl", i & " Değer")
                writer.WriteEndElement()
            Next
            writer.WriteStartElement("Aciklamalar")
            writer.WriteEndElement()
            writer.WriteEndDocument()
        End Using
        Process.Start("d:\MikroText.xml")
    End Sub
End Class

1 yorum:

  1. Veli bey bu xml mikro export-importtanmı içeri alabiliriz yoksa myedb.dll için mi hazırladınız?

    YanıtlaSil