![]() example, instead of using next (reduced brevity): var sql = "insert estabelecimento (nome) values ('" + txtnomeescola.text + "')" first remove risk of sql injection attacks using parameters in commands. On subject of need validate user inputs, suggest 2 things. suggest more comfortable solving issues before looking running queries asynchronously. ![]() applicaion finding mistakes it's inserting anyway.Įndexecutenonquery used conjunction beginexecutenonquery execute command on database asynchronously. Where can utilize in case, should change? obs: "conexão.executacomando(insertd.tostring()) " it's class i've created execute commands.Īnd 1 more thing, used seek, grab in case of exception want abort connection if user write, example, words must write numbers. have no ideia way can utilize why should utilize it. ![]() I'm inserting datas in mysql database through c# application, know if insertion or not successful, searching on net read "endexecutenonquery", wasn't explaining nil way should utilize it. C# - EndExecuteNonQuery, What is it, What does it do and How to use it?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |