A C# question (now!)

A Question About Database Connection with C Sharp
I want to throw the information in a column in a table in the database into an array as it is, how can I do this? C# question please.
Let me give an example for clarity:
Let’s say there is a score table and it consists of only two columns; name and score.
| Name | Point |
|---|---|
| asddsa | 65 |
| asdasd | 1200 |
| asddsa | 2121 |
| sdasd | 251 |
here I need to throw the data in the score column to an array. i would be very grateful if you can help me how to do this. (i created the table myself with access and we can only use OleDB for access…)
thanks… We have developed a solution for this question about c#.
ANSWER:
The solution to this problem in the C# urgent question category can be as follows;
You will write a “select” clause.
string strselect = "select puani from tablo";
oledbcommand komut = new oledbcommand();
komut.commandtext = strselect;
datareader rdr = komut.executereader();
int i;
while(rdr.read())
{
//and here you can add it to the array.
dizi[i]=rdr[0].tostring(); //I assumed that the array is an array variable of type string
i +=1;
}C#MAKE A COMMENT
COMMENTS - 0 COMMENTS


![HP E-Series Switch Configuration [1]-Spanning Tree](https://www.omersahin.com.tr/wp-content/uploads/2015/07/ProCurve-front-1024x685.jpg)


