Csharp concepts

Csharp concepts

Multilingual textbox csharp

Following code in C# helps to type in english the hindi words   and are scripted as hindi :

Multilingual textbox csharp

Multilingual textbox in csharp


<html xmlns="http://www.w3.org/1999/xhtml">

<head id=”Head1″ runat=”server”>

<title>Hindi Textbox Demo</title>

<script src=”https://www.google.com/jsapi” type=”text/javascript”>

</script>

<script language=”javascript” type=”text/javascript”>

google.load(“elements”, “1”, { packages: “transliteration” });

function onLoad() {

var options = {

//Source Language

sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH,

// Destination language to Transliterate

destinationLanguage: [google.elements.transliteration.LanguageCode.HINDI],

shortcutKey: ‘ctrl+g’,

transliterationEnabled: true

};

var control = new google.elements.transliteration.TransliterationControl(options);

control.makeTransliteratable([‘TextBox1’]);

}

google.setOnLoadCallback(onLoad);

</script>

</head>

<body>

<form id=”form1″ runat=”server”>

<div>

<asp:TextBox id=”TextBox1″ runat=”server” style=”border: 1px solid black; height: 125px; margin-left: auto; width: 550px;” textmode=”MultiLine”>
</asp:TextBox>
</div>

</form>

</body>

</html>

Write above code in .aspx files and then run to get the output.

Advantage of task over thread

Task provides following powerful features over thread.
  1. If system has multiple tasks then it make use of the CLR thread pool internally, and so do not have the overhead associated with creating a dedicated thread using the Thread. Also reduce the context switching time among multiple threads.
  2. Task can return a result. There is no direct mechanism to return the result from thread.
  3. Wait on a set of tasks, without a signaling construct.
  4. We can chain tasks together to execute one after the other.
  5. Establish a parent/child relationship when one task is started from another task.
  6. Child task exception can propagate to parent task.
  7. Task support cancellation through the use of cancellation tokens.
  8. Asynchronous implementation is easy in task, using’ async’ and ‘await’ keywords.

Resolving technical problems:

Solve your technical problems instantly

We provide Remote Technical Support from Monday to Sunday, 7:00PM to 1:00 AM

Mail your problem details at writeulearn@gmail.com along with your mobile numberand we will give you a call for further details. We usually attend your problems within 60 minutes and solve it in maximum 2 days.

3 thoughts on “Csharp concepts”

  1. As managers, they will be in charge of teams comprising cyber experts.
    Or if you give that facility to your customers, they will
    be very glad and will be an indirect source of your business booster.
    Coach timetables are available online prior to the ski season commencing and
    tickets can be purchased from the coach hire desk.

  2. Most people using social media are doing so for the same purposes as
    you – to promote themselves and for its social aspect.

    It helps you a lot to design website with the help of free website design templates because it works really
    very well for you to have these things on the internet.
    Web pages are a crucial tool in your on-line promoting strategy assemblage.

  3. In the livery industry intense competition and multifaceted processes have led many
    corporations to modify strategies and utilizing Livery Dispatch
    tool. A wedding limo service is all that you need to give enough reasons for guests to talk about something.
    is among the top 10 largest shuttle fleets in the country and metropolitan Washington’s largest provider of luxury transportation and government contract services.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.