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 are the server controls in asp.net?

448


Difference between .NET and previous version?

2090


How would you turn off cookies on a page of a website?

498


Explain login controls.

609


What is server components?

527






What is the use of web.config and machine.config files?

616


What is a session in asp.net?

526


Is sql backend or frontend?

551


What is query string?

561


How can you ensure a permanent cookie?

547


Who creates jsessionid?

552


What is in a session cookie?

532


List down the sequence of methods called during the page load.

520


What should you do is you want to remove an existing component but would like to make some funtionalities?

1470


What is postback in asp net?

558