Hi,
I'm new to ASP.NET and I would like to ask if someone can provide me a very simple code to manipulate data using the SQL Commands in the above subject. To keep it simple, say, just 1 textbox and 5 buttons (Next, Prev, Insert, Update and Delete). I'd like to see code of an unbound text box and not bound data.
I came from ASP Classic background and I think it is entirely different in ASP.NET to do the steps for the 5 actions.
Can I code everything in the code-behind rather than in the ASP.NET side? I have no clue where is the best place to code them. I guess I'd also like to know what is the best way or are the best practices in programming the above subject.
Once I have the code, I can study and do it myself and hopefully move on to more complex application.
Please kindly help.
Thanks in advance
Mike
I'm new to ASP.NET and I would like to ask if someone can provide me a very simple code to manipulate data using the SQL Commands in the above subject. To keep it simple, say, just 1 textbox and 5 buttons (Next, Prev, Insert, Update and Delete). I'd like to see code of an unbound text box and not bound data.
I came from ASP Classic background and I think it is entirely different in ASP.NET to do the steps for the 5 actions.
Can I code everything in the code-behind rather than in the ASP.NET side? I have no clue where is the best place to code them. I guess I'd also like to know what is the best way or are the best practices in programming the above subject.
Once I have the code, I can study and do it myself and hopefully move on to more complex application.
Please kindly help.
Thanks in advance
Mike