Saturday, November 30, 2019

management Essays (2273 words) - Human Resource Management, Economy

Leadership Research: Gene One In this paper Learning Team C of the University of Phoenix MBA520 class identifies four areas of concern within the Gene One case study relative to transformational leadership issues presented in the MBA520 course material. These four areas are: influence of leadership style on individual performance, strategies for developing/managing the group process, conflict management methods to enhance group and team performance and examination of the roles and interaction of group and team performance in relation to Gene One and the companies researched by our team. The Gene One case study and scenario portrays a fast growing organization that must fund its growth potential by offering an initial public stock offering or IPO. The transition from small company to a public company requires adjustments in group and team management. Benchmarking studies that seek examples of solutions that other companies have successfully taken offers an approach for incorporating best practices into new management strategy and policy. The Influence of Leadership Styles Leadership is a complex concept that is defined as the ability to influence, motivate, and enable others to contribute to the effectiveness and success of the organizations of which they are members. Leaders use influence to motivate followers and arrange the work environment so that they do the job more effectively ( McShane and Glinow , 2005). Leaders exist throughout the organization, not just in the executive suite. Leaders apply various forms of influence; from subtle persuasion to more assertiveness, to ensure application of power and to ensure that followers have the motivation and role clarity to achieve specified goals. Leaders also arrange the work environment so that employees can achieve corporate objectives more easily ( McShane and Glinow , 2005). AMGen has adopted good combination of transformational and Charismatic leadership.Their mission is to serve patients and values are to compete intensely and win, work in teams, create value for patients, staff and stockholders, trust and respect each other, ensure quality, collaborate, communicate and be accountable and be ethical (AMGen, 2006).These values and believes just shows us how leadership has created well behaved working environment while keeping clear communication between employees and leadership plays essential part to keep everybody on the same page about what to expect from each other. Genentech is no different either, leadership has adopted higher behavioral standards, which they call the Genentech Good Operating Principles (GGOPs), applied to their officers and employees, as well as to their directors in their activities on behalf of Genentech .by focusing on working environment and by leaving no gaps between leadership and employees they have created a unique enviro nment worker friendly and professional working environment where their employs basic needs are satisfied so they can concentrate on company development. Since then they are committed to the highest standards of behavior at Genentech (Genentech, 2006). Gene One?s corporate mission and values like Collaborate, Communicate and Be Accountable and commitment to the highest standards of behavior is lost, To resolve this in future Gene One?s leadership can start involving everybody needed in their board meetings so everybody is on the same page and release entire outcome in daily news line for company so their employees are not surprised by the outcome because all the employees knew their companies capability and believed in it and hence create hence of trust and worker friendly environment. Gene One?s corporate mission and values and commitment to the highest standards of behavior is lost, which we can see in the leadership meeting by not even valuing each other?s opinions ,or even experienced discussion are made without experts opinion. To mitigate this problem leadership can adopt higher behavioral standards something like the Genentech Good Operating Principles (GGOPs), applied to their officers and employees, as well as to their di rectors in their activities on behalf of Gene One .which will increase moral worker friendly environment and foster professionalism in between. Gene One?s leaders can learn how to communicate batter and model their vision in ways that would bring about meaningful change in the company just like Genentech and AMGen. Strategies for Managing the Group Process As Gene One grows, it must develop strategies for managing the group process. In order to do so, it must take into consideration contingencies of organizational design: organizational size, technology,

Tuesday, November 26, 2019

anemia essays

