Quantcast
Viewing all articles
Browse latest Browse all 12583

C#: DataGridView ComboBox to Populate

Hi,

I need to know what should I put in my code for the datagridview's combobox be populated that the data will be coming from a specific path or type of file. please help me, I have my code below.

public void ActivityBucket(); {

try{

int counter = 0;

string path = @".\activitybucket.csv";

string line;

StreamReader file = new StreamReader(path);

while ((line = file.ReadLine()) != null)

{

//don't know what to put here

}

file.Close();

}

 

 

 

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>