Guest User

Untitled

a guest
Dec 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. <asp:Repeater ID="rptCertificate" runat="server">
  2. <ItemTemplate>
  3. <div class="form-group">
  4. <div class="col-xs-9">
  5. <div class="row">
  6. <div class="col-xs-12">
  7. <b><span class="text-title" style="text-decoration:solid" id="lblCertName" runat="server" Text='<%#Eval("CertificateName") %>'></span></b>
  8. </div>
  9. <div class="col-xs-12">
  10. <span id="lblCertLicenseNo" runat="server" Text='<%#Eval("CertificateNo") %>'></span>
  11. </div>
  12. <div class="col-xs-12 space-between-row">
  13. <div class="form-group small-form-group">
  14. <label class="col-xs-4 col-sm-3 custom-control-data-label">Certificate Validity</label>
  15. <span class="col-xs-4 col-sm-4 custom-control-data-output output-exp-item" id="lblValidityDate" runat="server" Text='<%#Eval("CertValidStart") %>'></span>
  16. </div>
  17. </div>
  18. <div class="col-xs-12 space-between-row">
  19. <div class="form-group small-form-group">
  20. <label class="col-xs-4 col-sm-3 custom-control-data-label">Certificate Authorized By</label>
  21. <span class="col-xs-8 col-sm-9 custom-control-data-output output-exp-item" id="lblAuthority" runat="server" Text='<%#Eval("CertificateAuthority") %>'></span>
  22. </div>
  23. </div>
  24. </div>
  25. </div>
  26. </div>
  27. </ItemTemplate>
  28. </asp:Repeater>
  29.  
  30. Sub ResourceName_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  31. Try
  32. RepeaterCertificate(chkResourceName1.SelectedValue)
  33. End Sub
  34.  
  35. Public Sub RepeaterCertificate(ByVal TechnicalProfileID As Int32)
  36. attPage.SQLQuery = DC.Data_TechnicalResource("107", TechnicalProfileID.ToString)
  37. DS = DA.GetSQLDataset(attPage.SQLQuery)
  38. If DS IsNot Nothing AndAlso DS.Tables(0).Rows.Count > 0 Then
  39. rptCertificate.DataSource = DS.Tables(0)
  40. rptCertificate.DataBind()
  41. End If
  42. End Sub
  43.  
  44. Certificate Validity
  45. Certificate Authorized By
  46.  
  47. Certificate Validity
  48. Certificate Authorized By
Add Comment
Please, Sign In to add comment