473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating xml document using schema

I have a task to create xml document from c# code.

I have example of that document should look like and also a xml schema.
I wonder if i can use this xml schema somehow ?

This is schema:

<?xml version="1.0"?>
<xs:schema attributeFormDe fault="unqualif ied" elementFormDefa ult="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Draft">
<xs:complexType >
<xs:sequence>
<xs:element name="DraftId" type="xs:string " />
<xs:element name="StartDate " type="xs:dateTi me" />
<xs:element name="RetryCoun t" type="xs:unsign edByte" />
<xs:element name="LocalCurr encyId" type="xs:unsign edByte" />
<xs:element name="EndDate" type="xs:dateTi me" />
<xs:element name="OriginalP remium" type="xs:unsign edShort" />
<xs:element name="Authoriza tionCode" type="xs:string " />
<xs:element name="Locale" type="xs:string " />
<xs:element name="IssueDate " type="xs:dateTi me" />
<xs:element name="StatusCod e" type="xs:string " />
<xs:element name="Invoice">
<xs:complexType >
<xs:sequence>
<xs:element name="Number" type="xs:string " />
<xs:element name="IssueDate " type="xs:dateTi me" />
<xs:element name="DueDate" type="xs:dateTi me" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PolicyNum ber" type="xs:unsign edLong" />
<xs:element name="PolicyHol derName" type="xs:string " />
<xs:element name="OriginalC urrencyId" type="xs:unsign edByte" />
<xs:element name="Transacti onId" type="xs:string " />
<xs:element name="LocalPrem ium" type="xs:decima l" />
<xs:element name="PaymentTy pe" type="xs:string " />
<xs:element name="MediatorN ame" type="xs:string " />
<xs:element name="LobId" type="xs:unsign edByte" />
<xs:element name="PolicyHol der">
<xs:complexType >
<xs:sequence>
<xs:element name="Name" type="xs:string " />
<xs:element name="Surname" type="xs:string " />
<xs:element name="Code" type="xs:string " />
<xs:element name="BirthDate " type="xs:dateTi me" />
<xs:element name="IsPolicyH older" type="xs:boolea n" />
<xs:element name="IsNotResi dent" type="xs:boolea n" />
<xs:element name="Address" type="xs:string " />
<xs:element name="Phone" type="xs:unsign edInt" />
<xs:element name="Email" type="xs:string " />
<xs:element name="Type" type="xs:string " />
<xs:element name="Residency Country" type="xs:unsign edByte" />
<xs:element name="Sex" type="xs:string " />
<xs:element name="Village" type="xs:string " />
<xs:element name="House" type="xs:string " />
<xs:element name="Flat" type="xs:string " />
<xs:element name="TownDistr ictOid" type="xs:unsign edByte" />
<xs:element name="RegionCit yOid" type="xs:unsign edByte" />
<xs:element name="Street" type="xs:string " />
<xs:element name="PostalInd ex" type="xs:unsign edShort" />
<xs:element name="Country" type="xs:unsign edByte" />
<xs:element name="LegalPers onType" type="xs:unsign edByte" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Country" type="xs:string " />
<xs:element name="TravelTyp e" type="xs:unsign edByte" />
<xs:element name="Zone" type="xs:unsign edByte" />
<xs:element name="Program" type="xs:unsign edByte" />
<xs:element name="InsuredPe rsons">
<xs:complexType >
<xs:sequence>
<xs:element maxOccurs="unbo unded" name="Person">
<xs:complexType >
<xs:sequence>
<xs:element name="Name" type="xs:string " />
<xs:element name="Surname" type="xs:string " />
<xs:element name="Code" type="xs:string " />
<xs:element name="BirthDate " type="xs:dateTi me" />
<xs:element name="IsPolicyH older" type="xs:boolea n" />
<xs:element name="IsNotResi dent" type="xs:boolea n" />
<xs:element name="Type" type="xs:string " />
<xs:element name="Residency Country"
type="xs:unsign edByte" />
<xs:element name="Sex" type="xs:string " />
<xs:element name="TownDistr ictOid"
type="xs:unsign edByte" />
<xs:element name="RegionCit yOid" type="xs:unsign edByte"
/>
<xs:element name="Country" type="xs:unsign edByte" />
<xs:element name="LegalPers onType"
type="xs:unsign edByte" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

This is how final document should look like:

