Hi All
I Importing a Excel File to a DataGrid .
I want to filter some rows have the code of "91" and "90" for i.e. in the Column of "A" :
so , I added manually , A column in the DataGridView , name "Column1" . now when i imported the excel file to this datagridview , the cell rows that have the value of for e.g. 90 and 91 , insert a value for instance 1 to the rows of Column1, the value of 100 and 101 , insert 2 and so on .
code for Column1 Value of Column A in excelFile
1 -------------> 90
1 -------------> 91
2 -------------> 100
2 -------------> 101
...
How can i do this ...
(excuse me for my bad english !)
thanx for help !
s_mostafa_h
0
Newbie Poster
Recommended Answers
Jump to PostCan you upload a project and sample excel file? I'm having trouble envisioning the task you're describing...
Jump to Postthanks , I Upload the file in this Link
When I want to Load App. , I want to insert a Suitable Value to the Rows of Column1 .
I played around with …
All 6 Replies
sknake
1,622
Senior Poster
Featured Poster
s_mostafa_h
0
Newbie Poster
DdoubleD
315
Posting Shark
sknake
1,622
Senior Poster
Featured Poster
s_mostafa_h
0
Newbie Poster
sknake
1,622
Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.