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 we identify that the page is post back in asp net?
How do u deploy ur project?
How can we identify that the Page is Post Back?
What are the different types of sessions in asp.net?
What are Authentication and Authorization?
What is in a session cookie?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
What is autopostback in dropdownlist in asp net?
What is the compiled object?
How to reduce the width of textbox in editcommandcolumn of datagrid?
How does ASP.NET framework maps client side events to Server side events.?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
What is a web api? Which protocol is used in a web api?
Explain ViewState?
What tags do you need to add within the asp:datagrid tags to bind columns manually? How?