TextBox t = (TextBox)sender; var sbFilter = new System.Text.StringBuilder(200); //marto gridvie1 sexedavs if (t.Text.Length > 0) { sbFilter.Append(t.ID + "Like %'").Append(t.Text).Append("'%"); ObjectDataSource1.FilterExpression = sbFilter.ToString(); } else{ ObjectDataSource1.FilterExpression = string.Empty; ObjectDataSource1.FilterParameters.Clear(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)