|
No No,
test his said expression for
12d
12.2d
it is not working for the above string
i want float values or whole numbers
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
u want permitted only (1233.2323) value
Piyush Vardhan Singh
|
|
|
|
|
i want
12
12.3
.3
.33
.3333333
12.33
like these only
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
The only issue with the code I posted is that it requires a leading 0 for 0.3333. Doing it the way I recommended would make it far easier to overcome this limitation, compared to trying to do it with regex. It's hard to accept 1, .4, 1.4, and not just .
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Piyush Vardhan Singh wrote: [0-9a-zA-Z.]+$
Wrong.. Again it will accept 5............ as Christian Said
|
|
|
|
|
Humble request to Chris Maunder if he could start a new seperate forum for owner of this post. i can't see any other posts on first page
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Didn't someone post this to the suggestions forum the other day ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ur expression [0-9]+[.]?[0-9]* is working absolutely fine upon
12
12.9
but it fails at
12.9t
122f.9
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
That's because you didn't bother to read my replies to you. I can't help that.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes
Couldn't any one stop her? Infact i never saw any self attempt or any learnings from past. i think google is blocked in her work stataion only CP is allowed
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
sir , can u please solve my problem please
Thanks for ur knowledge
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
You're kidding, right ? You have your answer. I helped you even though you refused to try to do it in the way I recommended. No other answer exists. What you need is the skills to impliment the answer you were given.
This guy is making a joke about how many questions you post, and how big the threads get because you can't understand the answers. He was not offering to help, nor did he need to. You have your answer.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
It shows that she is blindly replying the post without looking into post. Only matter is she want answer to her post in way she should copy that and it should work there without altering the implementation
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
How do i insert the selected values from the checkboxlist into database and then retrieve them....here i am selecting the multiple items from the checkboxlist
i can get the selected values but i cant insert them
get insert string not in right format -- im passing 1,4,7 to the variable
also how do i retrieve and get the selected values?
|
|
|
|
|
i think u want store text of selected value
Piyush Vardhan Singh
|
|
|
|
|
selected ids, not text.....
|
|
|
|
|
string str1 = CheckBoxList1.SelectedValue;
Piyush Vardhan Singh
|
|
|
|
|
Try this code.If it doesn't helps you send me your code.
Dim str as string
For i = 0 To checkboxlist1.Items.Count - 1
If checkboxlist1.Items(i).Selected = True Then
str = checkboxlist1.Items(i).Value & "," & str
End If
Next
Then,take the substring of str and pass it to the database.
God is always with you.
|
|
|
|
|
ya...this is working fine....but how can i retrieve those(text..not ids now) and place those in Datgarid
|
|
|
|
|
You have to get the total number of rows from the table.Use Dataset.
For example,
For i = 0 To sqlDataset.Tables(0).Rows.Count - 1
//Your Code.
Next
Then get the checkbox items that are checked.
God is always with you.
|
|
|
|
|
Hi,
I wrote the code for email as follows
Dim mymsg As New MailMessage
mymsg.To = txtTo.Text
mymsg.From = txtFrom.Text
mymsg.Cc = txtCC.Text
mymsg.Subject = txtSubject.Text
mymsg.Body = "Please, click the following link to open report. " & Label2.Text & " This report is sent to you from " & txtTo.Text
SmtpMail.SmtpServer = "127.0.0.1"
SmtpMail.Send(mymsg)
txtTo.Text = ""
txtFrom.Text() = ""
txtCC.Text = ""
txtSubject.Text = ""
But I got the error as..................
"The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available"
Can any one give me solution for this??????????????
Thanks in advance
|
|
|
|
|
This error may occur if you did not specify a Port Number for SMTP.By default, SMTP uses Port 25.
It is also possible firewall or anti-virus program.
|
|
|
|
|
|
I was working on localhost
I've doubt on how to align menu itm center
plz help me
-- modified at 2:52 Tuesday 6th November, 2007
|
|
|
|