Hi there,
I have a question that it's kind of tricky. First, my scenario is that I
have a master table that contains program names. Then there's this details
table that contains when these programs execute. The detail table contains
the program ID and the schedule ID when the program executes. My datagrid
reacts to a combobox control that contains the program names, and that works
fine. the problem comes when I need this datagrid to show the Schedule Name
instead of the Schedule ID. I have a schedule table where the names are
stored, but one program can have many schedules, so I would need to update
each record in the datagrid with the Schedule name, depending on the Schedule
ID. And I don't know how can I do that without reading record by record and
updating this field in a dynami dataset bound to my Dgrid.
Any thoughts?
Thanks! 1 1145
Well, as nobody here even cared to help me, I had to figure this myself. I
trimmed down the records with a dataview, and then change each record in the
dataview with the corresponding value using a 'foreach' iterator.
If somebody is in the same situation I hope this helps.
Good luck!
"McFloyd" wrote: Hi there,
I have a question that it's kind of tricky. First, my scenario is that I have a master table that contains program names. Then there's this details table that contains when these programs execute. The detail table contains the program ID and the schedule ID when the program executes. My datagrid reacts to a combobox control that contains the program names, and that works fine. the problem comes when I need this datagrid to show the Schedule Name instead of the Schedule ID. I have a schedule table where the names are stored, but one program can have many schedules, so I would need to update each record in the datagrid with the Schedule name, depending on the Schedule ID. And I don't know how can I do that without reading record by record and updating this field in a dynami dataset bound to my Dgrid.
Any thoughts?
Thanks!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dark Matt |
last post by:
I'm looking at setting up two mysql servers in replication with both
being masters. The most obvious snag in this scenario is
auto_increment, as disconnections between servers could allow user
interaction to generate duplicate keys.
In a moment of zen I thought, "What if one server dealt only in even
numbers, and the other only in odd numbers?" This solution would keep
things simple and manageable, while also keeping the servers off...
|
by: Brian |
last post by:
I've got one master machine containing several databases and two other
machines which I want to be slaves. However, I want each slave to only
replicate some of the databases from the master, not all of them.
eg. host "master" has databases "db1", "db2" and "db3"
host "slave1" wants to replicate "db1" and "db2" only
host "slave2" wants to replicate "db1" and "db3" only
Both slaves are read-only so there's no worry about 2-way...
|
by: melledge |
last post by:
The Reliable Source for Everything XML - XML 2005 Update
XML 2005 - November 14-18 - Atlanta Hilton Hotel - Atlanta, GA
www.xmlconference.org
Register today and participate in IDEAlliance's XML 2005 Conference,
the most respected educational gathering of technologists, novices,
experienced implementers and users, consultants, and innovators to
share knowledge and experiences, gain insight, and initiate new
advancements in XML and...
|
by: melledge |
last post by:
XML Master Series - XML 2005 - November 14-18 - Hilton Hotel - Atlanta,
GA
IDEAlliance in its continued efforts to provide groundbreaking services
to the XML community is introducing the XML Master Class Series the
first of which will be held at XML 2005. The Master Class Series
brings together successful XML use cases presented by users and
industry experts to provide insight and practical guidance into today's
XML standards,...
|
by: luffmusse |
last post by:
We are two students from the Royal Institute of Technology in
Stockholm, Sweden (http://www.kth.se/eng/). We are currently doing our
masters thesis in Applied Information Technology where we specialize in
security. As a part of this thesis we will do a survey where we compare
general information about software organizations and software projects
with certain aspects and activities specific for the creation of secure
software.
We would...
| |
by: mike |
last post by:
Hi. I am having trouble grasping the concept of applying a consistent
theme to an ASP.net website. I didn't used to like ASP because it was
too hard to apply a theme from a common theme folder like I could do
easily in PHP, but now I see that it has some nicer theming features
and master files.
So I want to use web.config to switch which theme I'm using, and I
want to be able to have several themes. My understanding of themes is
that I...
|
by: arturklis2 |
last post by:
Guitars reviews, lessons, pictures, and more!!!!!!!
http://guitars-masters.blogspot.com/
|
by: daveh551 |
last post by:
Okay, another problem I'm having with nested master pages on VS 2005.
I've got a MasterPage,master, as SubMaster.master, and a
DesignTime.master, and a content page, default.aspx.
The DesignTime master is a single level master page incorporating both
the content of the MasterPage and the SubMaster, so that I can get
around the fact that you can't see content pages in Design mode if
they use nested masters.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |