databind(txtAddress1, "Text", dataSetClients.Clients, "Address1");
databind(txtWPAddress1, "Text", dataSetClients.Clients, "Address1");
// function to add a databind
private void databind(Control ctrlfieldName, string strType, object objTable, string strField)
{
ctrlfieldName.DataBindings.Add(strType, objTable, strField, true, DataSourceUpdateMode.OnPropertyChanged);
}
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY
ASKER