Refer this
C#
protected void Page_Load(object sender, EventArgs e)
{
DataTable dt = new DataTable();
dt.Columns.Add("Price", typeof(float));
DataRow dr = dt.NewRow();
dr["Price"] = 12.5;
dt.Rows.Add(dr);
}
VB
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim dt As New DataTable()
dt.Columns.Add("Price", GetType(Single))
Dim dr As DataRow = dt.NewRow()
dr("Price") = 12.5
dt.Rows.Add(dr)
End Sub
Thank You.