-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Arian_Intellect
Message 18 in Discussion
Hi Balaji,
When u pass the value to the db.. split that value
i mean "44,33" into a temp table so u will have two rows now..
Now browse thru the actual table in the db for the
row1 value and also split it into a temp table .. and the run a cursor and
compare each row.......
HTH
Shaju Thomas
e-Cosmos Technologies Ltd.,
Mail: [EMAIL PROTECTED]
Phone(Off)
: 51217037/38 Extn: 132
Mobile: +91 98455 21794
----- Original Message -----
From:
BalajiKrishnan
To: BDOTNET
Sent: Friday, November 28, 2003 8:58
AM
Subject: Re: PLS HELP IT IS VERY
URGENT..................
-----------------------------------------------------------
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]
-----------------------------------------------------------
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]