Dataview.Rowfilter help

  • Thread starter Thread starter s26f84
  • Start date Start date
S

s26f84

hey guys

I am tring to implement a filter in a datagrid. I am using a datatable
which is the datasource for the grid.
I need to filter set of rows. i.e. from row 1 to row count. i need to
keep my row 0 intact, which is an option to add a new person.

textbox key up code looks like this:

string strRowFilter = String.Concat("Name LIKE '%", txtName.Text,
"%'");
dv.RowFilter = strRowFilter;
grdNames.DataSource = dv;

plz help

sunny
 
hey Kevin
thanks for the reply... but still not able to geeet how to do there is
stuff but nothing about how to make a fixed or always visible row in
dataview... The expression one helps in calculations and stuff... thts
kool, might help me in future but my problem still exists...

a fixed row in a filtered dataview.. :(
 
sort of nailed it using a tricky way... lol...

thanks alot for ur time though :)

regards
sunny
 
Back
Top