vsto 本帖最后由 brucezhangwu 于 2009-12-28 20:16:05 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void button1_Click(object sender, EventArgs e) { ArrayList al = new ArrayList(); for (int i = 0; i < dataGridView1.Rows.Count; i++) { if (dataGridView1.Rows[i].Cells[0].Value != null && dataGridView1.Rows[i].Cells[0].Value.ToString() == "True") { al.Add(dataGridView1.Rows[i].Cells[1].Value.ToString() + ";" + dataGridView1.Rows[i].Cells[2].Value.ToString()); } } if (al.Count > 0) { if (this.Owner.GetType().Name.ToString() == "Form1") { instanceForm = (Form1)this.Owner; instanceForm.getDataFromAddress(al); } } this.Close(); } 借VS2010东风,CSDN为啥不搞一个VSTO版快!!!!【VSTO之家】http://vsto.5d6d.com【VSTO专家群】109033523【VSTO】数据获取 【VSTO】对象起源 【VSTO】MSDN 【VSTO】Backstage View 【VSTO】名人堂 【VSTO】案例 【VSTO】MOSS 【VSTO】Excel Services 【VSTO】Open XML 【VSTO】资源、工具 【VSTO】教学视频 【VSTO】示例代码 【VSTO】Actions Pane 【VSTO】智能标签 ... 求一正则表达式?看清问题哦~~~ 怎样关闭panel 里的mdi 窗体 vS2005 工具选项中 没有文本编辑器 不能设置字体大小 求教SQLServer高手指点 System.Array.CopyTo() 和 System.Array.Clone()区别 读取数据库二进制图片 出现的错误`请各位高手们帮忙看一下~急呢! 各位大神~~C#带导航菜单的主界面 listview单击事件的问题 【求助】一个datagridview的奇怪问题 winform程序打包sqlite报错 谁知道把一个字符串加密和解密? vsto word插件 关于xsd文件的应用
{ ArrayList al = new ArrayList();
for (int i = 0; i < dataGridView1.Rows.Count; i++)
{
if (dataGridView1.Rows[i].Cells[0].Value != null &&
dataGridView1.Rows[i].Cells[0].Value.ToString() == "True")
{
al.Add(dataGridView1.Rows[i].Cells[1].Value.ToString() + ";" +
dataGridView1.Rows[i].Cells[2].Value.ToString());
}
} if (al.Count > 0)
{ if (this.Owner.GetType().Name.ToString() == "Form1")
{
instanceForm = (Form1)this.Owner;
instanceForm.getDataFromAddress(al);
}
}
this.Close();
}
http://vsto.5d6d.com【VSTO专家群】109033523
【VSTO】数据获取
【VSTO】对象起源
【VSTO】MSDN
【VSTO】Backstage View
【VSTO】名人堂
【VSTO】案例
【VSTO】MOSS
【VSTO】Excel Services
【VSTO】Open XML
【VSTO】资源、工具
【VSTO】教学视频
【VSTO】示例代码
【VSTO】Actions Pane
【VSTO】智能标签 ...