Sunday, August 11, 2019

Freedom in Modern Art Research Paper Example | Topics and Well Written Essays - 2500 words

Freedom in Modern Art - Research Paper Example The paper "Freedom in Modern Art" concerns the freedom in a modern art context. Today, art has been exhibited and expressed in surprisingly varied media greatly influenced by the global modernization. Art is no longer defined with strict rules in terms of aesthetic value and medium used. Anyone has liberty to explore what is inside of them and express them in ways for arts sake. The cultural backgrounds influencing the inner system of the creators’ hands are expressed in the messages and media of their output. The freedom in every artist lets him explore the vastness of his creativity into varied concepts of supreme work using multitudes of possible media. This sense of freedom in the modern art has opened the gates for other kinds of materials to be used as medium in expressing art. Every man is an artist. Indeed, that has been very true this time. The intrinsic creative capacity of every human being is now exploding into manifestos that make viewers stand in wondering awe. P lus, the trend of digital modern day technology has been embedded in the realm of art. The digital age conquering the world has now come. It is a reality that is visible not only on the modern day gadgets and machineries but also in the art demesne. Art has turned into a real dynamic symbiotic system where artist’s magnum opuses are more interactive. There are voices that are heard in their silent protests and there are images depicted in shadows. Messages of their works cants with piercing sonata echoed with the various reactions., critics, appreciations and applause from those who perceive. There are various art shows, galleries and exhibits that take their audience aback with all the surprising media used by modern artists. Art exhibited are incorporated with high technology concepts, medium as well as some radical messages. A lot of artists join such exhibition in showing their masterpieces portraying art for arts sake idea. Art has indeed evolved from prehistoric dynasti es where aesthetic value is the optimum criteria to judge a piece of work to an era where art works are expressed regardless of how they look in the human eye. There are even extreme works exposing radical movements created in skewed forms with messages hidden in graphics. Medium used has varied from oil based paints into lights and lasers. Canvasses containing them expounds from traditional easel-sized paints into walls, screens, and even a whole room. Who would have thought that art can consume such space? The vastness of possible resources to paint the many artists’ graffiti has sloped into infinity. Every now and then, a new thing happens. Every now and then, a new material coming from nature has been staged into stardom as they are exposed gradually. One of the most remarkable modern day artists that explored an extraordinary media in expressing art is Daniel Rozin. He expressed a different kind of art with the use of unreflective surfaces to act as mirror. His famous wo rk, The Wooden Mirror has spectacularly amazed audiences from all over the world. He skillfully combined 830 pieces of wooden block hooked up with motors adjoined with built in cameras. This was built in the year 1999 where physical art is collaborated with digital technology. The other materials included to complete the whole piece includes servo motors, cameras for video, computer and of course the wooden frames. The natural resource from nature which is wood has been used to portray images through the web of intricate body part construction reflecting an abstract perception of digital pixels. The camera picks up movement from an object in front of the masterpiece thereby producing a shadowed reflection as the output. Anyone

Saturday, August 10, 2019

Paraphrasing Essay Example | Topics and Well Written Essays - 500 words - 2

Paraphrasing - Essay Example Reports from eyewitnesses were recorded that a cloud of gas settled over and gradually moved through the shanty towns (Shastri, 1985). However, diffusion of this gas cloud was prevented by atmospheric inversion and low-wind speed. When the gas cleared on the dawn of December 4th, the affected individuals were either dead or injured. According to statistics, this is considered as one of the worst industrial disasters to happen; resulting to approximately 3,787 deaths and 558,125 injuries. This outstanding rate of fatalities did not stop but persisted for months causing further harm. Approximately 50,000 people were estimated to suffer from the long-term health effects. Moreover, nine years after the fatality, more than a thousand residents continued to experience health issues which may be linked to the accident. Examples of such health issues are corneal opacities, numbness, early cataracts, Post traumatic stress disorder, Impairment of memory, finer motor skills, and chronic bronchi tis (Dhara & Kriebel, 1993). After the tragedy, Union Carbide India Limited with the permission of the Indian government cleaned up the area until 1998. Union Carbide India Limited also donated $2 million to the Prime Minister’s Relief Fund, $5 million to the Indian Red Cross, and shared all information concerning methylisocyanate with the Indian government. In the year 1998, the Madhya Pradesh State Government took over Union Carbide India Limited and assumed responsibility. Five years later after the tragedy, the Supreme Court of India ordered Union Carbide India Limited to pay $470 million to the Indian government; the amount was paid in full ten days later. Moreover, the court ordered the Indian government to purchase medical insurance policy to cover 100,000 affected people. In the year 2004, the Supreme Court of India ordered the Government to give the remaining

