与sql查询和Windows窗体编码有关 [英] related to sql query and windows form coding

查看:84
本文介绍了与sql查询和Windows窗体编码有关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,我想在C#.net Windows窗体中的button1_click上同时将一些textbox1,textbox2,textbox3,textbox4,textbox5插入到database1和database2和database3,据我所知,可以通过

sir i want to insert some textbox1,textbox2,textbox3,textbox4,textbox5 to database1 and database2 and database3 at same time on button1_click in C#.net windows forms and as far i know it can be done as

try{
........insert into databse1
........insert into databse2
........insert into databse3
}
catch{
exception handeling
}


这个程序是仪式吗?.

或者如果我错了建议我任何其他方法
谢谢你


is this procedure is rite..??

or suggest me any other method if i am wrong
thanking you

推荐答案

到目前为止,你是对的...继续吧...
so far You are quite right...go with it...


这篇关于与sql查询和Windows窗体编码有关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