01.
void
getBusinesstype(
string
Businesstype)
02.
{
03.
tblBusinessTypeBindingSource.Filter =
"Businesstype like %'"
+ Businesstype +
"'%"
;
04.
if
(
string
.IsNullOrEmpty(iDTextBox.Text))
05.
{
06.
tblBusinessTypeTableAdapter.Insert(Businesstype);
07.
this
.tblBusinessTypeTableAdapter.Fill(
this
.dataSet1.tblBusinessType);
08.
tblBusinessTypeBindingSource.Filter =
"Businesstype like %'"
+ Businesstype +
"'%"
;
09.
}
10.
11.
}