如何才能实现通过可视化界面操作将自动生成插入、更新数据表的SQL语句?
一个数据表里面有N多字段,当硬编码写 插入、更新数据表的SQL语句时(例如以下的插入语句:string MySql = "insert into HeTongXinXi(HeTongBianHao,HeTongFenLei,HeTongFenLeiID,HeTongMingCheng,XiangMuMingChen,XiangMuMingChenID,JiaFangDanWei,JiaFangDanWeiQianZiRen,YiFangDanWei,YiFangDanWeiQianZiRen,BingFangDanWei,BingFangDanWeiQianZiRen,XingChengFangShi,JingBanBuMen,JingBanRen,HeTongZaoJia,QianYueRiQi,ZaoJiaXingZhi,HeTongXingZhi,CunDangRiQi,ZhuHeTongBianHao,HeTongJieSuanZhuangTai,ShiFouXuNiHeTong,YingDaiZiJinE,DaiZiBiLi,ZuiHouHuanKuanRiQi,KaiGongRiQi,HeTongYanShouRiQi,ShiJiYanShouRiQi,BaoXiuJinE,BaoXiuQiXian,LuYueBaoZhengJin,FuKuanFangShiTiaoKuan,YanShouJieSuanTiaoKuan,LuYueBeiZhu)"+ " values (@HeTongBianHao,@HeTongFenLei,@HeTongFenLeiID,@HeTongMingCheng,@XiangMuMingChen,@XiangMuMingChenID,@JiaFangDanWei,@JiaFangDanWeiQianZiRen,@YiFangDanWei,@YiFangDanWeiQianZiRen,@BingFangDanWei,@BingFangDanWeiQianZiRen,@XingChengFangShi,@JingBanBuMen,@JingBanRen,@HeTongZaoJia,@QianYueRiQi,@ZaoJiaXingZhi,@HeTongXingZhi,@CunDangRiQi,@ZhuHeTongBianHao,@HeTongJieSuanZhuangTai,@ShiFouXuNiHeTong,@YingDaiZiJinE,@DaiZiBiLi,@ZuiHouHuanKuanRiQi,@KaiGongRiQi,@HeTongYanShouRiQi,@ShiJiYanShouRiQi,@BaoXiuJinE,@BaoXiuQiXian,@LuYueBaoZhengJin,@FuKuanFangShiTiaoKuan,@YanShouJieSuanTiaoKuan,@LuYueBeiZhu)";)
写起来很费劲,能不能有这样的可视化界面,勾选需要的数据表字段后,能自动生成插入、更新数据表的SQL语句?