在dgv中显示一排excel,然后删除该行 [英] show one row of excel in dgv and then delete the row
本文介绍了在dgv中显示一排excel,然后删除该行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在dgv中显示一行Excel,然后删除该行?
请帮忙. )从excel表进入网格视图,并提供删除行的功能.
好吧,如果我正确推断了您的问题,则需要用excel表格填充数据源,然后将其与gridview绑定.
这是代码库的链接(示例)
http://wiki.asp.net/page.aspx/825 /loading-excel-data-into-a-gridview/ [ 解决方案
Although your question is not clear, however, what I can make out from the litrature is that you wish to populate a tabular data (row and colum) from excel sheet into the grid view and provide functionality to delete the rows as well.
Well if I have infered your question correctly, you need to fill a datasource with excel sheet and bind it with gridview.
Here is the link for code base (example)
http://wiki.asp.net/page.aspx/825/loading-excel-data-into-a-gridview/[^]
But in case I am wrong in understanding your question, Forget it :cool:
这篇关于在dgv中显示一排excel,然后删除该行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文