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
What is synchronous and Asynchronous post back ?
What is difference in .net 1.1 and .net 2.0?
What is OSI layer? Explain different layers.
What is the best Macanism to clear the Cache in asp.net
How long do session variables last?
What is scope of an application variable in asp.net?
5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?
What is web configuration file and how to use in web application
How to use a Master Database in Asp.net?
Briefly describe the role of global.asax?
Why session management is required?
What methods are fired during the page load? Init()
What is the difference between union and structure?
How would you get asp.net running in apache web servers?
What are standard controls?