I have a datagrid which has some logic to color the cells and I got it colored. Now the problem for me is I want to write this to an EXCEL and while doing so I want to keep the cell color as well.
So my question is how do I get a datagrid cell backcolor/forecolor? I tried using...
I am trying to learn C# and I am not able to find a way to declare a bounded string array in C#.
This is what I want, (In VB)
Dim sNames(2) as String
sNames(0)="Test1"
sNames(1)="Test2"
sNames(2)="Test3"
How do I do the same in C#?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.