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
Why do we need asp.net?
Who creates jsessionid?
How can you handle unmanaged code exceptions in asp.net?
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
What does mean by a neutral culture?
What are the Types of chaching. How to implement caching
Differentiate strong typing and weak typing
Is there any limit for query string? Means what is the maximum size?
Define tracing.
What is a web based system?
Explain the difference between an exe and a dll?
How many web config files can be created for an application?
What is the behavior of a Web browser when it receives an invalid element?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
What is application state?