Hi,
I've got a Tab Control, with a lot of tabs, and a lot of controls in each
tab (textboxes, comboboxes, listviews, checkboces, etc...). As these
controls are updating a Database, I need to detect if there is any change on
any control when closing then form, or on record change .
I know which events I should use, but I can't see any property to find if my
controls have changes.
So, I thinked about serializing my tabcontrol, and then compare the "old
serialized" version with the current, and then detect changes, but it seems
to be impossible to serialize a tabcontrol.
Do you know any way to detect changes on any control in a tabcontrol ?
Thanks a lot . 1 1264 -----Original Message----- Hi,
I've got a Tab Control, with a lot of tabs, and a lot of
controls in eachtab (textboxes, comboboxes, listviews, checkboces,
etc...). As thesecontrols are updating a Database, I need to detect if
there is any change onany control when closing then form, or on record change .
I know which events I should use, but I can't see any
property to find if mycontrols have changes.
So, I thinked about serializing my tabcontrol, and then
compare the "oldserialized" version with the current, and then detect
changes, but it seemsto be impossible to serialize a tabcontrol.
Do you know any way to detect changes on any control in a
tabcontrol ? Thanks a lot .
I would probably just write a function for each tab page,
that handles the event that occurs if the component has
changed. point all your components event from that tab
page to that one function, and have the function just
trigger a bollean you can check later. Hopefully that
makes sense.. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Stephen |
last post by:
I have to write a .Net application which can compare SQL Databases including
things like: -
DB structure, PK's, FK's,
indexes and types of indexes i.e. should be able to detect if the same index...
|
by: Ray |
last post by:
Hi
I have designed a database app using a windows form and a tab control with
comboboxes and edit controls on each tab control. The problem that I am
having is with the edit form that I have...
|
by: ton |
last post by:
How can I detect that the user has modified the data on the page where
several textboxes, checkboxes and dropdownlist exist.
Ton
|
by: Frank |
last post by:
Hello,
Developing an app where the user fills out a sometimes quite lengthy
form of chkboxes, txtboxes, radbtns, etc. User responses are saved to
a mySql db, which the user can later edit.
When...
|
by: Al |
last post by:
I'd like to know if there were any changes in the DataSet which was
populated by reading XML file. 6 DataTables with data or just structure with
no data inside of it.
I think about this scenario:...
|
by: inpuarg |
last post by:
I have 2 datatables. They are identical. I want to compare them by
cell's content. They are all same.
But dt1 == dt2 or
dt1.GetHashCode() == dt2.GetHashCode() doesn 't work.
There are big...
|
by: titan nyquist |
last post by:
I wish to compare two structs via == but it does not compile. I can
overload and create my own == but am I missing something that c#
already has implemented?
~titan
|
by: GS |
last post by:
How do I properly detect row change before allowing moving to next row?
I tried using RowLeave .
here is brief descript of the form setup.
I have
ieStringTmpDataSetwith regex table...
|
by: saadkhan |
last post by:
I have a table named 'UnitsLocations' in which there are two columns, id of uniqueidentifier datatype and LocationXML of XML datatype. I just need to detect whether any changes have made in...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
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...
|
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...
| |