J
Justin
I'm just learning ASP.NET 2.0 and everything I find on Datasets including
the MSPress book I bought go way to far for what I need. I do not need to
bind a datasource. My source will be a text file that I will read line by
line.
All I want to do is create a dataset and add records to it manualy that I
will read from a text file. To start I'm just trying to add a single
record. I then want to bind that dataset to a gridview.
To start is this correct for far:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim ds As Data.DataSet = New Data.DataSet()
GridView1.DataSource = ds
GridView1.DataBind()
End Sub
How do I add records to it?
Thanks for any help
the MSPress book I bought go way to far for what I need. I do not need to
bind a datasource. My source will be a text file that I will read line by
line.
All I want to do is create a dataset and add records to it manualy that I
will read from a text file. To start I'm just trying to add a single
record. I then want to bind that dataset to a gridview.
To start is this correct for far:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim ds As Data.DataSet = New Data.DataSet()
GridView1.DataSource = ds
GridView1.DataBind()
End Sub
How do I add records to it?
Thanks for any help