<?xml version="1.0" encoding="utf-16"?>
<Draft xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema" xsi:type="Trave lDraft">
<DraftId>139451 de-1bc1-4070-b9d1-548dd4a7f812</DraftId>
<StartDate>20 06-10-04T00:00:00</StartDate>
<RetryCount>0 </RetryCount>
<LocalCurrencyI d>1</LocalCurrencyId >
<EndDate>2006-10-25T23:59:59</EndDate>
<OriginalPremiu m>38.61</OriginalPremium >
<Locale>lt-LT</Locale>
<IssueDate>20 06-10-02T09:26:31.856 2127+03:00</IssueDate>
<StatusCode>Uns uccessful</StatusCode>
<Invoice>
<Number>B000262 4</Number>
<IssueDate>20 06-10-02T09:26:31.856 2127+03:00</IssueDate>
<DueDate>2006-10-02T09:26:31.856 2127+03:00</DueDate>
</Invoice>
<PolicyNumber>4 5300000265</PolicyNumber>
<PolicyHolderNa me>AS AS, 123456-12345</PolicyHolderNam e>
<OriginalCurren cyId>3</OriginalCurrenc yId>
<TransactionId> FVR21tY1Kot1fOf FRqkFJ9WZ7E4=</TransactionId>
<LocalPremium>2 7.03</LocalPremium>
<PaymentType>It a</PaymentType>
<MediatorName>A ir Baltic Corporation AS</MediatorName>
<LobId>53</LobId>
<PolicyHolder >
<Name>AS</Name>
<Surname>AS</Surname>
<Code>123456-12345</Code>
<BirthDate>19 80-01-01T00:00:00</BirthDate>
<IsPolicyHolder >false</IsPolicyHolder>
<IsNotResident> false</IsNotResident>
<Address></Address>
<Phone>11212121 </Phone>
<Email>AS**@ASA S.LV</Email>
<Type>PhysicalP erson</Type>
<ResidencyCount ry>0</ResidencyCountr y>
<Sex>Male</Sex>
<Village />
<House>NAMAS</House>
<Flat />
<TownDistrictOi d>0</TownDistrictOid >
<RegionCityOid> 27</RegionCityOid>
<Street />
<PostalIndex>12 12</PostalIndex>
<LegalPersonTyp e>0</LegalPersonType >
</PolicyHolder>
<Country>Estoni a</Country>
<Zone>1</Zone>
<TravelType>2 1</TravelType>
<Program>1</Program>
<InsuredPersons >
<Person>
<Name>AS</Name>
<Surname>AS</Surname>
<Code>123456-12345</Code>
<BirthDate>19 80-01-01T00:00:00</BirthDate>
<IsPolicyHolder >true</IsPolicyHolder>
<IsNotResident> false</IsNotResident>
<Type>PhysicalP erson</Type>
<ResidencyCount ry>0</ResidencyCountr y>
<Sex>Male</Sex>
<LegalPersonTyp e>0</LegalPersonType >
</Person>
<Person>
<Name>AS2</Name>
<Surname>AS2</Surname>
<Code>123456-12345</Code>
<BirthDate>19 80-01-01T00:00:00</BirthDate>
<IsPolicyHolder >true</IsPolicyHolder>
<IsNotResident> false</IsNotResident>
<Type>PhysicalP erson</Type>
<ResidencyCount ry>0</ResidencyCountr y>
<Sex>Male</Sex>
<LegalPersonTyp e>0</LegalPersonType >
</Person>
</InsuredPersons>
</Draft>

This is my code so far (as you can see i'm not using schema, cuz i don't
know how):

XmlDocument xml = new XmlDocument();

