473,394 Members | 1,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Dynamic Property Addition to PropertyGrid Ctl (VB.Net)

Hi ,

I have a requirement in my application where in a list of
properties are show in the property grid control.

The senario right now is , i use the property control
provided in .net to show a set of properties by creating a
class with private members and defining their get set
methods and assigning the object of the class to the
property control's selectedobject thus creating the
property grid, going 1 step further i would like to add
more properties to this control at runtime depending on
certain values fetched from the DB, as i cannot add members
to the class at runtime i am looking at alternative
solution to do so.

Thanks in advance
Nov 21 '05 #1
1 5305
Hi ,

I have a requirement in my application where in a list of
properties are show in the property grid control.

The senario right now is , i use the property control
provided in .net to show a set of properties by creating a
class with private members and defining their get set
methods and assigning the object of the class to the
property control's selectedobject thus creating the
property grid, going 1 step further i would like to add
more properties to this control at runtime depending on
certain values fetched from the DB, as i cannot add members
to the class at runtime i am looking at alternative
solution to do so.

Thanks in advance.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mmzly | last post by:
Hi, I am trying to use the FreeSpace property in C++ .Net, but I having problems. I looked around and most of the examples I found are in VB or C#. I tried to convert a C# example to a C++.Net...
1
by: wASP | last post by:
Hello everyone, I'm wondering if anyone knows of any good documentation on dynamic Loading of ASP.NET User Controls using the LoadControl Method? ( ... or with any other method in general?) ...
6
by: jason | last post by:
hello everyone, is there any way in C# to perform dynamic property discovery? i know such a thing was possible in C++ template code, but it was kind of an ugly mess. i'm just curious if there is...
2
by: hien_tran | last post by:
As in VB6, is it possible to create a dynamic array in VB NET and then use Redim Preserve after knowing the index of the array? Thank you in advance for your help.
2
by: htran | last post by:
Hello, is is possible to create a dynamic array in VB NET as in VB6 and then use Redim Preserve after determining the index of the array? Thank you in advance for your help.
3
by: Colin | last post by:
Hello, I can manage quite well in ASP but would like some advice in the best way to achieve dynamic layout in ASP.NET and still keep the page and code separate. Let's say I already have a...
0
by: JohnS | last post by:
Hi! This may well have been asked before, but how do you best catch events from dynamic controls in ASP.NET i.e. those created and placed programatically? An example page layout: Initially: ...
1
by: halosonu | last post by:
hi this is srikanth i created one dynamic form in c#.net of windows application and also i put the some controlls on that upto now no problem but no one event fireing occurs for that what should i do...
1
by: ict027 | last post by:
i wanted to create a two dimensional dynamic array in vs.net . but it gives errors, this is the syntax i tried; Dim arrDen(,) As Integer(numOfEmp, nDen) i hope your suggestions to create...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.