Click here to Skip to main content
15,914,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I show one row of excel in dgv and then delete the row?

Please help.
Posted
Updated 15-Jan-11 2:29am
v2
Comments
OriginalGriff 15-Jan-11 6:29am    
Sorry? Why show a row in a DataGridView and then delete it? :confused:
Please clarify what you are trying to achieve.
ely z 15-Jan-11 6:54am    
because i have to show a row
these are information about gift and when i present a gift this row delete it
Espen Harlinn 15-Jan-11 6:37am    
Please tell us what you have done so far, where you think your problem is, what libraries you are using, and so on.
Wild-Programmer 15-Jan-11 7:14am    
No offences but Amazing question :)
Dalek Dave 15-Jan-11 8:29am    
Edited for Grammar.

1 solution

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:
 
Share this answer
 
Comments
Dalek Dave 15-Jan-11 8:30am    
Good Call
Wild-Programmer 15-Jan-11 10:03am    
Thanks Dalek :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900