anemia essays The topic I have chosen to present is called iron deficiency anemia. This topic was of interest to me because its is an illness that I currently have been diagnosed with. Researching this topic was interesting, informative, and very educational for me. This is also something that affects a lot of people and is one of the most common types of Iron deficiency anemia, also known as iron poor blood, is the depletion of ones iron reserves. This is when there is a decrease is the red cells of the blood because there is too little iron or that the blood doesnt have enough hemoglobin. The main function of the iron in the body is to combine with protein to form hemoglobin, the red substance in blood that carries oxygen to and from the cells. If iron is low then it interferes with this The symptoms of iron deficiency anemia are very mild and in many cases there are no symptoms. If symptoms develop they may include fatigue, headaches, pale skin color, irritability, weakness, shortness of breath, low blood pressure with position change, brittle nails, sore tongue, unusual food cravings, decreased food cravings (especially in children), fast heartbeat, and may also cause decreased physical performance in females. Those at high risk of developing iron deficiency are infants, young children, adolescents The causes of this disease may vary. Lack of iron in diet is one of the more common causes. In premenopausal women, bleeding is another main cause of iron deficiency which can be caused by heavy periods (menorrhagia). Internal blood loss due to conditions such as hemorrhoids and nonmalignant colon polyps or as serious as bleeding ulcers or colon cancer also cause this. Intestinal diseases or surgical procedures affecting the stomach or intestines may also lim ...

Friday, November 22, 2019

Business Environment of Reed Elsevier

Business Environment of Reed Elsevier The following report details the findings of our research carried out on the business environment of Reed Elsevier PLC. We have incorporated strategy analysis tools such as SWOT, Porters 5 Forces Framework and Financial Analysis to aid us in analyzing all the relevant internal and external factors that play important roles in shaping Reed Elsevier’s business environment. 1.1 Introduction Reed Elsevier is a leading provider of professional research information to organizations around the world. It publishes journals, books and databases and manages exhibitions and events. Its well-known titles such as New Scientist and The Lancet – appear both in print and online. Reed Elsevier has a worldwide customer base working in many fields, including science, research and the law, as well as in public and academic libraries and commercial organizations. This includes around 11 million scientists who access information direct from Reed Elsevier’s ScienceDirect database, whi ch is the world’s largest online library of full-text research papers. Reed Elsevier was formed in 1993 when the businesses of the British Publisher Reed International and the Dutch publisher Elsevier NV merged. The company now operates in more than 200 locations worldwide with annual revenues for 2010 being  £6 billon. To enable the business to focus on specific customer needs, the company has five divisions. They are Elsevier, LexisNexis Risk Solutions, LexisNexis Legal & Professional, Reed Exhibitions and Reed Business Information. 1.1.1 Elsevier Elsevier is the world’s leading provider of scientific and medical information and serves scientists, health professionals and students worldwide. It annually produces over 200,000 new research articles in over 1,100 journals every year, with ScienceDirect, its flagship electronic solution accessed by over 11 million users. Elsevier’s contribution to the total revenue of Reed Elsevier for the year 2010 amounts to 3 4% while it is accountable for 46% of the group’s total operating profit as shown in the pie charts below. 1.1.2 LexisNexis Risk Solutions LexisNexis Risk Solutions provides data and analytics to enable its customers to evaluate and manage risks associated with transactions and improve performance. It is also a leading provider of work flow solutions that combine proprietary, public and third party information, analytics and advanced technology. These solutions assist customers in evaluation, predicting and managing risk and improving operational effectiveness, predominantly in the US. Its contribution to total revenue is 15% while it accounts for 23% of the groups operating profit during the last financial year. 1.1.3 LexisNexis Legal & Professional This division is charged with providing content and information solutions for the legal and other corporate markets with a customer base in over 100 countries. LexisNexis Legal & Professional provides resources and services that inform decisions and increase productivity within organizations. For the year ended 31 December 2010, this division contributed 28% towards the group’s revenue while its contribution towards operating profit was 15%. 1.1.4 Reed Exhibitions Reed exhibitions contributed 11% and 10% towards group revenue and operating profit respectively during the year 2010 and was responsible for the staging of over 460 events in 36 countries which brought together over seven million active participants worldwide in 2010. 1.1.5 Reed Business Information Reed Business Information provides business information, online data and marketing solutions. Through industry critical data services, lead generation tools, over 200 community and job sites and more than 200 premier business magazines, Reed Business Information provides valued information to professionals and an effective channel for advertisers. It was responsible for 12% of group revenue in 2010 and 6% of the groups operating profit.

Wednesday, November 20, 2019

Customer Satisfaction Measurement Essay Example | Topics and Well Written Essays - 1000 words

