Dim dr As DataRow
Dim dt As DataTable
Dim ds As DataSet
ds = DataSet2
dt = ds.Tables("firm")
dr = dt.NewRow()
dr.Item("f_num") = 9999
dr.Item("f_name") = "samir" 'txt_FarmName.Text
dr.Item("f_floor") = 10 'Val(txt_FloorCnt.Text)
dr.Item("f_type") = "C" ' Left (com_CusType.Text, 1)
ds.Tables("firm").Rows.Add(dr)

as I am reading from an example? there is a line da.Update(ds, "Firm")

Where Is the DataAdapter in my case?

I am using this example from here http://www.homeandlearn.co.uk/NET/nets12p10.html

TIA

Samir Ibrahim

FirmTableAdapter1.Update(ds) ' This List what I was Looking for

Problem Solved

Samir Ibrahim

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.