Message-ID: <4ilO9j$JCb@bbs.sjtu.edu.cn>
Subject: Re: ����C#��使��EXCEL�������
Date: Thu, 12 Nov 2009 15:32:32 +0000
From: ZAKU.bbs@bbs.sjtu.edu.cn (Dem����色�薪�����)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.dotnet.mbox.zip!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!novia!border2.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
Newsgroups: cn.bbs.comp.dotnet
Organization: ��水思源
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: DotNET/M.1258039773.A
Lines: 28
Xref: 74.82.202.154 cn.bbs.comp.dotnet:9061

�技������baidu�����约����约����去
Microsoft.Office.Interop.Excel.Range����么����没��MSDN������荨�����
//Get a set of cells in the rows

Excel.Range rng = ws.get_Range("a12", "A14");

//Then act on the entire rows of the range

rng.EntireRow.Delete(Excel.XlDirection.xlUp);

����什么��思������秃�����耍�删�������一������

�� �� Lazysnake (��������) �拇������到: ��
: excel����坪��歉��部�,�玫�时��要���,
: ����芄��到�������������使�玫陌���
: MSDN���几���不��什么��息��
: ������尾�询�兀�
: ��然�俣��芄��玫�一些���������嵌���系统��
: ���掖���每��CODER�约���一些习�撸�
: �多还�不����
: ����指����么����镁���,��谢���恕�
: �俑����樱�������一��range.EntireRow.Delete(object Shift);
: ��知���shift��示什么��思����指删����械��贫�����么����应����胃�值�兀�
: .................������省�裕�

--
http://bbs.sjtu.edu.cn/file/comic/122390669464913.jpg

�� ��源:����水思源 bbs.sjtu.edu.cn��[FROM: 207.46.55.27]