Laura81
January 20th, 2010, 08:35 AM
Hi there
I'm using search functionality on my website, to search for a customerid and customername.
I'm trying to make sure the customer enters the first three characters of each of the fields.
Could someone help me here?
My code so far is this:
m.merchantMID.ToLower().StartsWith(TextBox1.Text.ToLower().TrimStart()))
&&
m.merchantname.ToLower().StartsWith(TextBox2.Text.ToLower().TrimStart()) //
Thanks & Regards,
Lura
I'm using search functionality on my website, to search for a customerid and customername.
I'm trying to make sure the customer enters the first three characters of each of the fields.
Could someone help me here?
My code so far is this:
m.merchantMID.ToLower().StartsWith(TextBox1.Text.ToLower().TrimStart()))
&&
m.merchantname.ToLower().StartsWith(TextBox2.Text.ToLower().TrimStart()) //
Thanks & Regards,
Lura