如何将GridView中选中的几列数据导入到oracle中 本人在数据操作过程中,将DBF文件中的大量数据显示在Gridview中,但是要选择其中的几列导入到ORACL的一个表中,而且要多次执行,请高手给个例子? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string MyID = string.Empty; int i = 0; foreach (GridViewRow Gvr in GridView1.Rows) { CheckBox Cbx = (CheckBox)Gvr.FindControl("mycheck"); if (Cbx.Checked) { string delid = Gvr.Cells[1].Text; MyID += " or Pid ='" + delid + "'"; i++; } } if (i > 0) { string newPid= MyID.Substring(3, MyID.Length - 3); Response.Write(""+newPid +""); string instr = "insert T_Base_RevMSG(数据)values(数据) where "+newPid +""; if (balcls.sqlcom(inlstr)) { gvbind(); } } 请教 怎样给datalist控件里的label空间赋值,语法怎么写呢 jquery如何获得第一个a标签 生成静态页后再修改的问题! SelectParameters 传递空值问题 asp.net水平一直无法提高,如何自学才能提高呢???? 急,系统配置问题! 高手指点(难题100求助) 高分求助:ASP.NET 下制作WEB客户端MP3播放器控件,要求在现有REALone控件的基础上实现淡入淡出,支持播放列表即可 关于session和request 菜鸟问题:machine.config文件在哪里? {$....$}标签的开发和使用 正则问题 很急
int i = 0;
foreach (GridViewRow Gvr in GridView1.Rows)
{
CheckBox Cbx = (CheckBox)Gvr.FindControl("mycheck");
if (Cbx.Checked)
{
string delid = Gvr.Cells[1].Text;
MyID += " or Pid ='" + delid + "'";
i++;
}
}
if (i > 0)
{
string newPid= MyID.Substring(3, MyID.Length - 3);
Response.Write(""+newPid +"");
string instr = "insert T_Base_RevMSG(数据)values(数据) where "+newPid +"";
if (balcls.sqlcom(inlstr))
{
gvbind();
}
}