Advertisement
Guest User

Untitled

a guest
Mar 15th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Loop through Connectors {
  2. Create <Div class="Container">
  3. Create <Div class="conLabel">Label</div>
  4.  
  5. Loop through Queries for this connector {
  6. WebSevice _WS = new WebService();
  7. __WS.GetDataCompleted += new GetDataCompletedEventHandler(__WS_GetDataCompleted);
  8. __WS.GetDataAsync(Parameters Here);
  9. }
  10. Create </Div>
  11. }
  12.  
  13. void __WS_GetDataCompleted(object sender, GetDataCompletedEventArgs e) {
  14. Get result here from e.Result
  15. Create New gridview and bind to it.
  16. }
  17.  
  18. Loop through Connectors {
  19. Panel myPanel = new Panel();
  20. myPanel.ID = "UNIQUEID"; // Using this ID i am identifying the container
  21.  
  22. Loop through Queries for this connector {
  23. WebSevice _WS = new WebService();
  24. __WS.GetDataCompleted += new GetDataCompletedEventHandler(__WS_GetDataCompleted);
  25. __WS.GetDataAsync(Parameters Here);
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement