Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
|
Hi All,
I would like to know which one of the two methods is better to bind server control with XML data
1) XMLDataSource
2) DataSet.ReadXml("XML file path");
NOTE: The control binding also includes some checks/conditions in order to display data as per requirements
e.g
there are two fields in xml file
1) Price
2) Sale Price
If "Sale Price" is empty we have to show Price as bold text
and if "Sale Price" is less than "Price" we have to show "Price" as a strikethrough text and "Sale Price" as bold text
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
|