vb.net - Store things like Color, font, location in a dataset -
i know how mysettings can choose many different types. however, i'm working untyped dataset, , i'm looking store more custom types color, font etc. example of class attributes i'm looking store , retrieve:
mynetmarquee .marqueetext = marqueeeditor._gamebio .scrolllefttoright = scrollingmarquee.direction.left .scrollspeed = 3 .forecolor = color.blue .shadowcolor = color.black .shadowoffset = 5 .strokesize = 4 .strokecolor = color.yellow .font = new drawing.font("centuriqua-ultra", 40, fontstyle.regular) .location = new point(100, 300) end
i'm setting dataset via designer, loathe go designer code experiment code in there because know can mess things up.
however, when set specific datatable store these in, have basic types (string, int32 etc). there 1 called "system.object" - bit of mystery me. have read msndn artcile on it, ever, left me non wiser.
oh, , storing dataset via xml.
apologies if overly generic, not sure how else ask it.
Comments
Post a Comment