N
Newbie
Hi,
I have a dataadapter that contains just a single record.
Dim SqlDataAdapterValues As New SqlDataAdapter("select * from
tbl_formatvalue where format_id = " & intFormatInt, dbConnectionIn)
SqlDataAdapterJobs.Fill(dsFormats, "formatvalues")
I want to get the value for column customer_id from this dataset.
usually i would have a dataset with many records, and just do a for each
..... looping through and processing each row.
In this case, as there is only one record in the dataset, is there a better
way to get to the data that using the for each?
Or.. is there a better way of getting my data, is a dataset in this
situation not the best.
Thanks
I have a dataadapter that contains just a single record.
Dim SqlDataAdapterValues As New SqlDataAdapter("select * from
tbl_formatvalue where format_id = " & intFormatInt, dbConnectionIn)
SqlDataAdapterJobs.Fill(dsFormats, "formatvalues")
I want to get the value for column customer_id from this dataset.
usually i would have a dataset with many records, and just do a for each
..... looping through and processing each row.
In this case, as there is only one record in the dataset, is there a better
way to get to the data that using the for each?
Or.. is there a better way of getting my data, is a dataset in this
situation not the best.
Thanks