Friday, August 9, 2019

12 YEARS A SLAVE Essay Example | Topics and Well Written Essays - 500 words

12 YEARS A SLAVE - Essay Example Additionally, the movie talks about the life of an enslaved educated Black man called Northup who later in life turned to abolish slavery in Louisiana. It is a fact that, many Black people have been killed and many have fought back against discrimination and sexual exploitation and these were the martyr’s who should be remembered according to Copleand. In the author’s eye, solidarity and unity is still a big issue for black people as they are mostly struggling to gain respect and acceptance within the white community. The book and film both tells us that, if one looks at history, many black people had taken the courage to fight for their rights and their effort should be taken as guidance by our community. In fact, black people are as valuable as white person from a religious perspective. In her book (Copeland,2010,pg.113) â€Å"Copeland’s theological anthropology assiduously reveals a carefully developed understanding of historic black bodies in relation to the body of Christ† The author in her book recommends that the history of martyr’s should lead the people to fight for solidarity and peace among each other. In the same way, the movie â€Å"Twelve Years of Slave† is a powerful one which communicates to the audience the life of a black slave. The movie is based on the book written by Solomon Northup where the experience of him as a slave is recounted. He was an educated man and stood firm against racial bias of white men in those times. This man can be taken as a role model as he was an educated and free man till his adult times but later turned in to freedom fighter for the slave community in Louisiana. His life was unusual as he was black person who got kidnapped and sold into slavery where he spent twelve long years in pain. Northup can be seen as a martyr as explained by Copeland and should be followed by new generation to find peace and solidarity in their

Thursday, August 8, 2019

Discuss critically the main successes and failures of Tony Blair's New Essay

Discuss critically the main successes and failures of Tony Blair's New Labour government 1997-2007 - Essay Example This implies that the government was not stable and had no strong probability to solve governmental issues or give firm stands concerning the United Kingdom hence Blair had to work hard under his personal capacity to ensure that the UK was better placed as compared to earlier governments. Tony Blair’s regime as a Prime Minister achieved a landslide of successes though on the other side, the government failed to address some national and international challenges as discussed below (Shaw, 2012: 56). Achievements of tony Blair’s government 1. Development Tony Blair being a Member of Parliament before winning the 1997 general elections had a clue on the sidelines to follow in order to enhance development and growth of the United Kingdom. Though this seem to be unrealistic due to the less informed his cabinet was, he made a lot of positive strides across the entire world. The Prime Minister reasoned out with the all the political parties, British public as well as the media against joining the Eurozone to adopt the Euro. This act brought internal cooperation and peace as the nation spoke in one voice (Gunter & Forrester, 2008: 151). Being a learned person, Blair new well that motivation was key to success and quality work. He therefore introduced the National minimum wage and went as far as raising it. The move positively enhanced the living standards and created a great correlation to the general provision of services which include government and non-governmental based. In the early years, Tony Blair held several meetings with key African leaders showing how personally he was concerned on developing Africa and making it a free sate of success, a message that went down into giving the Africans more attention beyond the issues of aid. The Great 8 (G8) summits majorly centered on issues to do with: development through improving governance, investing in people, embracing peace and stability as well as mutual accountability (David, 2012). The long standing relationship between the South African President; Thabo Mbeki and the British government led to establishment of new approaches to develop Africa as a whole to enable the African countries to rely on their efforts unlike depending so much on donors. Today South Africa stands out to be a great republic through these unstoppable efforts (Andrew, 2013: 90). The New Labour Government invested more in realizing the goals of learning institutions through fully supporting learning processes as from lower levels to high institutions, employment of more civil servants, improving their terms of work and enhancing job creation. 2. Climatic change policy. Unpredictable weather patterns has remained a major issue to be address up to date and policy makers find it difficult due to the ever changing living patterns surrounded with scientific innovations and industrialization. The New Labour Party developed the climate change agenda in 1997 as Europe become reluctant to minimize the levels of sulp hure emissions into the air. It was later taken to be the government’s environmental policy that aimed at regulating the amount of harmful gases and other wastes eliminated into the air. Successful cooperation of Tony Blair’s government and the business firms saw more approaches developed towards tackling climatic change. Through Blair’

