Hi saba,
when you save infopath form , it will be saved as xml file,
All fields in infopath are called nodes in xml file,
In infopath , we use DOM(Document object Model) to do operations on particular nodes(field) using Xpaths,
we can add fields manually in datasource and through secondary dataconnection.
I hope this will help you,
Thganks.
K.Ramana Reddy / http://www.ggktech.comIndia.