XmlDeclaration declaration = xml.CreateXmlDe claration ("1.0",
utf-16", null);

xml.AppendChild (declaration);

//Root element
XmlElement elemDraft = xml.CreateEleme nt
("Draft");//,"http://www.w3.org/2001/XMLSchema");

//Root element attributes
XmlAttribute attr1 = xml.CreateAttri bute ("xmlns:xsi" );
attr1.Value = "http://www.w3.org/2001/XMLSchema-instance";
elemDraft.Attri butes.Append (attr1);

XmlAttribute attr2 = xml.CreateAttri bute ("xmlns:xsd" );
attr2.Value = "http://www.w3.org/2001/XMLSchema";
elemDraft.Attri butes.Append (attr2);

XmlAttribute attr3 = xml.CreateAttri bute ("xsi:type") ;
attr3.Value = "TravelDraf t";
elemDraft.Attri butes.Append (attr3);

xml.AppendChild (elemDraft);

//DraftId
XmlElement elemDraftId = xml.CreateEleme nt("DraftId");
elemDraftId.Val ue = draft.DraftId ?? String.Empty;
elemDraft.Appen dChild(elemDraf tId);

//StartDate
XmlElement elemStartDate = xml.CreateEleme nt ("StartDate" );
elemDraftId.Val ue = draft.StartDate .Date.ToString( ) ??
String.Empty;
elemDraft.Appen dChild (elemStartDate) ;
Jan 26 '07 #1
1 19072
Have you thought about using xml serialisation (System.Xml.Xml Serialiser)
this means that you wouldn't have to work with an XMlDocument directly...

http://msdn2.microsoft.com/en-us/lib...36(vs.80).aspx

How to: Serialize an Object
http://msdn2.microsoft.com/en-us/lib...4s(VS.80).aspx

How to: Deserialize an Object
http://msdn2.microsoft.com/en-us/lib...9y(VS.80).aspx

How to: Use the XML Schema Definition Tool to Generate Classes and XML
Schema Documents
http://msdn2.microsoft.com/en-us/lib...y7(VS.80).aspx

HTH

Ollie Riches
"Mikus Sleiners" <mi*@newsgroups .nospamwrote in message
news:eO******** ******@TK2MSFTN GP02.phx.gbl...
>I have a task to create xml document from c# code.

I have example of that document should look like and also a xml schema.
I wonder if i can use this xml schema somehow ?

This is schema:

<?xml version="1.0"?>
<xs:schema attributeFormDe fault="unqualif ied"
elementFormDefa ult="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Draft">
<xs:complexType >
<xs:sequence>
<xs:element name="DraftId" type="xs:string " />
<xs:element name="StartDate " type="xs:dateTi me" />
<xs:element name="RetryCoun t" type="xs:unsign edByte" />
<xs:element name="LocalCurr encyId" type="xs:unsign edByte" />
<xs:element name="EndDate" type="xs:dateTi me" />
<xs:element name="OriginalP remium" type="xs:unsign edShort" />
<xs:element name="Authoriza tionCode" type="xs:string " />
<xs:element name="Locale" type="xs:string " />
<xs:element name="IssueDate " type="xs:dateTi me" />
<xs:element name="StatusCod e" type="xs:string " />
<xs:element name="Invoice">
<xs:complexType >
<xs:sequence>
<xs:element name="Number" type="xs:string " />
<xs:element name="IssueDate " type="xs:dateTi me" />
<xs:element name="DueDate" type="xs:dateTi me" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PolicyNum ber" type="xs:unsign edLong" />
<xs:element name="PolicyHol derName" type="xs:string " />
<xs:element name="OriginalC urrencyId" type="xs:unsign edByte" />
<xs:element name="Transacti onId" type="xs:string " />
<xs:element name="LocalPrem ium" type="xs:decima l" />
<xs:element name="PaymentTy pe" type="xs:string " />
<xs:element name="MediatorN ame" type="xs:string " />
<xs:element name="LobId" type="xs:unsign edByte" />
<xs:element name="PolicyHol der">
<xs:complexType >
<xs:sequence>
<xs:element name="Name" type="xs:string " />
<xs:element name="Surname" type="xs:string " />
<xs:element name="Code" type="xs:string " />
<xs:element name="BirthDate " type="xs:dateTi me" />
<xs:element name="IsPolicyH older" type="xs:boolea n" />
<xs:element name="IsNotResi dent" type="xs:boolea n" />
<xs:element name="Address" type="xs:string " />
<xs:element name="Phone" type="xs:unsign edInt" />
<xs:element name="Email" type="xs:string " />
<xs:element name="Type" type="xs:string " />
<xs:element name="Residency Country" type="xs:unsign edByte" />
<xs:element name="Sex" type="xs:string " />
<xs:element name="Village" type="xs:string " />
<xs:element name="House" type="xs:string " />
<xs:element name="Flat" type="xs:string " />
<xs:element name="TownDistr ictOid" type="xs:unsign edByte" />
<xs:element name="RegionCit yOid" type="xs:unsign edByte" />
<xs:element name="Street" type="xs:string " />
<xs:element name="PostalInd ex" type="xs:unsign edShort" />
<xs:element name="Country" type="xs:unsign edByte" />
<xs:element name="LegalPers onType" type="xs:unsign edByte" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Country" type="xs:string " />
<xs:element name="TravelTyp e" type="xs:unsign edByte" />
<xs:element name="Zone" type="xs:unsign edByte" />
<xs:element name="Program" type="xs:unsign edByte" />
<xs:element name="InsuredPe rsons">
<xs:complexType >
<xs:sequence>
<xs:element maxOccurs="unbo unded" name="Person">
<xs:complexType >
<xs:sequence>
<xs:element name="Name" type="xs:string " />
<xs:element name="Surname" type="xs:string " />
<xs:element name="Code" type="xs:string " />
<xs:element name="BirthDate " type="xs:dateTi me" />
<xs:element name="IsPolicyH older" type="xs:boolea n" />
<xs:element name="IsNotResi dent" type="xs:boolea n" />
<xs:element name="Type" type="xs:string " />
<xs:element name="Residency Country"
type="xs:unsign edByte" />
<xs:element name="Sex" type="xs:string " />
<xs:element name="TownDistr ictOid"
type="xs:unsign edByte" />
<xs:element name="RegionCit yOid" type="xs:unsign edByte"
/>
<xs:element name="Country" type="xs:unsign edByte" />
<xs:element name="LegalPers onType"
type="xs:unsign edByte" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

This is how final document should look like:

<?xml version="1.0" encoding="utf-16"?>
<Draft xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema" xsi:type="Trave lDraft">
<DraftId>139451 de-1bc1-4070-b9d1-548dd4a7f812</DraftId>
<StartDate>20 06-10-04T00:00:00</StartDate>
<RetryCount>0 </RetryCount>
<LocalCurrencyI d>1</LocalCurrencyId >
<EndDate>2006-10-25T23:59:59</EndDate>
<OriginalPremiu m>38.61</OriginalPremium >
<Locale>lt-LT</Locale>
<IssueDate>20 06-10-02T09:26:31.856 2127+03:00</IssueDate>
<StatusCode>Uns uccessful</StatusCode>
<Invoice>
<Number>B000262 4</Number>
<IssueDate>20 06-10-02T09:26:31.856 2127+03:00</IssueDate>
<DueDate>2006-10-02T09:26:31.856 2127+03:00</DueDate>
</Invoice>
<PolicyNumber>4 5300000265</PolicyNumber>
<PolicyHolderNa me>AS AS, 123456-12345</PolicyHolderNam e>
<OriginalCurren cyId>3</OriginalCurrenc yId>
<TransactionId> FVR21tY1Kot1fOf FRqkFJ9WZ7E4=</TransactionId>
<LocalPremium>2 7.03</LocalPremium>
<PaymentType>It a</PaymentType>
<MediatorName>A ir Baltic Corporation AS</MediatorName>
<LobId>53</LobId>
<PolicyHolder >
<Name>AS</Name>
<Surname>AS</Surname>
<Code>123456-12345</Code>
<BirthDate>19 80-01-01T00:00:00</BirthDate>
<IsPolicyHolder >false</IsPolicyHolder>
<IsNotResident> false</IsNotResident>
<Address></Address>
<Phone>11212121 </Phone>
<Email>AS**@ASA S.LV</Email>
<Type>PhysicalP erson</Type>
<ResidencyCount ry>0</ResidencyCountr y>
<Sex>Male</Sex>
<Village />
<House>NAMAS</House>
<Flat />
<TownDistrictOi d>0</TownDistrictOid >
<RegionCityOid> 27</RegionCityOid>
<Street />
<PostalIndex>12 12</PostalIndex>
<LegalPersonTyp e>0</LegalPersonType >
</PolicyHolder>
<Country>Estoni a</Country>
<Zone>1</Zone>
<TravelType>2 1</TravelType>
<Program>1</Program>
<InsuredPersons >
<Person>
<Name>AS</Name>
<Surname>AS</Surname>
<Code>123456-12345</Code>
<BirthDate>19 80-01-01T00:00:00</BirthDate>
<IsPolicyHolder >true</IsPolicyHolder>
<IsNotResident> false</IsNotResident>
<Type>PhysicalP erson</Type>
<ResidencyCount ry>0</ResidencyCountr y>
<Sex>Male</Sex>
<LegalPersonTyp e>0</LegalPersonType >
</Person>
<Person>
<Name>AS2</Name>
<Surname>AS2</Surname>
<Code>123456-12345</Code>
<BirthDate>19 80-01-01T00:00:00</BirthDate>
<IsPolicyHolder >true</IsPolicyHolder>
<IsNotResident> false</IsNotResident>
<Type>PhysicalP erson</Type>
<ResidencyCount ry>0</ResidencyCountr y>
<Sex>Male</Sex>
<LegalPersonTyp e>0</LegalPersonType >
</Person>
</InsuredPersons>
</Draft>

This is my code so far (as you can see i'm not using schema, cuz i don't
know how):

XmlDocument xml = new XmlDocument();

XmlDeclaration declaration = xml.CreateXmlDe claration ("1.0",
utf-16", null);

xml.AppendChild (declaration);

//Root element
XmlElement elemDraft = xml.CreateEleme nt
("Draft");//,"http://www.w3.org/2001/XMLSchema");

//Root element attributes
XmlAttribute attr1 = xml.CreateAttri bute ("xmlns:xsi" );
attr1.Value = "http://www.w3.org/2001/XMLSchema-instance";
elemDraft.Attri butes.Append (attr1);

XmlAttribute attr2 = xml.CreateAttri bute ("xmlns:xsd" );
attr2.Value = "http://www.w3.org/2001/XMLSchema";
elemDraft.Attri butes.Append (attr2);

XmlAttribute attr3 = xml.CreateAttri bute ("xsi:type") ;
attr3.Value = "TravelDraf t";
elemDraft.Attri butes.Append (attr3);

xml.AppendChild (elemDraft);

//DraftId
XmlElement elemDraftId = xml.CreateEleme nt("DraftId");
elemDraftId.Val ue = draft.DraftId ?? String.Empty;
elemDraft.Appen dChild(elemDraf tId);

//StartDate
XmlElement elemStartDate = xml.CreateEleme nt ("StartDate" );
elemDraftId.Val ue = draft.StartDate .Date.ToString( ) ??
String.Empty;
elemDraft.Appen dChild (elemStartDate) ;


Jan 26 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2930
by: Jari Kujansuu | last post by:
I can successfully parse XML document using SAX or DOM and I can also validate XML document against schema. Problem is that my program should deal with user-defined schemas which means that when I parse some element from XML document I don't know until runtime the type of the element (it depends on the type used in user-defined schema). XML parser obviously validates that the value of the element is correct type but still I receive that...
3
1499
by: Kent Tong | last post by:
Hi, This is wha I'm trying to do: <?xml version="1.0"?> <!DOCTYPE library > <library xmlns="http://foo.com"> &foo; </library>
0
969
by: Ganesh | last post by:
Can someone tell me how do i go about creating an xml schema for a web service that i need to develop. Basically what the web service does is reads the input schema and displays a list of forms applicable for a policy. I'm trying to create a generic schema and in that i need to know how to decide on the attributes and elements,simple and complex types, denoting repeatable/iterative things in a schema and all of this stuff? i have gone...
1
798
by: Jim Heimer | last post by:
Hi, I've been using schema.ini to read an ascii file to a dataset. Would it be possible to write to the ascii file the same way I read from it? In my case, the initial ascii file has two "columns" readable by schema.ini, first name and last name. After the process, I need to write the emplcode to that same file. In schema.ini, Would it be possible to add an additional "column" called emplcode (that does not contain any data in the...
2
7670
by: rachana | last post by:
Hi, I am trying to create rtf document using C# and ASP.NET. I have seen a sample code in asp: http://support.microsoft.com/kb/270906/ I tried to do the same using C#, but rtf controls are not recognized. Document is not formatted and formatting information is just displayed in plain text.
3
1753
by: Lord0 | last post by:
I *think* I need to be able to validate subsets of an XML document using different schema. The functionality I'm trying to implement is this. a) External suppliers produce an XML document containing multiple User records. The external supplier validates this entire document using schema 1. This document is then uploaded to our system. b) Our system then checks that the supplied document "looks okay", minimally, using Schema 2. Schema...
1
3093
by: surveyor | last post by:
Hello everyone, I have used Microsoft Word 10 library for creating word document in VB6. But I see it is very slow. Please tell me how I can do faster? For creating document content I use selection.typetext text:= "....". Thank you!
3
6352
by: SMH | last post by:
Normally an SVG document is loaded/parsed/interpreted inside an HTML document using an 'object' (or 'embed') element, although there are supposedly other ways too. The problem is, the SVG document must be static this way. I want to use the DOM interface to build SVG dynamically inside an HTML document. I am guessing I can build it inside HTML within an 'object' (or maybe 'iframe'?) element. My intentions/goals:
0
8370
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8283
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.