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 are the server controls in asp.net?
Difference between .NET and previous version?
How would you turn off cookies on a page of a website?
Explain login controls.
What is server components?
What is the use of web.config and machine.config files?
What is a session in asp.net?
Is sql backend or frontend?
What is query string?
How can you ensure a permanent cookie?
Who creates jsessionid?
What is in a session cookie?
List down the sequence of methods called during the page load.
What should you do is you want to remove an existing component but would like to make some funtionalities?
What is postback in asp net?