|
Shucks, do you have these "The rules" sitting on the clipboard somewheres
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
I guess you are missing closing quote for UserID field value, probably a text field.
With toString change also try to change WHERE clause from
where UserId = '"+txtUserId.Text ;
To
where UserId = '"+txtUserId.Text + "'";
|
|
|
|
|
You could do so, but you are open to SQL injection attacks. I'd use parameters instead...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
use required filed validator with textbox in my web site and i put initial value 5
when i run the application i write 5 in textbox
the validation for that textbox happen in 2 case
1- when i leave textbox empty
2-when i write initial value in textbox
the unlogical case is no 2 why validation faild when i i enter intial value for that validator
why
how i can deal with it
md_refay
|
|
|
|
|
use required filed validator with textbox in my web site and i put initial value 5 when i run the application i write initial value in text box (5) in text box the error message of validator appear
why
how i can deal with it
md_refay
|
|
|
|
|
hi,
Before u writing value to the text box set the CauseValidation property of that text to false
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
|
iam working in asp.net c# 2005 web site and i need to create user control textbox that only apply numbers just to characters or any other thing to put in it how...........
i need this answer very fast thanks alot
md_refay
|
|
|
|
|
md_refay wrote: i need this answer very fast thanks alot
I bet you do. This is an appropriate thing to say to people you're paying for something.
The answer is that ASP.NET does not offer this, you need to write it yourself, or find something online that does it. You're going to handle the keypress event on the textbox, in javascript, and check if the character is a number before rejecting or accepting it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I'm trying to extract a sub sequence from an Xml file and bind it to a repeater. If i ignore the sub subsequence, then it all works fine, but i'm trying to build a functional prototype, so i'd like paging to be in it.
If i set the XmlDataSource object to have the following source XPath, it works:
data/records/record[id='1']/notes/note
However, if i set the source XPath to this it doesn't return anything:
subsequence(data/records/record[id='1']/notes/note, 1, 10)
Can anyone help me?
Cheers
T
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
Hi,
I have created a custom membership provider, I have added all the settings to the web.config.
When I open the ASP.NET Web Configuration tool in Visual Studio 2005 I click the Provider tab, then I click on the Select a different provider for each feature (advanced) link. Then it takes me to a page which lists my custom membership provider. Normally if you take the default membership provider there is a Test link next to the membership provider. Why is there no Test link next to my custom membership provider??
Regards
ma se
|
|
|
|
|
Kindly help me, paging a Datalist control, i have no idea how can i do it.
Datagrid often have a paging proeprty, that when set to True automatically handles paging, but what about Datalist???
any help?
:- Rashid Ali -:
|
|
|
|
|
Datalist doesn't support inbuilt paging. For datalist you need to implement the custom paging.
Apurva Kaushal
|
|
|
|
|
i have login secreen that have some validation controls on it to work when i click on login button but it work also when click on cancel button i need to stop validation when click on cacel button
thanks......................
md_refay
|
|
|
|
|
CausesValidation="false" ?
|
|
|
|
|
hello,
set the
set CausesValidation property to false
for that textboxes
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
i found property called validation group in all validator controls
- what is that property
- used for what
md_refay
|
|
|
|
|
you have to textbox's in webform and first box validationgroup property is validator1 and second box validationgroup property is validator2
if you add button to web form and set validationgroup property of button to validator1, then button only validate first box
if set validationgroup property of button to validator2, then button only validate second box
We Can Do Anything, If We Want It
|
|
|
|
|
|
Because it is a query on validation group , have you used the smiley group ?
|
|
|
|
|
Hi. I want to download video from the webserver. iam keeping the Videos in the webserver one folder "Video".How can i download from there.
|
|
|
|
|
Just link them or EMBED right?
|
|
|
|
|
Hello Vasudevan Can u just explain it.or can u get me saome sample code.
|
|
|
|
|
i use required filed validator with textbox in my web site and i put initial value 5 when i run the application i write initial value in text box (5) in text box the expression in the text property of required filed validator that appear when validation falied appear to me like "empty field"
why
how i can deal with it
-- modified at 7:17 Friday 13th July, 2007
md_refay
|
|
|
|
|
Could u post here the Error message ????
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|