Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I need to show number of file uploaded for every record in grid view plz help
Posted
Comments
Abhinav S 3-Feb-11 0:20am    
Have you tried anything so far?
Wild-Programmer 3-Feb-11 1:59am    
Write a query for that, a view or stored procedure. Whats the problem??
Umair Feroze 3-Feb-11 4:05am    
We will be glad to help you and it is only possible if you briefly explain your question. What is the workflow of uploading files? How are these being uploaded? Are these being recorded in table against any record?
IndrajitDasgupat 7-Feb-11 1:55am    
There is a button where I click for uploading file it will pop up windows where I have to select the file and click then It should display the file name in my search grid view table where I selected the record to upload file against the particular record.Uploading files can be any kind of file, Yes it should be
Sandeep Mewara 3-Feb-11 5:37am    
Any effort?

1 solution

VB
Protected Sub DeleteSelected_Click(ByVal sender As Object, ByVal e As EventArgs) _
            Handles DeleteSelected.Click
            For Each row As GridViewRow In gvFolderItems.Rows
                ' Access the CheckBox
                Dim cb As CheckBox = row.FindControl("ProductSelector")
                If cb IsNot Nothing AndAlso cb.Checked Then
                    ' Delete row
                    Dim RowID As Integer = gvFolderItems.DataKeys(row.RowIndex).Value
                    atLeastOneRowDeleted = True
                    gvFolderItems.DeleteRow(RowID)
                End If
            Next
        End Sub
 
Share this answer
 

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