hei mike,
i found another simple way... if all your labels are created during design time, why don't u simply use the FindControl method? it will return a control if it match the string you give, else, it will return null...
so, just try it
if (FindControl(mykey2)!=null) {
TextBox something...
oh yes, you've to use the wsdl command to make a dll from the web service in your local system, then you should put that on your bin folder of your web app ^-^
hope this information is useful (:
hi jack,
well, jack, i don't think a user control is always meant to be a whole page (:... in my project, i've already used lots of user control just to make one control that have a new property just like the case you're in now (:... in my opinion, user control isn't that bad after all (...
ooohhh... i get it... well, why don't u install it? well, on my machine visual studio 6 and visual studio.net are running very well ^-^ no problem at all
well, i've read an article about using web service manually (without visual studio help at all)... but i've forgotten what've written on it...
hi mike,
let me try to answer your question
well, as you've said, mykey2 wasn't a label at all, eventhough mykey2 is exactly the same as one of your labels id. perhaps you could try it a different way. if your labels were all made on design time, it'll be easy, just check all the labels that...
hi harmmeijer,
are you using visual studio.net? if so, you should have added the web references first. you could simply do this :
click Project -> Add Web References...
then in the textbox give, you fill the address of your web service.
for example : http://localhost/myservice.asmx
then you...
oooohhhhh... i got your problem ^-^... yeah it's true, the default is the Text property, well i don't know either if you want to compare the Value property.
perhaps you should make your own validator that can check the Value property of the ControlToValidate control ^-^
oohhh.. sorry... i misunderstood your question (:... well, i've to said that i didn't know why the notepad window didn't show up eventhough the process was already started (you can see the process by using the task manager)
well, i'll try to find out the answer ^-^... sorry, i can't help you...
woww... it's getting hot here ^-^... hey afduyi, i apologize for making you mad, but i really don't intend to do so, sorry for that
by the way, i don't think i'm emotional man, i'm just trying to help (eventhough the words i used was sometimes a little bit confusing). or maybe i misunderstood...
every languages in .NET have their own advantages and disadvantages (:... eventhough i was using c#, but i was pretty sure that there're almost no differences between vb.net and c#. ask jack what vb.net could do ^-^. well, coz now all the languages stand over the same framework, it means that...
hah?? what do you mean it "this example works, but so should the other"? i've been using c# for the last 6 month (i've already used .net since beta 2), and i've also used the switch case syntax, and never found it as hard as you imagine... could you explain us why d u need the switch...
another opinion from me jack ^-^
why don't you use dropdownlist rather than textbox? it will keep your client from inserting invalid value to your code ^0^ (just another opinion of mine... well i don't know what you're facing though ^-^)
so do iiiiii (:... well... we could share some good website for learning purpose if you don't mind ^0^
but i don't know when i'll take it (: i haven't decided it yet (:
you mean you're inserting thousands of records into a database in one process??? wowww... pretty cool but crazy ^-^ (joking)
well, could you let us see your code (that insert thousands records into a database)... well, just curious you know ^0^... if you don't mind of course (:
sorry jack (:... it's only my opinions (: coz i don't see anything wrong with his code (: so i suggest him to check the datetime format (:
anyway, why don't you use stored procedure to reduce your problem (this way, you could reduce your problem domain to 2 areas, .net and sql server). first...
there's a little difference between datetime on the .net framework and the sql server... .net framework datetime is stored as this mm/dd/yyyy while the sql server's format of datetime is yyyy-mm-dd...
so i guess you should've convert your datetime to sql server's format first before you insert...
Do you want your application to run at your web server or your client's machine???
i think you want your application running on your client's local machine. if so, you have to pass through your client's local machine security check first. you can do this only if your client have trusted you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.