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?...
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...
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...
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....
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:...
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...
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...
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...
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, Either way is fine. There is a slight semantic difference. The external variable declaration suggests that the value of myString may be preserved for...
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...
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...
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...
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...
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...
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...
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 ...
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...
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...
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...
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. ...
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...
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...
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, I was hoping to spark some interest in you to write code (included below) that generates the following results: The first algorithm took: 41250000...
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 ...