how can i writeDataGrid1.BorderColor = "#ffffff";in some class?i got convert error...
DataGrid1.BorderColor = Color.SteelBlue
Using class System.Drawing.Color.DataGrid1.BorderColor= Color.White;orDataGrid1.BorderColor=Color.FromArgb(255,255,255);You could utilize System.Drawing.ColorTranslator class also.DataGrid1.BorderColor=ColorTranslator.FromHtml("#ffffff");
it needs to be a colour class...DataGrid.BorderColor = System.Drawing.Color.White or other coloursincluding a Systtem.Drawing.Color.FromArgb(int)
i want exact color:#8243B8
www.learnasp.com/.../datagridtrick-codeonly.aspxshows some samples of what you want.ColorTranslator.FromHtml("#ffffff")in that case based on the example.At 04:08 PM 3/24/2003 +0200, you wrote:>how can i write>DataGrid1.BorderColor = "#ffffff";>>in some class?>>i got convert error...