Search the web
Sign In
New User? Sign Up
CSharpNET · C# .NET (C-Sharp) Developers' Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 15657 - 15686 of 19711   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15657
Hi All, has 'Bind' method (used in aspx pages for two-way databinding) any equal code-behind version and if not, how can i write code-behind version for that?...
Nasser F
nasser_simple
Offline Send Email
Dec 1, 2006
6:20 pm
15658
You can use delegate method to access the form using thread. Assume you want to access textbox score via thread. private delegate void SetTextCallBack(string...
Christian Wijaya
ian_infor_its
Offline Send Email
Dec 1, 2006
6:21 pm
15659
All the methods should be accessible in code-behind. Post some sample code of your problem, there may be something else going on there. Do you have all your...
Jasmine
polly_peptide
Offline Send Email
Dec 2, 2006
9:54 pm
15660
I ould prefer to say, go with msdn then u can find each everything. Jasmine <jasmine2501@...> wrote: What books did you find when you looked...
farid essa
farid_bit
Offline Send Email
Dec 3, 2006
4:52 am
15661
it seems you want to customize the behaviour of the boo_change method. If so, then simply compare the sender to check if its reference is the same as boo5 e.g....
Noman Aftab
noman17pk
Offline Send Email
Dec 4, 2006
1:09 am
15662
You can download in www.flazx.com <http://www.flazx.com/> , there are so many e-book. Especially programming c#. Learn more with e-book. _____ From:...
Christian Wijaya
ian_infor_its
Offline Send Email
Dec 4, 2006
3:18 am
15663
Hello All I can read wave file using a class in the help by write the url of the wave But I have problem I want to save it in SQL So I should convert sound to...
ahmed abdelwahab
ahm_hefni
Offline Send Email
Dec 4, 2006
7:36 am
15664
Hi All I have a question about which method is more efficient. Is it better to declare a local variable that you are going to assign to inside a loop, or to...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
1:12 pm
15665
I usually declare the variable outside (before) the loop as in your previous example so as to preempt a "variable already declared" error message. If it...
Stephen D Wareham
saltboxmusic
Offline Send Email
Dec 5, 2006
2:14 pm
15666
Hi Stephen Both examples work fine because of the scope of the variable. I guess that might be answering my question, as the variable goes out of scope at the...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
2:38 pm
15667
Matt, Either way is fine. There is a slight semantic difference. The external variable declaration suggests that the value of myString may be preserved for...
Randy Ynchausti
randyynchausti
Offline Send Email
Dec 5, 2006
2:52 pm
15668
Hi all, I'm a beginner in ASP 2.0 and I tried to add Membership to my project and it worked well with File System and I can create user and login it and add...
hassan ahmed
hassan_ahmed...
Offline Send Email
Dec 5, 2006
3:37 pm
15669
Urgent - problem getting up and running with IIS 5.1 and asp.net Can anybody please tell me - what I need to get up and running with asp.net and IIS. I have...
andyking127
Offline Send Email
Dec 5, 2006
3:41 pm
15670
Can you FTP to the machine? If so use that as your deployment tool. Stephen Russell DBA / .Net Developer Memphis TN 38115 901.246-0159 "Our scientific power...
Stephen Russell
lotmate
Offline Send Email
Dec 5, 2006
4:17 pm
15671
Did you "create" the application in IIS? If not, right-click on the virtual directory, choose properties, click "create" next to the "Application Name" field...
Stephen D Wareham
saltboxmusic
Offline Send Email
Dec 5, 2006
4:44 pm
15672
Hello, There is no difference where you declare a variable outside the loop or inside the loop. I tested it with the following code private void...
Zeeshan Khan
it_zeeshanlko
Offline Send Email
Dec 5, 2006
4:56 pm
15673
You must give access rigths to ASPNET user in your db. ... [Non-text portions of this message have been removed]...
SEYMA YILDIZ
seyma82
Offline Send Email
Dec 5, 2006
5:00 pm
15674
You are instantiating a string object at every loop when you declare within the loop. Strings in .NET are immutable, like in Java. So whether you declare in...
ray_lanthier
Offline Send Email
Dec 5, 2006
5:01 pm
15675
I am building a business layer for an app and inside of a Object Test Bench I am trying to test a class. :) I have my object instantiated, and I now want to...
Stephen Russell
lotmate
Offline Send Email
Dec 5, 2006
5:12 pm
15676
OK, so what happens if it's an int... I am thinking it might make a difference then as it won't have to re-instantiate an int to assign a value to it? Matt ...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
5:36 pm
15677
Hiya Thanks for that info, that's interesting, and goes against what I thought it would do, I would have expected some overhead then making a new int each...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
5:40 pm
15678
Your missing the point. Each time your modifying your var, your creating the NEW holder for the content, then any change your doing to it, then the placement...
Stephen Russell
lotmate
Offline Send Email
Dec 5, 2006
6:01 pm
15679
Zeeshan, You win the extra-effort of the day award for doing a "light weight" profile of the basic code structure. Good job! Regards, Randy To:...
Randy Ynchausti
randyynchausti
Offline Send Email
Dec 5, 2006
6:07 pm
15680
so for a 32 bit int it goes away and allocates another 4 bytes every time i assign a value to it? if i declare the int once rather than every iteration of the...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
6:13 pm
15681
int j=0 You have just created the object j. j= j+1 You are now going to make a new j, take the initial j's contents and add 1 to it. Now remove original j. ...
Stephen Russell
lotmate
Offline Send Email
Dec 5, 2006
7:03 pm
15682
Good point. Except that an 'int' is a value data type, not an object. A string is a 'reference' data type which needs to be instantiated (overhead). ... assign...
Ray Lanthier
ray_lanthier
Offline Send Email
Dec 5, 2006
7:32 pm
15683
Hiya Stephen Yes I get you, although to me that doesn't make sense as an int is just 4 bytes... i thought that ints were value types in which case you wouldn't...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
8:36 pm
15684
so the value type won't make a difference where it's declared, inside or outside the loop? because it's just say 4 bytes that gets the value stored in it,...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
8:53 pm
15685
Matt, I was hoping to spark some interest in you to write code (included below) that generates the following results: The first algorithm took: 41250000...
Randy Ynchausti
randyynchausti
Offline Send Email
Dec 5, 2006
10:41 pm
15686
Hi Randy You had sparked my interest... but time was not on my side today. Thanks for taking the time yourself to do this, and yes your results do seem to ...
Matt Evans
im_matt_evans
Offline Send Email
Dec 5, 2006
11:02 pm
Messages 15657 - 15686 of 19711   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help