Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public class Person
{
public Guid id {get;set;}
public string name {get;set;}
//other properties
public void send_email()
{
//logic to send email
}
public void address(Envelope envelope)
{
//logic to send snail mail
}
}
Dim x(3) As String : x(0) = "2006" : x(1) = "2007" : x(2) = "2008" : x(3) = "2009"
Dim y(3) As String : y(0) = "1111" : y(1) = "2222" : y(2) = "3333" : y(3) = "4444"
Dim i As Integer
Dim myTable As New DataTable()
Dim dc1 As New DataColumn("column1", Type.GetType("System.Int32"))
Dim dc2 As New DataColumn("column2", Type.GetType("System.Int32"))
myTable.Columns.Add(dc1)
myTable.Columns.Add(dc2)
Dim myRow As DataRow
For i = 0 To x.Length - 1
myRow = myTable.NewRow
myRow(dc1) = x(i)
myRow(dc2) = y(i)
myTable.Rows.Add(myRow)
Next
<asp:repeater>
<headertemplate>
<table>
<thead>
<tr><td colspan="2"> Unit/Plant Number</td></tr>
<tr><td>Year</td><td>MWh</td></tr>
</thead>
<tbody>
</headertemplate>
<footertemplate>
</tbody>
</table>
</footertemplate>
<itemtemplate>
<tr>
<td><%#Eval("column1")%></td>
<td><%#Eval("column2")%></td>
</tr>
</itemtemplate>
</asp:repeater>
<asp:GridView
ID="GridView2"
runat="server"
Font-Size="X-Small"
Font-Names="Arial"
AutoGenerateColumns="true"
OnRowEditing="GridView1_RowEditing"
OnRowUpdating="GridView1_RowUpdating"
OnRowCancelingEdit="GridView1_RowCancelingEdit"
OnRowDataBound="GridView2_RowDataBound"
BackColor="Silver"
BorderColor="Black"
BorderStyle="Solid"
ForeColor="Black">
</asp:GridView>