Hi,
I have created a datasource sqldatasource1. I have issued a select statement in a view to updating a record.
--------------------Partial code
SqlDataSource1.SelectCommand = "SELECT * FROM ACCTMASTER WHERE ACCOUNTID =" + Me.AccountID.Text
SqlDataSource1.SelectParameters.Clear()
SqlDataSource1.SelectParameters.Add("PAYERID", Me.PayerID.Text)
Dim dv As DataView = DirectCast(SqlDataSource1.[Select](DataSourceSelectArguments.Empty), DataView)
Dim tab As DataTable = dv.Table
(tab.Rows.Count > 0) Then
---- and so on
-------------------end of partial code
Pls I want to return the individual fields of the table AcctMaster with the SELECT statement.
for instance,
Dim V_AccountId as String = AcctMaster.AccountId