PC Review


Reply
Thread Tools Rate Thread

Database Schema and Property Grid.

 
 
=?Utf-8?B?TWFyaw==?=
Guest
Posts: n/a
 
      20th Feb 2005


Greetings.
I am trying to use the PropertyGrid Control to display database schema.
So far so good. The property grid control displays the database field
properties in the property grid.
My Question is:
How do I change/alter the actual database architecture (say change a field
type from double to text when I change the values in the property grid.).
Any help would be much appreciated.

Mark

 
Reply With Quote
 
 
 
 
W.G. Ryan eMVP
Guest
Posts: n/a
 
      21st Feb 2005
Mark - it really depends on how you've set things up. Ultimately, I think
you're going to need to write some DDL to handle the Alter table stuff

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Mark" <(E-Mail Removed)> wrote in message
news:6138B4B3-ED4A-4BE3-A406-(E-Mail Removed)...
>
>
> Greetings.
> I am trying to use the PropertyGrid Control to display database schema.
> So far so good. The property grid control displays the database field
> properties in the property grid.
> My Question is:
> How do I change/alter the actual database architecture (say change a field
> type from double to text when I change the values in the property grid.).
> Any help would be much appreciated.
>
> Mark
>



 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      21st Feb 2005
Mark,

Does this means that your are creating an updater for MSDE or something?

There are on the net when you search for that with Google already a lot.
That before you are inventing the wheel again.

Otherwise it is just creating an Exe with command.executenonquery and the
proper SQL commands.

I hope this helps.

Cor


 
Reply With Quote
 
Paul Clement
Guest
Posts: n/a
 
      22nd Feb 2005
On Sun, 20 Feb 2005 11:13:02 -0800, "Mark" <(E-Mail Removed)> wrote:

¤
¤
¤ Greetings.
¤ I am trying to use the PropertyGrid Control to display database schema.
¤ So far so good. The property grid control displays the database field
¤ properties in the property grid.
¤ My Question is:
¤ How do I change/alter the actual database architecture (say change a field
¤ type from double to text when I change the values in the property grid.).
¤ Any help would be much appreciated.

It depends upon the database. Not every database supports the same method (or SQL DDL dialect) for
performing this task.


Paul ~~~ (E-Mail Removed)
Microsoft MVP (Visual Basic)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I sync a typed dataset schema with database schema easily? John Microsoft Dot NET 1 2nd Jan 2008 10:37 AM
Finding Grid Positions in a Property Grid James CC Microsoft C# .NET 0 30th May 2005 04:22 AM
Finding Grid Positions in a Property Grid James CC Microsoft Dot NET Framework Forms 0 28th May 2005 11:44 AM
DB Schema and Property Grid =?Utf-8?B?TWFyaw==?= Microsoft Dot NET 0 20th Feb 2005 07:11 PM
Property Grid & Database Schema =?Utf-8?B?TWFyaw==?= Microsoft Dot NET 0 7th Jan 2005 05:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:48 AM.