Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@Page Language="C#" %>
- <script runat="server">
- String[] city= new String[7];
- void Page_Load(Object Sender, EventArgs e){
- city[0] = "Dhaka";
- city[1] = "Rajshahi";
- city[2] = "Rangpur";
- city[3] = "Sylhet";
- city[4] = "Barisal";
- city[5] = "Chittagong";
- city[6] = "Khulna";
- }
- void show()
- {
- int i = 0;
- while(i<7){
- Response.Write(city[i] + "<br /> \n");
- i++;
- }
- }
- </script>
- <html>
- <head>
- <title>City List of Bangladesh</title>
- </head>
- <body>
- <% show(); %>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement