FarPoint.Web.Spread.Row myrow;
FarPoint.Web.Spread.NamedStyle mnstyle = new FarPoint.Web.Spread.NamedStyle();
mnstyle.Name = "fpstyle";
mnstyle.BackColor = Color.Yellow;
FpSpread1.NamedStyles.Add(mnstyle);
myrow = FpSpread1.ActiveSheetView.Rows[1];
myrow.StyleName = mnstyle.Name;
Dim myrow As FarPoint.Web.Spread.Row
Dim mnstyle As New FarPoint.Web.Spread.NamedStyle()
mnstyle.Name = "fpstyle"
mnstyle.BackColor = Color.Yellow
FpSpread1.NamedStyles.Add(mnstyle)
myrow = FpSpread1.ActiveSheetView.Rows(1)
myrow.StyleName = mnstyle.Name