Question: Write a c# code as response of form _ Load to read a text file and show the lines of the file in a combobox

Write a c# code as response of form_Load to read a text file and show the lines of the file in a combobox with numbers, as follows:
The first line should start from your student ID number and then increment the ID# with 1 as long as the existing lines in the file
for example: if your ID is 20311240 and the file has the following Lines
welcome
hello
Mycourse
Then the comboBox should looks like
20311240 welcome
20311241 hello
20311242 Mycourse

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!