2
Answers

how to store array values in local drive using C#?

Deena eliz

Deena eliz

9y
374
1
I have 6 Values in Array List. How can i store these values in the same program folder. while registration form our photo will be saved on same program folder like that i have to save my array values in local drive. because next time am running the same application and enter new array value means that  array value should compare with already saved array values.. so the array should be saved in local storage.. 


please anyone help me..


Thank you in advance.

Attachment: globaldata 1.zip

Answers (2)
0
Vulpes

Vulpes

NA 98.3k 1.5m 11y
To center the column header text, you can do:

dataGridView1.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;

To set all the columns to the same width, I think you'll have to set them individually as I can't find a property to do this 'en bloc'.
0
viva

viva

NA 27 22.3k 11y
thanks for your reply but I didnt get HorizontalAlign="Center" in HeaderStyle and ItemStyle

Can you please answer it specifically for datagrid view? and wherethese settings are??
0
Kiresh Gangariya

Kiresh Gangariya

NA 214 1.8k 11y
try to give HorizontalAlign="Center" in HeaderStyle and ItemStyle
Next Recommended Forum