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
How can you make sure that web api returns json data only?
What are custom user controls in asp.net?
Explain the difference between server control and html control.
What is asp.net introduction?
Explain page output caching?
What is difference between session and cookies in asp net?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
Can you explain the importance of finalize method in .net?
What is enableviewstate in asp net?
What is web configuration file and how to use in web application
What is the difference between custom web user control and a custom web server control?
Explain how is the asp.net mvc architecture different from others? : asp.net mvc
What are the session variables?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks