If you are populating the textbox when the page loads and you do not account for postback, then when the page reloads (after clicking a button, for example) then the value will be repopulated.
The the page load, add something like:
if(this.IsPostBack)
{
// Do processing here that you do...
You could check out http://www.planetsourcecode.com. They have postings from people who have written chat applications in other (non .net) languages.
Check out their logic and port it to C#.
Good luck.
Well, I can give you my experience as with .Net (C#) vs. VB/ASP.
I have worked with WinForms and ASP.Net and both roughly double my output per hour. Of course there has been a learning curve, but it is small compared to the speed improvement I have seen.
ASP.Net has moved to support standard...
I agree. You must compare .Net to alternatives. I really see one alternative to .Net: Java. In the future most programming efforts will be in one of these two areas.
There is an excellent newsgroup/mailing list devoted to the .Net vs. Java discussion...
I have written my first C# app and am in the process of distributing it (yeah!). It will be bundled with some other apps - however there are no issues with those.
Microsoft has been kind enough to create a bootstrapper for dotnetfx.exe which will launch my MSI file after the .net framework is...
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.