Đang Thực Hiện

134182 Read Xml into Flexgrid vb 6.0

Put a VB6 Flexgrid on a form. Add a command button. Clicking the command button reads the xml file called ?[url removed, login to view] in the application path into the flex grid. Each row in the flexgrid will contain attribute from one report in the XML.

Columns you should expose in the flexgrid are:

1. ID(report)

2. type(report)

3. status(report)

4. recipient(subreport)

5. status(subreport)

6. number of calls ? this is not in the XML, you must compute this

7. status(call1)

8. error(call1)

9. timedate(call1)

10. answer(call1)

11. protocol(call1)

12. duration(call1)

Some SubReports have multiple Calls. Most will only have one. We cannot predict how many there will be. The code you write should detect the maximum number of calls in any report in the file, and add additional colums in the table like:

13. status(call2)

14. error(call2)

15. timedate(call2)

16 answer(call2)

17. protocol(call2)

18. duration(call2)

? so if one report had 10 calls, and the rest had only 1, then you would add enough columns in the grid to see the call attributes for the 10 call report, and for other rows in the grid, those cells would be blank. The number of calls you count in each report goes into column #6.

Kỹ năng: Bất kì công việc gì, Visual Basic, XML

Xem thêm: vb6 xml flexgrid, vb6 flexgrid xml, vb6 0, maximum path, read xml file flexgrid, xml flexgrid, xml grid vb6, xml grid, vb 6, vb6 read code, number grid columns, read file error number, write file vb6, read write xml, flex grid xml, code read, table vb6, write grid, read code, vb6 xml read write, vb6 type, form report vb6, vb6 flexgrid, must read, flex read

Về Bên Thuê:
( 50 nhận xét ) Chandigarh, India

Mã Dự Án: #1880354