Solved

Configuring/Alter Controls at Runtime

Posted on 2006-12-01
2
192 Views
Last Modified: 2010-04-23

Lets say I create a create and configure a data grid in Memory

How do I pass all the configuration I did on that Data grid in memory to the data grid  the form...


I tried something similar to this below, but it did not work... And I am not sure why?

For Example...

DIM DG as Data Grid

--Configure and Setup the Data Grid
With DG
     'Here would be code to configure it
End With

Me.InventoryDataGrid = DG

0
Comment
Question by:redmountainmachinery
2 Comments
 
LVL 10

Accepted Solution

by:
gangwisch earned 500 total points
ID: 18055426
the best thing to do would be to show all files in solution explorer and view your designer code for the statically made grid
then copy it to your with statement
0
 

Author Comment

by:redmountainmachinery
ID: 18118046
PLEASE CANCEL THIS QUESTION...

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question