Three Rhetorical Strategies and Effects Assignment

Three Rhetorical Strategies and Effects - Assignment Example Cause and effect is a rhetorical strategy that a writer uses to focus on or explain why an event or situation occurs and links this with what might happen. Cause deals with the investigation and analysis of past events while effects deal with the prediction of future events based on past events (Mukalel 80). Writers employ this method when explaining pertinent global issues such as global warming or social issues like the investigation of the reasons for the rise in teenage drug abuse. Comparing and contrasting: Comparisons are used to look for similarities between things while contrasts look for differences. Application of this strategy requires the writer to locate similarities and differences between two or more things. At first glance, only differences may be obvious but upon closer analysis, the writer is likely to find more similarities than earlier anticipated and convey them to the reader. Compare and contrast is mainly used in report writing, giving a speech especially to persuade your audience to hold a particular position, endorsing an individual or party and making an argument. It can be done it two ways; block technique, the writer gives the differences first and then later list the similarities, Point- by- point involves explaining both sides in an alternating manner, for instance, A,B, A,B to the exhaustion of all points. A description is a rhetoric technique that involves describing a place, person or thing. The writer when describing often attempts to paint a mental picture of the person, place or thing to the reader in such a way that the reader can visualize the object in detail. He or she achieves this by indicating how the object looks like, feels smells, sounds, tastes. It requires a proper choice of verbs, clear adjectives, and specific nouns in order to be successful (Mukalel 109).  

Wednesday, August 7, 2019

Is Abortion Immoral Essay Example for Free

Is Abortion Immoral Essay In Carol Levine’s book, Taking Sides, the debate discussing whether abortion is considered immoral or not raises questions about the relationship between law, society, and ethics. When discussing abortion, there are typically two polar opposite views in which to categorize the argument: the pro-life view and the pro-choice view. From a conservative point of view, the â€Å"pro-life† stance is one that sees abortion as the taking of an innocent life of a child. The pro-lifers would also argue that life begins at conception and are in favor of supporting the life of the child in the womb. However, abortion has been legal since 1973. The 1973 Supreme court decision of Roe v. Wade declared that a woman has a constitutional right to privacy, which includes an abortion. † (p 121) Even though abortion is legalized, it does not make the choice to abort the child morally right. â€Å"Patrick Lee and Robert P. George conclude that being a mother generates a special responsibility and that the sacrifice morally required of the mother is less burdensome than the harm that would be done to the child, causing his or her death, to escape responsibility. † (p 121) The first question to be raised is whether the human embryo/fetus should be considered a complete human being or not. The human embryo is considered to be distinct from any cell of both the mother and of the father because it is growing in its own direction. The human embryo is obviously human, with DNA characteristic of human beings. Most importantly, the human embryo is a complete organism even though it is said to be an immature one. â€Å"Rather, an embryo (and fetus) is a human being at a certain (early) stage of developmentthe embryonic (or fetal) stage. † (p 123) Therefore, it is arguably said that aborting the child, at any term, is considered feticide and objectively immoral. In abortion, what is killed is a human being, a whole living member of the species homo sapiens, the same kind of entity as you or I, only at an earlier stage of development†¦Ã¢â‚¬  (p 124) Another argument in the debate is that abortion is justified as non-intentional killing. Some pro-choicers argue that it is not so much intentionally killing the child, but rather not choosing to provide the child with assistance or a home during the gestation period, all while knowing that evicting the child will almost certainly cause death. The â€Å"bodily rights rgument† states that â€Å"a woman is not morally required to allow the fetus the use of her body. † (p 124) By describing abortion as choosing not to provide bodily life support is a misconception, when the ultimate side effect is death, however unintentional it may be. â€Å"There is a significant moral difference between not doing something that would assist someone, and doing something that causes someone harm, even if that harm is an unintended (but foreseen) side effect. † (p 125) Most women that chose abortion do not want their child to die or to commit feticide, they simply want to terminate pregnancy. Death of their child is merely a horrible side effect. However, does it morally justify their choice? â€Å"Abortion is the act of extracting the unborn human being from the womb- an extraction that usually rips him or her to pieces or does him or her violence in some other way. † (p 125) From a Christian perspective, Ramsey would argue against abortion stating that the sanctity of life should be preserved. He respects the nature of human parenthood that calls for a sphere of love union and a sphere of procreation. When a woman becomes pregnant, whether it is by choice or not, it is from then on viewed as her responsibility. â€Å"So, the burden of carrying the baby, for all its distinctness, is significantly less than the harm the baby would suffer by being killed; the mother and the father have a special responsibility to the child; it follows that intentional abortion (even in the few cases where the baby’s death is an unintended but foreseen side effect) is unjust and therefore objectively immoral. † (p 128) Ramsey opposes an ethic based on goals or ends which from a Christian viewpoint will ultimately be destroyed anyway. This is one of his bases for an independent ethic of means. The Roman Catholic Church argues against direct abortion stating that we must treat the child with same rights as a person. A direct killing is an act that by the nature of the act or the intention of the agent aims at the killing either as a means or as an end. Ramsey would also support this argument. â€Å"Those who condemn abortion as immoral generally follow a classical tradition in which abortion is a public matter because it involves our conception of how we should live together in an ideal society. † (p 120)

Tuesday, August 6, 2019

Webform2 †wireless LAN, users and access points management Essay Example for Free

Webform2 – wireless LAN, users and access points management Essay Private void Page_Load(object sender, System. EventArgs e) { // intializing the sqlDataAdapter and dataSet sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM AP,sqlConnection1); sqlDataAdapter3. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM APusers,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1); sqlDataAdapter3. Fill(usersDataSet11); sqlDataAdapter2. AcceptChangesDuringFill = true; sqlDataAdapter3. AcceptChangesDuringFill = true; } private void Button9_Click(object sender, System. EventArgs e) //add button(users) { //saving the data the manager insert and adding it to the users table//goto each AP checked by the manager using SNMP protocol and add //them the user String user_name,user_id,user_MAC; String str2=,str3=; int i,j,tmp,k; user_name = TextBox1. Text. ToString(); user_id = TextBox2. Text. ToString(); user_MAC = TextBox5. Text. ToString(); int items = CheckBoxList1. Items. Count; // APs will hold the names of all the APs that the user // can access string[] APs = new string[items]; k=0; APs. Initialize(); try { apDataSet1. Clear(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr = apDataSet1. AP. Select(); i = arr. GetLength(0); // add this user to the table // str2 has the names of all the APs coulms // str3 has the values of all the coulms j=0; for(j=0;ji;j++) { str3= str3 + arr[j]. ItemArray. GetValue(0) .ToString()+, ; } str3 = str3. Remove(((str3. Length)-2),2); str2= +user_name +, + user_id +, +user_MAC + , ; tmp = CheckBoxList1. SelectedIndex; for(j=0;ji;j++) { if (tmp==j) { APs[k]=CheckBoxList2. SelectedItem. Text; k++; str2= str2 + 1, ; CheckBoxList1. SelectedItem. Selected = false; tmp = CheckBoxList1. SelectedIndex; } else str2= str2 + 0, ; } str2 = str2. Remove(((str2. Length)-2),2); SqlCommand insCommand = new SqlCommand( INSERT INTO APusers (userName, id_num, mac_adr, + str3 + ) VALUES ( + str2 + ),sqlConnection1); insCommand. Connection. Open(); insCommand. ExecuteNonQuery(); insCommand. Connection. Close(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); / the steps to update the access points:   1. for each AP in the APs array: *  Ã‚  Ã‚   1. 1 get the AP IP address from the AP database. 1. 2 get the add entry to table object ID *   1. 3 call snmpSET function */ /* String IPaddr,OID; * for(i=0;ik;i++)   {*     DataRow [] arr = apDataSet1. AP. Select(Apname ='+APs[i]+); *  Ã‚   IPaddr = arr[0]. ItemArray. GetValue(1). ToString(); *  Ã‚   OID = avaya. addEntry(); *  Ã‚   snmpexe. snmpSet(IPaddr,OID,user_MAC); * } */ } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } TextBox7. Text=; TextBox1. Text=; TextBox2. Text=; TextBox5. Text=; TextBox3. Text=; TextBox4. Text=; } private int GetIndexofelement(string [,] arr,string elem) { int j,i = arr. Length; for(j=0;ji;i++) { if (arr[0,j]. ToString() == elem) return j; } return -1; } private void Button3_Click(object sender, System. EventArgs e) //remove user button. { CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=false; DataGrid1. Visible=false; Button9. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; Label3. Visible=false; TextBox5. Visible=false; Label10. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList1. Visible=true; Button6. Visible=true; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; Label6. Text=Select the user you wish to remove and press remove; /////////////////// //bring the users list into the dropdown box DropDownList1. Items. Clear(); int i=0; try { usersDataSet11. Clear(); sqlDataAdapter3. SelectCommand. CommandText = SELECT userName FROM APusers; sqlDataAdapter3. Fill(usersDataSet11); DataRow [] arr = usersDataSet11. APusers. Select(); i = arr. GetLength(0); while (i! =0) { DropDownList1. Items. Add(arr[i-1]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter3. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM APusers,sqlConnection1); sqlDataAdapter3. Fill(usersDataSet11,APusers); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } } private void Button1_Click(object sender, System. EventArgs e)// add AP button { CheckBox1. Visible=true; Label12. Visible=true; TextBox7. Visible=true; DataGrid2. Visible=false; DataGrid1. Visible=false; Label1. Visible=true; Label2. Visible=true; Button10. Visible=true; TextBox3. Visible=true; TextBox4. Visible=true; TextBox5. Visible=false; Label10. Visible=false; Button9. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; Label3. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; DropDownList1. Visible=false; Button6. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; Label6. Text=Insert the AP detials and press add; } private void Button4_Click(object sender, System. EventArgs e) //remove AP button. { CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=false; DataGrid1. Visible=false; DropDownList2. Visible=true; Button8. Visible=true; Button9. Visible=false; TextBox5. Visible=false; Label10. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; Label3. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; DropDownList1. Visible=false; Button6. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; Label6. Text=Select the AP you wish to remove and press remove; //bring the APs list into the dropdown box try { DropDownList2. Items. Clear(); int i=0; apDataSet1. Clear(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr = apDataSet1. AP. Select(); i = arr. GetLength(0); while (i! =0) { DropDownList2. Items. Add(arr[i-1]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } } private void Button5_Click(object sender, System. EventArgs e) //show all users button { CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=false; DataGrid1. Visible=true; Button9. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; TextBox5. Visible=false; Label10. Visible=false; Label3. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; DropDownList1. Visible=false; Button6. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; try { sqlDataAdapter3. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM APusers,sqlConnection1); sqlDataAdapter3. Fill(usersDataSet11,APusers); DataGrid1. DataSource = usersDataSet11; DataGrid1. DataBind(); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } Label6. Text=which operation would you like to perform? ; } private void Button6_Click(object sender, System. EventArgs e) // remove button(users) { //goto all APs listed for this user and remove the user from //ther table and then remove the user from the data base String user_name; try { user_name = DropDownList1. SelectedItem. Text. ToString(); Label6. Text=Remove user + user_name; /* * the steps to update the access points: * 0. create an array with the APs name * 1. for each AP in the APs array: *  Ã‚  Ã‚   1. 1 get the AP IP address from the AP database *  Ã‚  Ã‚   1. 2 get the remove entry to table object ID *  Ã‚  Ã‚   1. 3 call snmpSET function */ /* String IPaddr,OID; * for(i=0;ik;i++) * { *  Ã‚   DataRow [] arr = apDataSet1. AP. Select(APname ='+APs[i]+); *  Ã‚   IPaddr = arr[0]. ItemArray. GetValue(1). ToString(); *  Ã‚   OID = avaya. removeEntry(); *  Ã‚   snmpexe. snmpSet(IPaddr,OID,user_MAC); * } */ SqlCommand DelCommand = new SqlCommand(DELETE FROM APusers WHERE userName = + user_name + ,sqlConnection1); DelCommand. Connection. Open(); DelCommand. ExecuteNonQuery(); DelCommand. Connection. Close(); usersDataSet11. Clear(); sqlDataAdapter2. Fill(apDataSet1); sqlDataAdapter3. Fill(usersDataSet11); //todo: refrash list DropDownList1. Items. Clear(); int i=0; usersDataSet11. Clear(); sqlDataAdapter3. SelectCommand = new SqlCommand( SELECT userName FROM APusers,sqlConnection1); sqlDataAdapter3. Fill(usersDataSet11); DataRow [] arr = usersDataSet11. APusers. Select(); i = arr. GetLength(0); while (i! =0) { DropDownList1. Items. Add(arr[i-1]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter3. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM APusers,sqlConnection1); sqlDataAdapter3. Fill(usersDataSet11,APusers); } catch(Exception ev). {Label6. Text=ERROR ACSESSING THE DATABASE; } } private void Button10_Click(object sender, System. EventArgs e) //add button(AP) {//updata the APs table and init the AP String AP_name,AP_ip,Location; bool active; try { AP_name = TextBox3. Text. ToString(); AP_ip = TextBox4. Text. ToString(); Location = TextBox7. Text. ToString(); active = CheckBox1. Checked; apDataSet1. AP. AddAPRow(AP_name,AP_ip,Location,active); sqlDataAdapter2. Update(apDataSet1); SqlCommand myCommand = new SqlCommand(ALTER TABLE APusers ADD +AP_name+ bit,sqlConnection1); myCommand. Connection. Open(); myCommand. ExecuteNonQuery(); myCommand. Connection. Close(); //todo: make all the users in the APusers table marked as not allowed to this AP myCommand = new SqlCommand( UPDATE APusers SET +AP_name+= 0,sqlConnection1); myCommand. Connection. Open(); myCommand. ExecuteNonQuery(); myCommand. Connection. Close(); /* the steps to update the access points: * 1. connect to the AP IP address from the AP database * 2. get the remove entry to table object ID *3. call snmpSET function */ /* String IPaddr,OID; * for(i=0;ik;i++) * { *  Ã‚   OID = avaya. setName(); *  Ã‚   snmpexe. snmpSet(AP_ip,OID,AP_name); *  Ã‚   OID = avaya. setLocation(); *  Ã‚   snmpexe. snmpSet(AP_ip,OID,Location); * }   */ }catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } TextBox7. Text=; TextBox1. Text=; TextBox2. Text=; TextBox5. Text=; TextBox3. Text=; TextBox4. Text=; } private void Button8_Click(object sender, System. EventArgs e) //remove button(AP) {//remove the APs table String AP_name; try { AP_name = DropDownList2. SelectedItem. Text. ToString(); Label6. Text=Removing AP + AP_name; SqlCommand DelCommand = new SqlCommand(DELETE FROM AP WHERE APname = + AP_name + ,sqlConnection1); DelCommand. Connection. Open(); DelCommand. ExecuteNonQuery(); DelCommand. Connection. Close(); apDataSet1. Clear();sqlDataAdapter2. Fill(apDataSet1); sqlDataAdapter3. Fill(usersDataSet11); sqlDataAdapter2. AcceptChangesDuringFill = true; sqlDataAdapter3. AcceptChangesDuringFill = true; DataGrid1. DataSource = apDataSet1; DataGrid1. DataBind(); //todo: refrash list DropDownList2. Items. Clear(); int i=0; apDataSet1. Clear(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr = apDataSet1. AP. Select(); i = arr. GetLength(0); while (i! =0) { DropDownList2. Items. Add(arr[i-1]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); //todo: remove the AP_name culomn from the APusers table SqlCommand myCommand = new SqlCommand(ALTER TABLE APusers DROP COLUMN +AP_name,sqlConnection1); myCommand. Connection. Open(); myCommand. ExecuteNonQuery(); myCommand. Connection. Close(); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } /*SNMP: * goto the selected AP * a. go to the data base and get the AP IP number * b. snmp. snmpSet(IP,DisableAllUsers) */ } private void Button2_Click(object sender, System. EventArgs e) // add user button. { int i=0; CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=false; DataGrid1. Visible=false; Button9. Visible=true; TextBox1. Visible=true; TextBox2. Visible=true; TextBox5. Visible=true; Label10. Visible=true; Label3. Visible=true; Label4. Visible=true; Label5. Visible=true; CheckBoxList1. Visible=true; DropDownList1. Visible=false; Button6. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; Label6. Text=Insert the user detials and press add; //bring to the checkbox list all the APs available CheckBoxList1. Items. Clear(); apDataSet1. Clear(); Try { sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr = apDataSet1. AP. Select(); i = arr. GetLength(0); int j =i; while (i! =0) { CheckBoxList1. Items. Add(arr[j-i]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } } private void Button11_Click(object sender, System. EventArgs e) //show all APs button { CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=true; DataGrid1. Visible=false; Button9. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; TextBox5. Visible=false; Label10. Visible=false; Label3. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; DropDownList1. Visible=false; Button6. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; try { DataGrid2. DataSource = apDataSet1; DataGrid2. DataBind(); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } Label6. Text=which operation would you like to perform?; } private void Button7_Click(object sender, System. EventArgs e) { CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=false; DataGrid1. Visible=false; Button9. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; Label3. Visible=false; TextBox5. Visible=false; Label10. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList1. Visible=false; Button6. Visible=false; DropDownList3. Visible=true; Button12. Visible=true; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=false; Button16. Visible=false; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; Label6. Text=Select the user whose details you wish to update; bring the users list into the dropdown box DropDownList3. Items. Clear(); int i=0; try { usersDataSet11. Clear(); sqlDataAdapter3. SelectCommand. CommandText = SELECT userName FROM APusers; sqlDataAdapter3. Fill(usersDataSet11); DataRow [] arr = usersDataSet11. APusers. Select(); i = arr. GetLength(0); while (i! =0) { DropDownList3. Items. Add(arr[i-1]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter3. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM APusers,sqlConnection1); sqlDataAdapter3. Fill(usersDataSet11,APusers); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } }private void Button12_Click(object sender, System. EventArgs e) { string user, id_num, mac_addr; int i=3, length; int APnum; user= DropDownList3. SelectedItem. Text. ToString(); original = user; Label6. Text=Update user + user; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=true; Label14. Visible=true; Label15. Visible=true; Label16. Visible=true; TextBox6. Visible=true; TextBox8. Visible=true; TextBox9. Visible=true; CheckBoxList2. Visible=true; Button13. Visible=true; //filling the text boxs with the existing user data CheckBoxList2. Items. Clear(); sqlDataAdapter3. Fill(usersDataSet11); DataRow [] arr = usersDataSet11. APusers. Select(userName ='+user+); id_num = arr[0]. ItemArray. GetValue(1). ToString(); mac_addr = arr[0]. ItemArray. GetValue(2). ToString(); //displaying the current user data in text boxs TextBox6. Text=user; TextBox8. Text=id_num; TextBox9. Text=mac_addr; CheckBoxList2. Items. Clear(); apDataSet1. Clear(); try { sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr1 = apDataSet1. AP. Select(); APnum = arr1. GetLength(0); i = APnum; int j =i; while (i! =0) { CheckBoxList2. Items. Add(arr1[j-i]. ItemArray. GetValue(0). ToString()); i=i-1; } sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); for(i=0;iAPnum;i++) { SqlCommand myCommand = new SqlCommand( SELECT + CheckBoxList2. Items[i]. Text + FROM APusers WHERE (userName = + user +),sqlConnection1); myCommand. Connection. Open(); SqlDataReader data = myCommand. ExecuteReader(); data. Read(); CheckBoxList2. Items[i]. Selected = data. GetBoolean(0); myCommand. Connection. Close(); } } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } } private void Button13_Click(object sender, System. EventArgs e) { String user_name,user_id,user_MAC; String str2=,str3=; int i,j,tmp; user_name = TextBox6. Text. ToString(); user_id = TextBox8. Text. ToString(); user_MAC = TextBox9. Text. ToString(); int items = CheckBoxList2. Items. Count; try { apDataSet1. Clear(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr = apDataSet1. AP. Select(); i = arr. GetLength(0); //todo: add this user to the table //todo: create str2 with the names of all the APs coulms //todo: create str3 with the values of all the coulms j=0; for(j=0;ji;j++) { str3= str3 + arr[j]. ItemArray. GetValue(0). ToString()+, ; } str3 = str3. Remove(((str3. Length)-2),2); Label6. Text =CheckBoxList2. SelectedIndex. ToString(); str2= +user_name +, + user_id +, +user_MAC + ,; tmp = CheckBoxList2. SelectedIndex; for(j=0;ji;j++) { if (tmp==j) { str2= str2 + 1, ; CheckBoxList2. SelectedItem. Selected = false; tmp = CheckBoxList2. SelectedIndex; } else str2= str2 + 0, ; } str2 = str2. Remove(((str2. Length)-2),2); Label6. Text =str2; SqlCommand delCommand = new SqlCommand(DELETE FROM APusers WHERE userName = + original + ,sqlConnection1); delCommand. Connection. Open(); delCommand. ExecuteNonQuery(); delCommand. Connection. Close(); SqlCommand insCommand = new SqlCommand(INSERT INTO APusers (userName, id_num, mac_adr, + str3 + ) VALUES ( + str2 + ),sqlConnection1); insCommand. Connection. Open(); insCommand. ExecuteNonQuery(); insCommand. Connection. Close(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT * FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); } catch(Exception ev) { Label6. Text=ERROR ACSESSING THE DATABASE; } /*SNMP: * goto the selected user * a. get all the APs IP numbers * b. for each IP *  Ã‚  Ã‚      if checked. *  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚   snmp. snmpSet(IP,addUsers) *  Ã‚  Ã‚      else *  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚   snmp. snmpSet(IP,removeUsers) */ Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; } private void Button14_Click(object sender, System. EventArgs e) { CheckBox1. Visible=false; Label12. Visible=false; TextBox7. Visible=false; DataGrid2. Visible=false; DataGrid1. Visible=false; Button9. Visible=false; TextBox1. Visible=false; TextBox2. Visible=false; TextBox5. Visible=false; Label10. Visible=false; Label3. Visible=false; Label4. Visible=false; Label5. Visible=false; CheckBoxList1. Visible=false; DropDownList1. Visible=false; Button6. Visible=false; Label1. Visible=false; Label2. Visible=false; Button10. Visible=false; TextBox3. Visible=false; TextBox4. Visible=false; DropDownList2. Visible=false; Button8. Visible=false; DropDownList3. Visible=false; Button12. Visible=false; Label13. Visible=false; Label14. Visible=false; Label15. Visible=false; Label16. Visible=false; TextBox6. Visible=false; TextBox8. Visible=false; TextBox9. Visible=false; CheckBoxList2. Visible=false; Button13. Visible=false; DropDownList4. Visible=true; Button16. Visible=true; Button15. Visible=false; Label11. Visible=false; Label17. Visible=false; Label18. Visible=false; TextBox11. Visible=false; TextBox12. Visible=false; TextBox10. Visible=false; CheckBox2. Visible=false; Label6. Text=Select the AP you wish to update and press select; //bring the APs list into the dropdown box try { DropDownList4. Items. Clear(); int i=0; apDataSet1. Clear(); sqlDataAdapter2. SelectCommand = new SqlCommand(  Ã‚  Ã‚  Ã‚  Ã‚   SELECT APname FROM AP,sqlConnection1); sqlDataAdapter2. Fill(apDataSet1,AP); DataRow [] arr = apDataSet1. AP. Select(); i = arr.