Take one textbox if I am inputting abc alphabet in capital
letter or in small letter on the button click it will be
bcd or if I enter 123 and it would be 234 like that in
ASP.NET?

Answer Posted / sagnikmukh

i am posting the basic logic,

class Program
{
static void Main(string[] args)
{
string test = "123";
StringBuilder st=new StringBuilder ();
int l;
l = test.Length;
for (int i = l; i > 0; i--)
{
st = st.Append(test.Substring(i - 1,
1).ToString ());
}
Console.WriteLine(st.ToString ());
Console.Read();
}
}

this will be the Button event in ASP.NEt Page.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is synchronous and Asynchronous post back ?

648


What is difference in .net 1.1 and .net 2.0?

592


What is OSI layer? Explain different layers.

607


What is the best Macanism to clear the Cache in asp.net

716


How long do session variables last?

532






What is scope of an application variable in asp.net?

504


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

1773


What is web configuration file and how to use in web application

595


How to use a Master Database in Asp.net?

570


Briefly describe the role of global.asax?

580


Why session management is required?

547


What methods are fired during the page load? Init()

522


What is the difference between union and structure?

507


How would you get asp.net running in apache web servers?

546


What are standard controls?

516