-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: BalajiKrishnan
Message 17 in Discussion
Hi ALL,
STILL I AM NOT GETTING IT..........................THIS IS MY PROBLEM
Can anybody help me out.....
I am using a Datatable
There are several rows in the datatable.
For example the Datatable has the following rows
Row1 Row2
1 33,44
2 33,44,55,44
3 77,89
4 33
Now I have a text box the user will enter a valuye 33,44
Now I need to check whether the data in the row2 whether the data entered by the user
exist or not.if exst i want to give a message value exist.
I can compare this by the following code
for(int i = 0; i< rows.Count; i++)
{
If
(MODIFIERCODE_Tbx.Text.Trim().Equals(row[BillInsertData.MODIFIERCODE_FIELD].ToString().Trim())
}
But i have a problem in this the user can enter
44,33
Now the order has been changed 44 first and then 33,So pattern already exist in the
datatable....
So can anyone tell me how can i do this comparison.
It is very urget....
If i am not clear i will expalin you in detail.....
Thanks in advance
Balaji
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]