Facebook
From Reliable Horse, 2 Years ago, written in Plain Text.
This paste is a reply to Re: Untitled from Cute Tortoise - view diff
Embed
Download Paste or View Raw
Hits: 149
  1. <h2 style="text-align:center;">Stock Exchange</h2>
  2. <body>
  3.     <form>
  4.                     <div class="form-group">
  5.        
  6.                 <label for="exampleInputEmail1">Stock Exchange Id:</label>
  7.        
  8.                 <input type="number" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" name="seid" [(ngModel)]="seid" placeholder="Stock Exchange ID">
  9.        
  10.               </div>
  11.        
  12.        
  13.        
  14.             <div class="form-group">
  15.        
  16.               <label for="exampleInputEmail1">Stock Exchange Name:</label>
  17.        
  18.               <input type="text" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" name="username" [(ngModel)]="stockExchange" placeholder="Stock Exchange Name">
  19.        
  20.             </div>
  21.        
  22.          
  23.        
  24.             <br>
  25.        
  26.             <div class="form-group">
  27.        
  28.               <label for="exampleInputPassword1">Brief :</label>
  29.        
  30.               <input type="text" class="form-control" id="exampleInputPassword1" name="password"  [(ngModel)]="brief" placeholder="Brief">
  31.        
  32.             </div>
  33.        
  34.             <br>
  35.        
  36.             <div class="form-group">
  37.        
  38.                 <label for="exampleInputEmail1">Address    :</label>
  39.        
  40.                 <input type="text" class="form-control" id="exampleInputPassword1" name="usertype"  [(ngModel)]="address" placeholder="Address">
  41.        
  42.               </div>
  43.        
  44.               <br>
  45.        
  46.        
  47.        
  48.               <div class="form-group">
  49.        
  50.                 <label for="exampleInputEmail1">Remarks   :</label>
  51.        
  52.                 <input type="text" class="form-control" id="exampleInputPassword1" name="mobile"  [(ngModel)]="remarks" placeholder="Remarks">
  53.        
  54.               </div>
  55.        
  56.               <br>
  57.        
  58.        
  59.  
  60.        
  61.             <div class="middle">
  62.        
  63.             <button type="submit" class="btn btn-primary" (click)="addstockexchange()">Add StockExchange</button>
  64.        
  65.        
  66.         <button type="submit" class="btn btn-primary" align = "right" (click)="getallse()">Get all Stock Exchanges</button>
  67.         <table class="table">
  68.             <thead>
  69.               <tr>
  70.                 <!--<th>Exchange ID</th>-->
  71.                 <th>Exchange Name</th>
  72.                 <th>Brief</th>
  73.                 <th>Address</th>
  74.                 <th>Remarks</th>
  75.               </tr>
  76.             </thead>
  77.             <tbody>
  78.               <tr *ngFor="let item of list">
  79.                 <!--<td>{{item.seid}}</td>-->
  80.                 <td>{{item.stockExchange}}</td>
  81.                 <td>{{item.brief}}</td>
  82.                 <td>{{item.address}}</td>
  83.                 <td>{{item.remarks}}</td>
  84.               </tr>
  85.             </tbody>
  86.           </table>
  87.     </div>
  88.        
  89.           </form>
  90.          
  91.          
  92.          
  93.          
  94.          
  95. export class StockExchanges {
  96.     Seid : number ;
  97.     StockExchange  : string;
  98.     Brief : string;
  99.     Address : string;
  100.     Remarks : string;
  101. }
  102.  
  103.  
  104.  
  105.  
  106.  
  107.