Customer Satisfaction Measurement - Essay Example Net Promoter measures the loyalty of the customer while the J.D power and Associates measure the customer service. Net promoter is useful because it is a practical method. It has several advantages such as its simplicity (The Net Promoter). It applies the use of questioning through taking up a survey. It uses the Net Promoter Score to determine the business line and even the customer service. It is easy to use unlike other complicated indexes. The company may choose to use a phone, email, or web to conduct its surveys. The Net Promoter has a quick follow-up. This index gives the feedback of customers on time whenever it is assigned to investigate on them. Its work is to contact the company manager and give updates concerning his customers. The Net Promoter is a growing body with a lot of experiences; this implies that it has a lot of experiences. It has worked for several companies (The Net Promoter). It has the ability adaptability hence flexible to any change that can occur at any given time. J.D Associates is popular for its consumer surveys. It is best for conducting automotive surveys in most industries. This index ensures that the customers’ satisfaction is under achievement level (J. D. Power). Its main emphasis is on the effective handling service to customers. It takes into account five measures to determine the overall satisfaction of the customer. It ensures that customers have the required repair and maintenance for their vehicles hence keeping them satisfied with their service. The results shown by the two indexes help the company to identify the customer satisfaction, point the unhappy customers, and get the advocates with full potential. Customer satisfaction survey provides the ratings of customers that can have a powerful effect to the company development. These effects aid the employees to gain focus in their work as a result, they push towards satisfying the customers’ expectations (The Net Promoter). They give warnings about

Tuesday, November 19, 2019

FREQUENCY DISTRIBUTIONS Assignment Example | Topics and Well Written Essays - 750 words

