Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 149,934 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,580 people online right now. Registration is fast and FREE... Join Now!




VB2008 Change datagrid propority at run time

 
Reply to this topicStart new topic

VB2008 Change datagrid propority at run time, Also connect to MS Access database

JamesWong
11 May, 2008 - 05:18 PM
Post #1

New D.I.C Head
*

Joined: 11 May, 2008
Posts: 1

I just moved from VB6 to VB2008. I try to do the following:
1) Write a Window Form with a datagrid and a button.
2) When the user press the "Button", the program will connect to a MS Access database
3) Use SQL to select certain fields from a table
4) Define the datagrid's propority at runtime (e.g. define the column heading, color, width......etc)
5) Bind the data to the grid


User is offlineProfile CardPM
+Quote Post

Jayman
RE: VB2008 Change Datagrid Propority At Run Time
11 May, 2008 - 08:17 PM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,317



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 03:46PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month