| Thành viên | Trả lời |
nmduc073

49 bài
| 7-4-2012 17:26:12 Mình đang nghiên cứu code của 1 dự án. Nó có những template dạng như sau:
<?xml version="1.0" encoding="utf-8"?> <! table width="100%" maxrow="43"> <tr id="02" type="candel"> <td id="1" width="150px" colspan=""> <control type="label" row="02" typedata="catalog" id="lbl_catalog_5" text="Xã, thị trấn" /> </td> <td id="2" colspan=""> <control type="ddlgridview" row="02" typedata="catalog" id="ctr_catalog_5" datatextfield="CatalogName" datavaluefield="CatalogID" width="200px" globalcode="f3278044-b1bb-436c-9f4f-32c7b3491b7a"> <objectdatasource id="odsCtlCatalog5" selectmethod="GetByMetaID" typename="BLL_CtlCatalogValue"> <parameter defaultvalue="5" name="iMetaID" /> </objectdatasource> </control> </td> </tr> <tr id="03" type="candel"> <td id="1" width="150px" colspan=""> <control type="label" row="03" typedata="exfield" id="lbl_exfield_328" text="I, Người sử dụng đất" /> </td> <td id="2" colspan=""> <control type="textbox" row="03" typedata="exfield" id="tbx_exfield_328" maxlength="200" requiredfieldvalidator="false" regularexpressionvalidator="string" width="200px" textmode="SingleLine" globalcode="d8d8a043-2feb-4e72-89cd-6d1b871a05fa" /> </td> </tr> <tr id="04" type="candel"> <td id="1" width="150px" colspan=""> <control type="label" row="04" typedata="exfield" id="lbl_exfield_329" text="Năm sinh" /> </td> <td id="2" colspan=""> <control type="textbox" row="04" typedata="exfield" id="tbx_exfield_329" maxlength="200" requiredfieldvalidator="false" regularexpressionvalidator="string" width="200px" textmode="SingleLine" globalcode="49db2a3b-7969-4048-86bb-434555fd17c0" /> </td> </tr> <tr id="05" type="candel"> <td id="1" width="150px" colspan=""> <control type="label" row="05" typedata="exfield" id="lbl_exfield_330" text="CMND" /> </td> <td id="2" colspan=""> <control type="textbox" row="05" typedata="exfield" id="tbx_exfield_330" maxlength="200" requiredfieldvalidator="false" regularexpressionvalidator="string" width="200px" textmode="SingleLine" globalcode="ef34789c-65b0-4206-b623-251a5cf3fa95" /> </td> </tr> .... Nó đọc file này rồi parse nó ra web page. Mình đang bế tắc nên dùng thư viện/dll nào để hỗ trợ xử lý nó. Xin vui lòng chỉ giúp với. --- www.nguyenminhduc.net: Site cá nhân và về Dotnetnuke
|
 |