FREQUENCY DISTRIBUTIONS - Assignment Example The average minutes that I use in physical fitness training, every day, is equal to 50.8. The figure is from data collected for duration of 10 days. The list number of minutes spent on physical fitness training is 38 minutes and the highest number of minutes is 60. The standard deviation is the square root of the variance. The standard deviation of the above data is 9.33 meaning that, on average, every value of the collected data is far from the mean by 9.33 units. Data falling within the range include 60,60,38,38,58,58,58,41,41,56, meaning that 100 percent of the sample is within the range. For normally distributed data, only 5 percent of the value should fall outside the above range. Therefore, the above data is normally distributed. Additionally, the data does not have any outlets, which reflects the fact that it is normally distributed. A curve for a normally distributed data is bell shaped and symmetric, meaning that the data has an equal spread on both sides of the curve (William, 2003). The data is also continuous on both sides of the bell shape. Comparing normally distributed data and non-normal data, the estimates from normal data are more accurate compared to estimates from data that is not normally distributed (Bryc, 2013). When defining normally distributed data, one must specify two quantities, including the mean ( µ) and the standard deviation (ÏÆ').which reflects the spread of the curve. Different values of the mean and standard deviation yield different normal curves thus different normal distributions. Besides the 95 percent test, 99.7 percent test is also applicable while determining if data is normally distributed. 99.7 percent of all the values should fall within three standard deviations from the mean. In other words, they should fall between  µ-3ÏÆ' and  µ+3ÏÆ' (Berman, 2013). More than 99.7% of the data fall within the range reflecting the fact that the data has a normal distribution. One of it implications

Saturday, November 16, 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.

Thursday, November 14, 2019

Richard Rodriguezs Hunger of Memory Essay -- Hunger Memory Rodriguez

Richard Rodriguez's Hunger of Memory The universal "growing pains" that all children experience in one form or another are easily recognized in Richard Rodriguez’s autobiographical excerpt from Hunger of Memory. Rodriguez’s childhood was particularly unique given the fact that while he was born and raised in the United States, he was strongly influenced in the ethnic environment of a Spanish family. Although the reader is introduced to only a short excerpt from the autobiography, he learns a great deal about Rodriguez’s family and his relationship to it, his conflict of speaking English versus Spanish, and the paradox that became evident as he used English as his primary language. Furthermore, the reader learns that Rodriguez’s experiences have contributed to his beliefs that a bilingual education is harmful. First of all, Richard Rodriguez came from a family where his parents had been born and raised in Mexico. After moving and settling in America, Rodriguez’s parents gave birth to him and his siblings. Rodriguez refers many times to "los gringos" , a colloquial, derogatory name charged with "bitterness and distrust" with which his father described English speaking Americans. This evidence made it apparent to the reader that definite animosity existed between his parents and the society around them. Resultingly, assimilation into the American culture was not a very comfortable process for his parents. Despite this, the authors parents created a comfortable haven for him and his siblings in their adopted country. The author shares with the reader how close and tightly-knit his family was. He describes in numerous instances the "special feeling of closeness" that he shared with his family. He also mentions the fact that he used to feel a "desperate, urgent, intense" feeling of wanting to be home. Spending time at home, speaking his "personal" language of Spanish, and being with his family gave Rodriguez comfort and a feeling of safety that was not felt outside of his home. Rodriguez was forced to leave that comfort and safety every morning though once he began attending school. The author describes hearing the cold, harsh sounds of the English language and wishing that... ...ory and viewpoints, allowing the reader to make his or her own personal judgment regarding the issue. Rodriguez explains that "While one suffers a diminished sense of private individualism by becoming assimilated into public society, such assimilation makes possible the achievement of public individualism" (39). Finally, it was the contrast between the home and the school settings that gave the reader a very clear understanding of the author’s life experience. Through the technique of flashback, the author describes how the dichotomy that existed between his home identity and his social identity shaped the "public" individual that he had become. While the reader is subjected to only a short excerpt from Richard Rodriguez’s autobiography, he recognizes, specifically, that it was this inner core of the family setting that Rodriguez struggled with the trial of growing up as an American citizen. Without this family setting, he would not have confronted the same obstacles that influenced who he became; without the school setting he would never have grown beyond the sheltered life from which he came. Richard Rodriguez's Hunger of Memory Essay -- Hunger Memory Rodriguez Richard Rodriguez's Hunger of Memory The universal "growing pains" that all children experience in one form or another are easily recognized in Richard Rodriguez’s autobiographical excerpt from Hunger of Memory. Rodriguez’s childhood was particularly unique given the fact that while he was born and raised in the United States, he was strongly influenced in the ethnic environment of a Spanish family. Although the reader is introduced to only a short excerpt from the autobiography, he learns a great deal about Rodriguez’s family and his relationship to it, his conflict of speaking English versus Spanish, and the paradox that became evident as he used English as his primary language. Furthermore, the reader learns that Rodriguez’s experiences have contributed to his beliefs that a bilingual education is harmful. First of all, Richard Rodriguez came from a family where his parents had been born and raised in Mexico. After moving and settling in America, Rodriguez’s parents gave birth to him and his siblings. Rodriguez refers many times to "los gringos" , a colloquial, derogatory name charged with "bitterness and distrust" with which his father described English speaking Americans. This evidence made it apparent to the reader that definite animosity existed between his parents and the society around them. Resultingly, assimilation into the American culture was not a very comfortable process for his parents. Despite this, the authors parents created a comfortable haven for him and his siblings in their adopted country. The author shares with the reader how close and tightly-knit his family was. He describes in numerous instances the "special feeling of closeness" that he shared with his family. He also mentions the fact that he used to feel a "desperate, urgent, intense" feeling of wanting to be home. Spending time at home, speaking his "personal" language of Spanish, and being with his family gave Rodriguez comfort and a feeling of safety that was not felt outside of his home. Rodriguez was forced to leave that comfort and safety every morning though once he began attending school. The author describes hearing the cold, harsh sounds of the English language and wishing that... ...ory and viewpoints, allowing the reader to make his or her own personal judgment regarding the issue. Rodriguez explains that "While one suffers a diminished sense of private individualism by becoming assimilated into public society, such assimilation makes possible the achievement of public individualism" (39). Finally, it was the contrast between the home and the school settings that gave the reader a very clear understanding of the author’s life experience. Through the technique of flashback, the author describes how the dichotomy that existed between his home identity and his social identity shaped the "public" individual that he had become. While the reader is subjected to only a short excerpt from Richard Rodriguez’s autobiography, he recognizes, specifically, that it was this inner core of the family setting that Rodriguez struggled with the trial of growing up as an American citizen. Without this family setting, he would not have confronted the same obstacles that influenced who he became; without the school setting he would never have grown beyond the sheltered life from which he came.