4.1 Edit Data and Update Changes That AreMadeto an ADO.NET DataSet Object Listing and viewing data is easy. What you really need to do is tobe able to edit and update data. You know you can use the DataSet object and some of its objects and methods to perform this task. How do you edit and update data using the DataSet object? Technique In this How-To, you will use the DataAdapter, DataSet, DataTable, and DataRow objects. You have experienced some of the properties and methods of each of these objects before. In this chapter, you are going tobe using the following properties and methods that are shown in Table 4.1. Table 4.1. DataAdapter, DataSet, DataTable, and DataRow Properties and Methods Object /Method Property Description DataAdapter Fill Fills DataSet and DataTable objects. CommandBuilde r GetUpdateComman d Creates an Update command and places it into the data adapter's UpdateCommand property. DataAdapter UpdateCommand Holds the SQL statement for the update. DataAdapter Close Closes the connection off the UpdateCommand. The syntax is dataadapter.UpdateCommand.Connect.Close() . DataAdapter Update Performs the update command against the dataset. DataSet Tables Represents a collection of tables found within a dataset. DataSet Rows Contains a collection of rows within a specified table in a dataset. DataSet AcceptChanges Sends the changes back to the server. DataRow ToString Retrieves the data from the column that is specified in the DataRow and returns it as a string value. DataRow BeginEdit Begins the editing of a DataRow, allowing you to replace values in the columns. DataRow EndEdit Completes the editing of a DataRow. You will see these objects with their properties and methods used in the following steps. Steps Open and run the VB.NET-Chapter 4 solution. From the main form, click on the command button with the caption How-To 4.1. When the form loads, click on the Load List button to display the customers that begin with the letter A. Click the Edit button. You will notice that the fields have now taken on a sunken look. Place the cursor into the City field and change the value to Dunkirk. Now click Save. If you move off the record and move back on, you will notice that the value has been saved. This form looks similar to the form created in Chapter 1. The difference is that this time you will not be using controls that are bound at design time. You can see the form in Figure 4.1. 1. Create a new Windows Form. 2. Add the following controls, setting the properties as listed in Table 4.2. Table 4.2. Controls Property Settings Object Property Setting Label Name Caption Label1 Customer TextBox Name Text txtCustLimit A Button Name Caption btnLoadList Load List ListBox Name lstCustomers Label Caption Customer ID Label Caption Company Name Label Caption Contact Label Caption Contact Title Label Caption Address Label Caption City Label Caption Region Label Caption Country Label Caption Phone Label Caption Fax TextBox Name txtCustomerID TextBox Name MiraclesAreMadeToBeSharedMiraclesAreMadeToBeShared By: Joe Tye Paul Peterson felt no sadness as he looked down upon the ceremony It was a beautiful June day, bedecked with butterflies and serenaded by birds Off in the distance the cries of happy children vivified the circle of life A soft breeze blew in from the ocean, drifted over Shay’s Point, and rustled new leaves on the cemetery’s old oak trees Joan looked so diminutive, standing there between Jeff and Sandra, leaning against her walking cane, but to Paul she had never appeared more beautiful He now knew what she could only believe: that the two of them had always been together, would always be together, and that she, too, would soon transcend the confines of earthly time and they would soar together above the tracks, seeing past and future, sunshine and tunnels, all at once Jeff stood tall and grim, so much like his father had been at midlife Not so long ago Paul had stood between Jeff and Joan for the funeral of Jeff’s youngest son Jeff’s faith was now being challenged in a way Paul’s never was Paul had learned much, but did not yet understand why he would be reunited with his grandson before the boy’s father was WHATEVER YOU MOST NEED IN LIFE, THE BESTWAY FOR YOU TO GET IT IS TO HELP SOMEONE ELSE GET IT WHO NEEDS IT EVEN MORE THAN YOU DO To Joan’s right stood Sandra, at once a grown woman with a family of her own and the gap-toothed imp who had given Paul “merpission” to dream new dreams Now a successful writer, Sandra had always given herself permission to follower own path, and had never flinched nor faltered during her times of doubt and adversity Paul had occasionally wondered what would be said about him at his funeral, and in fact had often asked his students to write their own obituaries as part of a goal-setting exercise Now, though, the words held no interest for him and were lost to the breeze 1/2 MiraclesAreMadeToBeShared The wind picked up, causing the images below to gradually lose their separate identity and meld together Paul simultaneously felt himself merging into the scene below and being pulled upward “It’s a beautiful evening for flying, isn’t it?” Rafe looked exactly as he had on that day nearly fifty years ago when he had plucked Paul from the air below Shay’s Point Paul wondered whether he, too, appeared as he had that day, or as a newborn infant, or as an old man Whatever it was, he knew, was an illusion soon to change “You’ll see everyone again, my dear old friend, but it’s time now for you and me to move on.” The funeral faded away as Paul and his old friend flew off toward the distant mountains, at last landing upon an eyrie that seemed to overlook this half of the universe Paul felt no need to talk in the presence of his friend as they sat together looking out across the world Finally Rafe spoke In his lap he held a simple unadorned box “You’ve done well, Paul; you’ve written a lovely story, one that will be read for a long time to come.” Paul shook his head “I didn’t write any stories, Rafe, though I may have told a tale or two Sandra is the writer of the family.” Rafe smiled and opened the box Inside, Paul could see a book in a soft leather cover Rafe cradled his hands under it, as though he were lifting a baby eagle out of its nest As Rafe extended the book toward him, Paul read the words inscribed on the front: 2/2 The signature amidase from Sulfolobus solfataricus
belongs to the CX
3
C subgroup of enzymes cleaving both
amides and nitriles
Ser195 and Cys145 are predicted tobe the active site nucleophiles
Elisa Cilia
1,2
, Armando Fabbri
1
, Monica Uriani
1
, Giuseppe G. Scialdone
1
and Sergio Ammendola
1,2
1 Centre of Biotechnology-Bioprogress, Anagni, Italy
2 AMBIOTEC SAS SS7, Cisterna di Latina, Italy
Amide hydrolase (AH) and nitrilase (Nit) are two
superfamilies of enzymes cleaving C–N bonds of differ-
ent substrates [1]. These proteins all share the typical
a ⁄ b hydrolase fold and can be grouped on the basis of
their catalytic site and preferred substrate [2,3]. The
enzymes of the Nit superfamily have a catalytic site
formed by a Glu–Cys–Lys triad and can hydrolyse
nitriles (EC 3.5.1.1) or the carboxylic amide group
(EC 3.5.1.4) [4].
The AH superfamily includes the signature amidases,
originally identified by primary structure analysis [5].
The substrate specificities and biological functions of
these enzymes vary widely, but it has been shown that
they all have a similar catalytic mechanism mediated
by a Ser–cisSer–Lys catalytic triad [6–8].
Recently, the gene coding for the signature amidase
from Sulfolobus solfataricus (SsAH) has been expressed
in Escherichia coli and characterized [9]. This is a wide
spectrum AH, converting carboxylic amides to their
corresponding organic acids. We report that the SsAH
enzyme also possesses nitrilase activity, a property
shared by the well-characterized signature amidase
from Rhodococcus rhodochrous J1 (RhorhJ1) [10,11].
Both enzymes contain an additional CX
3
C motif.
To understand the structural basis of this dual spe-
cificity, we constructed random mutants of SsAH and
screened them for their activity on amide, nitrile and
ester substrates. Mutants showing increased activity on
nitriles all carried the Lys96Arg substitution, an obser-
vation confirmed by site-directed mutagenesis.
The structural framework of the observed mutations
was investigated by constructing a homology model of
the enzyme. The model suggests that a putative addi-
tional catalytic triad formed by Ser171–Cys145–Lys96,
where position 145 corresponds to the second cysteine
of the additional CX
3
C motif, exists in this enzyme.
We suggest that this alternative active site is respon-
sible for the hydrolysis of nitriles, with Cys145 acting
Keywords
amidase; catalytic triad; CX
3
C; modelling;
mutagenesis
Correspondence
S. Ammendola, Via Paduni 240-03012
Anagni FR, Italy
Fax: +39 077 576 6541
Tel: +39 077 576 6824
E-mail: sergio.ammendola@fastwebnet.it
(Received 14 June 2005, revised 18 July
2005, accepted 28 July 2005)
doi:10.1111/j.1742-4658.2005.04887.x
The signature amidase from the extremophile archeum Sulfolobus solfatari-
cus is an enantioselective enzyme that cleaves S-amides. We report here that
this enzyme also converts nitriles in the corresponding organic acid, simi-
larly to the well characterized amidase from Rhodococcus rhodochrous J1.
The archaeal and rhodococcal enzymes belong to the signature amidases
and contain the typical serine-glycine rich motif. They work at different
optimal temperature, share a high sequence similarity and both contain an
additional CX
3
C motif. To explain their dual specificity, we built a 3D
model of the structure of the S. solfataricus MEMORIES AREMADE OF THIS
Simon Aronson’s
Introduction to Memorized Deck Magic
Original Edition Copyright 1999 by Simon Aronson
Revised Edition Copyright 2002 by Simon Aronson
2 • Simon Aronson’s
The card conjurer’s repertory is never complete
without employing the prearranged deck to some extent.
- S. W. Erdnase
Introduction to Memorized Deck Magic • 3
MEMORIES AREMADE OF THIS
Simon Aronson’s
Introduction to Memorized Deck Magic
[Note (May 2002): This pamphlet was originally written approximately three years ago, for use in
some private workshops I conducted on memorized deck magic. Since that time much has
happened to make the use of a memorized stack even more popular. Last year I published my
book, Try the Impossible, which contains an in-depth exploration of the Aronson stack, plus two of
the tricks that were contained in the original version of these notes. I also now have a website, at
www.simonaronson.com, which allows me to share my ideas about magic generally, and about
memorized deck magic in particular, on a more current basis over the internet. I’ve revised these
notes in just a few minor respects, to update the references, correct any errors that have been
brought to my attention, and in only a few places to clarify or expand on the ideas presented.]
An awful lot has changed over the past twenty or so years. When I wrote my first book (The
Card Ideas of Simon Aronson, 1978), I tipped my mitt on a lot of “underground” stuff that I had
developed, using the memorized deck. In my introductory essay to that chapter, I mentioned that I
sometimes felt “guiltily pleased” that so few of our advanced cardicians had (at that time) ever
considered using the memorized deck.
Well, I can’t feel such guilt any longer because the memorized deck has certainly come of
age. Indeed, the past few years have seen a groundswell of interest in this venerable tool among
some of the world’s most respected magical thinkers and performers. Lecturers at magic clubs
around the country have showcased memorized deck miracles. But the enthusiasm is not limited
just to the professionals. In magic chat rooms on the Internet, and at magic conventions, I am
regularly besieged by eager, inventive amateurs who want to show me their latest twist or
accomplishment with a memorized deck – and many are really good! The momentum is growing
and contagious, and the sheer number of cardicians now using a memorized stack has produced a
synergy that is causing the number of effects, tips, variations, and new principles to multiply
exponentially.
I’m happy to have been part of the inspiration for this renaissance, but there’s no reason to
stop there. I’m constantly working on new memorized deck effects. So, it’s about time that you
joined the ranks also.
About This Introduction
As the title implies, the purpose of this booklet is simply to introduce you to some of the basic
principles and applications you need to know to get started with a memorized deck. In Section I, I
define a few of the basic terms, and answer some of the more frequently asked questions about how
to approach the topic. In Section II, I try to give you a sense of the power and scope of the
memorized deck by discussing five principles that are commonly used in memorized deck
applications. These principles are illustrated with several simple, though quite fooling, location
effects. In Section III, I offer some thoughts on how one can best go about learning a memorized
stack. At various points I 'The Worst Place in the World tobe a Woman or Girl' –
Rape in the DR Congo: Canada, Where Are You?
Policy Position and Discussion Report
By the
www.acacdrcongo.org
contact@acacdrcongo.org
SEPTEMBER 2009
Research for this report was supported by
The Liu Institute for Global Issues, the Walter and Duncan Gordon Foundation and the
Centre of International Relations
The Africa Canada Accountability Coalition – September 2009
____________________________________________________________________________
- 2 -
TABLE OF CONTENTS
EXECUTIVE SUMMARY 3
'THE WORST PLACE IN THE WORLD TOBE A WOMAN' 3
CANADA MUST SUPPORT THE WOMEN AND GIRLS OF THE DRC 3
CONTEXT 5
CANADA AND ‘THE DEADLIEST CRISIS SINCE WORLD WAR II’ 5
Background: before the Rwandan Genocide 5
Peacekeeping 5
Mining and investments 6
Women, peace and security 7
Canadian policy and conflict in the DRC today 9
THE RISE OF MASS RAPE IN THE DRC 11
Women’s and girl’s bodies as the battlefield of war 11
Inequality: precursor to crisis 11
The Kivu Provinces in the DRC: At the centre of ‘Africa’s World War’ 12
A vibrant civil society: hope amid crisis 13
RECOMMENDATIONS 14
PROMOTE TRANSPARENCY 14
1. Adopt and legislate the recommendations of the advisory panel on Corporate Social Responsibility 14
2. Work with the UN Group of Experts on the DRC to develop a map of mineral-rich zones in the Kivus . 14
3. Modify Export Development Canada’s regulatory legislation 14
INVEST LOCALLY 15
1. Make long-term funding available to grassroots women’s groups in the Kivus 15
2. Support grassroots women’s involvement in the democratic processes 15
3. Renew the mandate of the Canadian ambassador to the Great Lakes Region 16
END IMPUNITY 17
1. End impunity for war criminals in Canada 17
2. End impunity for war criminals in the Kivus and DRC 17
3. Establish an international commission to investigate crimes of sexual violence 17
4. Support gender-sensitive security sector reform in the DRC 18
REFERENCES AND RESOURCES 19
The Africa Canada Accountability Coalition – September 2009
____________________________________________________________________________
- 3 -
EXECUTIVE SUMMARY
'THE WORST PLACE IN THE WORLD TOBE A WOMAN OR GIRL'
The two eastern Kivu provinces of the Democratic Republic of the Congo (DRC) are the worst
places in the world tobe a woman or a girl. Over the last decade, a complex and ongoing series
of conflicts, described as the world’s “deadliest crisis since World War II,”
1
unleashed
unprecedented violence on the bodies of women and girls in this region. The brutality is extreme:
“the raping of three-month-old infants and eighty-year-old women, the dispatching of militias
who have HIV/AIDS and other sexually transmitted diseases to rape entire villages, women
being held as sex slaves for weeks, months and years and women being forced to eat murdered
babies.”
2
Women and girls are raped with such frequency that the Congolese invented a new
word to describe the phenomenon: révioler, to re-rape.
3
For years, the international community
has attempted to stop mass rape a
GAO
United States Government Accountability Office
Report to Congressional Requesters
September 2005
ELECTIONS
Federal Efforts to
Improve Security and
Reliability of
Electronic Voting
Systems Are Under
Way, but Key Activities
Need toBe Completed
GAO-05-956
What GAO Found
United States Government Accountability Office
Why GAO Did This Study
Highlight s
Accountability Integrity Reliability
www.gao.gov/cgi-bin/getrpt?GAO-05-956.
To view the full product, including the scope
and methodology, click on the link above.
For more information, contact David Powner
at (202) 512-9286 or pownerd@gao.gov.
Highlights of GAO-05-956, a report to
congressional requesters
September 2005
ELECTIONS
Federal Efforts to Improve Security and
Reliability of Electronic Voting Systems
Are Under Way, but Key Activities Need
to Be Completed
While electronic voting systems hold promise for improving the election
process, numerous entities have raised concerns about their security and
reliability, citing instances of weak security controls, system design flaws,
inadequate system version control, inadequate security testing, incorrect
system configuration, poor security management, and vague or incomplete
voting system standards (see below for examples). It is important to note
that many of these concerns were based on specific system makes and
models or a specific jurisdiction’s election, and there is no consensus among
election officials and other experts on their pervasiveness. Nevertheless,
some have caused problems in elections and therefore merit attention.
Federal organizations and nongovernmental groups have issued both
election-specific recommended practices for improving the voting process
and more general guidance intended to help organizations manage
information systems’ security and reliability. These recommended practices
and guidelines (applicable throughout the voting system life cycle) include
having vendors build security controls and audit trails into their systems
during development, and having election officials specify security
requirements when acquiring systems. Other suggested practices include
testing and certifying systems against national voting system standards.
The federal government has begun efforts intended to improve life cycle
management of electronic voting systems and thereby improve their security
and reliability. Specifically, EAC has led efforts to (1) draft changes to
existing federal voluntary standards for voting systems, including provisions
addressing security and reliability; (2) develop a process for certifying voting
systems; (3) establish a program to accredit independent laboratories to test
electronic voting systems; and (4) develop a library and clearinghouse for
information on state and local elections and systems. However, these actions
are unlikely to have a significant effect in the 2006 federal election cycle
because important changes to the voting standards have not yet been
completed, the system certification and laboratory accreditation programs
are still in development, and a system software library has not been updated
or improved since the 2004 election. Further, EAC has not consistently
defined specific tasks, processes, and time frames for completing these
activities; as a .. .Miracles Are Made To Be Shared The wind picked up, causing the images below to gradually lose their separate identity and meld together Paul simultaneously felt himself merging into the... well, Paul; you’ve written a lovely story, one that will be read for a long time to come.” Paul shook his head “I didn’t write any stories, Rafe, though I may have told a tale or two Sandra is the... scene below and being pulled upward “It’s a beautiful evening for flying, isn’t it?” Rafe looked exactly as he had on that day nearly fifty years ago when he had plucked Paul from the air below