i am very new to vb.net, and i am making a webapplication .. a simple one ..
i have a dropdownlist, 2 textboxes and 1 datagrid.
the purpose of the ddl is to show some ID, once an ID is selected, it must update the 2 textboxes with values.. and it should update the datagrid as well with the id.
now let me show what i have...
Shared Function ID() As DataSet
Dim FillID As DataSet = New DataSet
Dim sql As String = ""
sql = "SELECT * FROM testFirma ORDER BY CompanyID "
FillID = SqlHelper.ExecuteDataset(AppKonfig.LogonToServer, CommandType.Text, sql)
this is the thing getting data to ddl,
as i am selecting * from CompanyID i assume it will also select companyName and CompanyAd
so once i select an ID in ddl, it should fill the two text boxes...
concerning the datagrid, we can wait with it until the first part is over...
hope someone can help me