Hi Bhuwan.Net,
Refer the below link to convert the code from C# to VB or VB to C#.
http://converter.telerik.com/
Protected Sub Page_Load(sender As Object, e As EventArgs)
Dim ds As New DataSet()
ds.Tables.Add(New DataTable())
ds.Tables(0).Columns.AddRange(New DataColumn(2) {New DataColumn("Id", GetType(Integer)), New DataColumn("Name", GetType(String)), New DataColumn("DOB", GetType(DateTime))})
ds.Tables(0).Rows.Add(1, "John Hammond", "12/12/1996")
ds.Tables(0).Rows.Add(2, "Mudassar Khan", "11/16/1995")
ds.Tables(0).Rows.Add(3, "Suzanne Mathews", "10/20/1997")
ds.Tables(0).Rows.Add(4, "Robert Schidner", "09/22/1991")
Dim dt2 As New DataTable()
dt2 = ds.Tables(0).[Select]().Where(Function(p) (Convert.ToDateTime(p("DOB")) >= Convert.ToDateTime("11/16/1995")) AndAlso (Convert.ToDateTime(p("DOB")) <= Convert.ToDateTime("10/20/1997"))).CopyToDataTable()
'decimal total = dt.AsEnumerable().Sum(row => row.Field<decimal>("AMOUNT"));
'''/dt2.AsEnumerable().Sum(Function(row) row.Field(Of Double)("ADM_NETFEE"))
GridView1.DataSource = dt2
GridView1.DataBind()
End Sub