Re: Converting VB.Net code C#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




FYI, there are online language conversion tools that can help you with
this. I bet google can help you find one. The code should look
something like this

public virtual bool CaseSenitiveKeySort
{
get [ return _caseSensitiveKeySort; }
set { _caseSensitiveKeySort = value; }
}

protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
string script = "<script language=\"javascript\"" +
"type=\"text/javascript\">\r\n</script>";
this.Page.RegisterClientScriptBlock(functionName, script);
this.Attributes.Add("onkeypress", "return " + functionName +
"(this," + _caseSensitiveKeySort.ToString().ToLower() + ")");
}


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.



Relevant Pages

  • Re: SV: [PHP] Mail system
    ... Seriously though, Google for an existing solution, and if there isn't one have a go yourself and then ask for help if you have problems. ... Till: mattias ... I want to have a signup script ... using some form of text editor! ...
    (php.general)
  • Re: How to determine if a number is odd or even?
    ... Google did not exsits. ... Or if odd I want to add 2 to that number and multiply by 5 ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [PHP] Mail system
    ... mattias wrote: ... I want to have a signup script ... There's a good chance someone has already done this, so I'd start with Google. ...
    (php.general)
  • SV: [PHP] Mail system
    ... Skickat: den 30 december 2007 21:46 ... Till: mattias ... Kopia: php-general@xxxxxxxxxxxxx ... The manual will help, as will Google. ...
    (php.general)
  • Re: Set Types
    ... Not in the BCL, no. ... But there are third party implementations, ... you can find some with Google. ... Mattias ...
    (microsoft.public.dotnet.languages.vb)