3 Replies - 281 Views - Last Post: 15 January 2013 - 10:10 AM Rate Topic: -----

#1 nini_new  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-January 13

Is there any way of loading my forms background color from a database?

Posted 15 January 2013 - 06:34 AM

Hey Guys,
I have a LookUp table in my database. In this table I stored background color for my windows forms. And I wanted to make this color default background color. Is there any way of loading my background color from a database?
Is This A Good Question/Topic? 0
  • +

Replies To: Is there any way of loading my forms background color from a database?

#2 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 3452
  • View blog
  • Posts: 10,654
  • Joined: 05-May 12

Re: Is there any way of loading my forms background color from a database?

Posted 15 January 2013 - 06:35 AM

Yes. You read the background color from your database and set the value on your form.
Was This Post Helpful? 0
  • +
  • -

#3 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5432
  • View blog
  • Posts: 11,643
  • Joined: 02-June 10

Re: Is there any way of loading my forms background color from a database?

Posted 15 January 2013 - 08:10 AM

[*]Q:... how to do x,y,z with a database {probably for the first time}...
A: Read this tutorial
Entire section of tutorials
Parameterizing Your SQL Queries: The RIGHT Way To Query A Database.
Using SqlDependency to monitor SQL database changes
Was This Post Helpful? 0
  • +
  • -

#4 h4nnib4l  Icon User is offline

  • The Noid
  • member icon

Reputation: 1181
  • View blog
  • Posts: 1,673
  • Joined: 24-August 11

Re: Is there any way of loading my forms background color from a database?

Posted 15 January 2013 - 10:10 AM

The specificity of the replies you get here will generally be directly proportional to the amount of info you include in your questions. For example: no code = no code. No evidence of an attempt = no details for implementation.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1