Hi everyone,
I'm trying to extend a dataGridView Filter from column Name to column Surname using a single texBox, I have managed to filter the Name column using the following code.
private void txtNameSearch_TextChanged(object sender, EventArgs e) { try { this.sTUNDENTINFOTableAdapter.FillByName(this.mDIDataSet1.STUNDENTINFO, txtNameSearch.Text); } catch (System.Exception ex) { System.Windows.Forms.MessageBox.Show(ex.Message); } }This is working fine. But I want to make it in such a way that when a user types a name followed by a space, the next letter or word he types should be filtered from the SURNAME column.
any help please.
My ASP