Entries by Student

write my assignment 31009

// This function saves the personnel datapublic static bool SavePersonnel(string Database, string FirstName, string LastName,string PayRate, string StartDate, string EndDate){bool recordSaved;try {// Add your comments hereOleDbConnection conn = new OleDbConnection(“PROVIDER=Microsoft.ACE.OLEDB.12.0;” +”Data Source=” + Database);conn.Open();OleDbCommand command = conn.CreateCommand();string strSQL;// Add your comments herestrSQL = “Insert into tblPersonnel ” +”(FirstName, LastName, PayRate, StartDate, EndDate) values (‘” +FirstName + “‘, ‘” + LastName + “‘, ” + PayRate + “, ‘” + StartDate + “‘, ‘” + EndDate + “‘)”;// Add your comments herecommand.CommandType = CommandType.Text;command.CommandText = strSQL;// Add your comments herecommand.ExecuteNonQuery();// Add your comments hereconn.Close();recordSaved = true;} catch (Exception ex) {recordSaved = false;}}

4. In the frmPersonnelVerified form, go to the Page_Load() event and add the following code after the existing code (but still in the Page_Load event handler):

// Add your comments hereif (clsDataLayer.SavePersonnel(Server.MapPath(“PayrollSystem_DB.accdb”), Session[“txtFirstName”].ToString(), Session [“txtLastName”].ToString(),Session [“txtPayRate”].ToString(),Session [“txtStartDate”].ToString(),Session [“txtEndDate”].ToString())) {txtVerifiedInfo.Text = txtVerifiedInfo.Text + “nThe information was successfully saved!”;}else{txtVerifiedInfo.Text = txtVerifiedInfo.Text +”nThe information was NOT saved.”; }

5. Add comments for all code containing // Add your comments here.

6. Test your work to make sure that no errors occur! (Make sure to put in valid date values for the date data entry fields).

Listen

STEP 2: Data Display and Search

7. Using the skills that you learned in Week 3, create a new DataSet for the tblPersonnel table (call the DataSet dsPersonnel).

8. Using the skills that you learned in Week 3, create a new function called GetPersonnel in the clsDataLayer class. This function should retrieve all data from the tblPersonnel table and return it in the form of a dsPersonnel DataSet. Use the GetUserActivity function as an example.

9. Create a new Web form called frmViewPersonnel.

10. Using the skills that you learned in Week 3, add a GridView control (called grdViewPersonnel) to the form. This GridView control will be used to display data from the tblPersonnel table. Add the ACIT logo at the top of the page and make sure it links back to frmMain.

11. Add the following code to the Page_Load() function in frmViewPersonnel.

if (!Page.IsPostBack){//Declare the DatasetdsPersonnel myDataSet = new dsPersonnel();//Fill the dataset with shat is returned from the method.myDataSet = clsDataLayer.GetPersonnel(Server.MapPath(“PayrollSystem_DB.accdb”));//Set the DataGrid to the DataSource based on the tablegrdViewPersonnel.DataSource = myDataSet.Tables[“tblPersonnel”];//Bind the DataGridgrdViewPersonnel.DataBind();}

12. Return to the frmPersonnel Web form and add a button ((ID) = btnViewPersonnel, Text = View Personnel) which, when clicked, will display form frmViewPersonnel.

13. Open the frmPersonnelVerified form and add a button ((ID) = btnViewPersonnel, Text = View Personnel) which, when clicked, will display form frmViewPersonnel. NOTE: This is the same button with the same functionality that you added to form frmPersonnel in the previous step. Also, add a new link and linked image to frmMain called View Personnel that will go to the new frmViewPersonnel page you created.

Let’s test the View Personnel page. Start your program in Internet Explorer. Click on Add New Employee and add yourself to the database and press Submit. Once you are on the personnel verified form, click the View Personnel button. You should see the data that you just entered.

14. You will now add a Search feature to allow the user to find and display data. The user will enter a last name and the Web application will display the grid of employees with all employees that match that last name.

15. Create a new Web form called frmSearchPersonnel. Add the hyperlinked ACIT logo to this page. Also, add a new item on frmMain (with a Link button and Image button) called Search Personnel.

16. On the frmSearchPersonnel form, add a label that displays “Search for employee by last name:”. Next to the label, add a text box with an ID of txtSearch. Add a button with an ID of btnSearch and set the text of the button to “Search“.

17. When the frmSearchPersonnel Search button is pressed, the frmViewPersonnel is displayed. At this point, no searching is actually happening, but you have the forms that you need and the navigation is working. Now you can focus on the coding that you will need to do to have the grid only display matching employees.

18. Before calling the GetPersonnel method that you added previously in the lab, you will need to get the value that is in the Request[“txtSearch”] item. When the form posts the search page results to the frmViewPersonnel, the name value pair for the search value is passed as part of the Request object. This value will need to be assigned to a string variable. To do this task, add the following line of code in the code block below to the Page_Load function in frmViewPersonnel after the line: dsPersonnel myDataSet = new dsPersonnel();

string strSearch = Request[“txtSearch”];

Then, modify the call of the GetPersonnel function one line below to add the strSearch as one of the arguments:

myDataSet = clsDataLayer.GetPersonnel(Server.MapPath(“PayrollSystem_DB.accdb”), strSearch);

19. Modify the GetPersonnel method that you added in the clsDataLayer.cs class to include a new parameter called strSearch of type string. Add string strSearch as an argument to the function as below:

public static dsPersonnel GetPersonnel(string Database, string strSearch)

Then modify the sqlDA select statement within the GetPersonnel function to test if a value is entered for a search parameter.

if (strSearch == null || strSearch.Trim()==””){sqlDA = new OleDbDataAdapter(“select * from tblPersonnel”, sqlConn);}else{sqlDA = new OleDbDataAdapter(“select * from tblPersonnel where LastName = ‘” + strSearch + “‘”, sqlConn);}

20. Test the search so that when you enter a last name, employees with that last name are returned. Make sure that when you access frmViewPersonnel and you are not searching, all employees are returned.

Listen

STEP 3: Test and Submit

Run your project and test it as follows:

The frmMain form should be displayed first.

Click on the Add New Employee hyperlink to go to the frmPersonnel data entry form. Click the View Personnel button on this form. The frmViewPersonnel form should be displayed in the browser, but at this point, there should not be very many personnel listed.

Use the Back button in your Web browser to return to the frmPersonnel form and enter some personnel data for a few employees, similar to the following:

Now, click the Submit button. The frmPersonnelVerified form should be displayed, showing the data you entered, and you should get a message saying that the data were successfully saved, like this example.

You should be able to view the employee records by clicking the View Personnel link on the home page.

Test the Search feature and make sure that entering no search string returns all of the data and that typing in a last name will return all employees with the same last name.

NOTE: Make sure that you include comments in the code provided where specified (where the ” // Your comments here” line appears) and for any code that you write, or else a 5-point deduction per item (form, class, function) will be made.

 

"Not answered?"


Get the Answer

write my assignment 31182

I need some assistance with these assignment. financial crisis in the year 2008 Thank you in advance for the help! of the of the Roll: Three essays Essay Introduction The graph given in the figure shows the rise and fall of unionized workers from 1930 to the period of 2003. As is seen from the graph there was a gradual increase in the number of unionized workers in between 1930 and 1948 and a gradual decrease of unionized workers after the period. The following essay explores the probable reasons behind the same.

Discussion

As seen from the above diagram there has been a rise and fall in the union membership in between 1930 and 2003. In capital moves Cowie argues that system is not regionally segmented as production is shifted by the corporations from first world to third world countries. In his book a bold thesis is presented by Cowie in order to challenge the orthodoxy theory of the theorists of globalization. The author does this by dealing with the theory of globalization. The author does this by taking the example of Radio Corporation of America (Cowie 150). The author points to the fact that RCA shifted its locations to four different areas over the course of its history. He first takes to Camden, New Jersey which is the site of the largest factory complex in the whole world. Workers of RCA in Camden appeared to be uncomplaining and malleable. They were willing to work for long hours on production lines and received wages that were far below the normal level applicable for the male counterparts. It was believed by RCA that the division of labor on the basis of gender would result in the company having a greater control over its workforce. It was during the 1930s however, that Camden was turned into a major battle ground for the unionization of the electronics industry. In response to the strikes RCA moved its operations from Camden to Bloomington (Romero 175). The same argument can be used to argue for the reason behind the dramatic changes in the number of unionized workers over the period from 1930 to 2003. During the early period of the 1930s and 1940s most of the American companies set up their manufacturing hubs in different parts America. Initially the corporations paid less salary to the members and extracted greater output from them. However, with the formation of unions, the workers started demanding more wages and this resulted in the fact that the manufacturing bases were often shifted from one place to another. However, with the rise of pressure from the workers unions the management started getting cornered and were forced to comply with the demands of the workforce. However, with the start of globalization the companies realized that they could get the same level of output as they were presently getting if they shifted the manufacturing bases to countries like India and China. As the companies started to shift their manufacturing bases to third world countries the number of workers in America got reduced and this resulted in the fall of unionized workers in the USA.

Conclusion

The above essay tries to provide an explanation behind the rise and fall of the number of unionized workers in America over the period from 1930 to 2002. The probable explanation is the shift of the manufacturing bases to third world countries.

Essay: 2

Introduction

Two promising economists of the great depression era were John Maynard Keynes and Fredrick August Hayek. However, the views of these two economists sharply contrasted each other. In the wake of great depression these two economists argued with each other regarding the probable course of action to be taken. The following essay presents the differences in between the ideas of these two prominent economists.

Discussion

The revolutionary proposition by Keynes was that after a big shock like the collapse of investment there were no forces in the market for automatic recovery (NANCY). According to Keynes in this situation the economy would go on sinking until some sort of stability at lower level was reached. This lower level was referred by Keynes as underemployment equilibrium. The reason that was cited by Keynes for such a behavior of the economy was that the level of employment and output in an economy or in other words the level of activity in an economy was dependent upon the level of spending power or aggregate demand in the economy. Thus a shrink in the spending power would lead to a shrink in the output. In such a situation the job of the government was to increase its own spending so as to offset the decline the spending by the public. According to Keynes the wrong policy in a slump was to cut the spending of the government (BBC). As opposed to the belief of Keynes, Hayek had the belief that in order to recover from a boom crash the solution was not just adequate spending but also a return to the sustainable production at the same time. The production that had been purged by distortions in the boom era due to the availability of easy money needed to return to level of sustainable levels so as to recover financially. The theory of Hayek was dismissed as many held the belief that he tried to liquidate labor, stocks and the farmers. However, it seems that the Hayek was right due to the fact that after there has been unsustainable boom period it is really required to liquidate the thinks so that the distortions can be removed. For instance after the financial crisis of 2008 the recipe for straight forward revival would be to liquidate all the assets which led to the subprime bubble due to the easy monetary policy. In short Keynes gave a recovery that seems painless for the economy by giving the economy extra money. However, the believers of Hayek’s theory understand that there is no painless recovery option that is available for recovering from an unsustainable boom. The only way an economy can recover from such a period is to try and avoid the boom itself.

Conclusion

In light of the great depression the two economists Keynes and Hayek held different views and options that could be used by the economy to recover from the recession. The views of the two economists differ substantially and offer different explanations to the cause of the economic crisis.

Essay: 3

Introduction

The world suffered from the global financial crisis in the year 2008. The crisis which started in the subprime mortgage crisis in 2008 dragged different nations across the globe in the crisis and soon the crisis turned into global financial crisis. The following pages give a brief history of the crisis and provide a brief understanding of the change in economic policy since great depression.

Discussion

After the World War II, the architects of the post war economic order operated in the context of post war economic power and shadow which was emerging from the cold war period. At the same time economists of this era were eager to draw lessons from the past. They were sure that capitalism if unchecked will lead top ruins. Then after a period of 30 years the high cost of deflation which was responsible for burying the demons of inflation which seemed untamable at first had now created a new demon. The new challenge for the policy makers was that the policy makers needed to be extra vigilant for any hint of inflationary pressure. The economic policies that were undertaken in the subsequent years can be understood in the light of this policy and these early episodes or turning points. In the mid 1990s US embraced financial globalization as the touch stone for the grand strategy in the post cold war period. In those periods it was common to talk about the decline of the US economy. However, the unexpected collapse of the Soviet Union and the stool of the Japan as an economic super power brought American economy to the centre stage in the world order of business (Kirshner). The financial crisis of the year 2008 had multiple reasons behind its occurrence. The most important are perhaps the financers themselves. The financers claimed that they had found a way to banish the risks although in reality they had actually lost the track of the same. The central bankers and the regulators tolerated and let these things continue under their very noses for years. The macroeconomic environment too played an important role in the build up to the crisis (The economist). The great moderation which was characterized by years of low inflation and stable rate of growth had fuelled risk taking desires in individuals. People became complacent and this increased their risk taking ability and desires. The glut in savings in the Asia turned interest rates down. Even European banks which greedily borrowed from the American banks before the financial crisis used the funds so as to purchase dodgy securities.

Conclusion

The above essay finds that there were several factors that led to the financial crisis in the year 2008. Some of the reasons behind the crisis were related to the economic policies pursued over the years. The long periods of moderation and the extra funds in Asian countries led ultimately to the crisis.

Works cited

BBC. Keynes v Hayek: Two economic giants go head to head. 3 Aug. 2011. Web. 04 Dec. 2015. &lt. http:// &gt. Cowie, Jefferson. “Capital moves: RCA’s 70-year quest for cheap labor.” (1999). NY: Cornell University Press. Print.

Kirshner, Jonathan. The Global Financial Crisis: a turning point. 08 Nov. 2014. Web. 04 Dec. 2015. &lt. http:// &gt..

NANCY KOEHN. The tale of the dueling economists. 22 Oct. 2011. Web. 04 Dec. 2015. &lt. http:// &gt..

Romero, Federico. “Capital Moves: RCAs Seventy-Year Quest for Cheap Labor. By Jefferson Cowie.(Ithaca: Cornell University Press, 1999. xii, 273 pp. $29.95, ISBN 0-8014-3525-0.).”&nbsp.The Journal of American History&nbsp.87.1 (2000): 316-317. Print

The economist. The origins of the financial crisis. 7 Sept. 2013. Web. 04 Dec. 2015. &lt. http:// &gt..

 

"Not answered?"


Get the Answer

write my assignment 2737

Question 1 (0.5 points)

About ___% of couples are involuntariliy childless due to fertility issues

Question 1 options:

10

15

20

25

Question 2 (0.5 points)

Saved

Two of the most common childbirth methods selected by parents in the United 

States are the:

Question 2 options:

Bradley

Lamaze

Braxton Hicks

A and B

A and C

Question 3 (0.5 points)

Marital satisfaction often decreases after the birth of a child.

Question 3 options:

TrueFalse

Question 4 (0.5 points)

Saved

The typical newborn baby sleeps about ____ hours a day.

Question 4 options:

14

16

18

20

 

"Not answered?"


Get the Answer

write my assignment 26291

Case Study – Cami Machado and Listo Systems’ Digital Information Services Team A recent incident involving hacking and data theft prompted the implementation of a new data security system at Listo Systems. A “black box” system will be installed on every PC in the company and will not only affect the way data moves but also who has access to sensitive files. Nearly everyone at Listo Systems will be doing things very differently once the black boxes are in place. Cami Machado has worked with Listo Systems for eight years. She is involved in a variety of projects related to “traffic” – the receipt and delivery of clients’ jobs. Her work also involves the training and support of the technical staff at Listo Systems. Cami has expressed interest in spearheading the implementation of the new “black box” data security system. Because she has effectively managed traffic flow at Listo for years, she is excited about the opportunity to move into this critical and visible new position. Her responsibilities would be similar to those that she has had in the past, but the implementation of this new system will dramatically affect nearly every aspect of Listo’s service. The technology is different from what she has used in the past, and the project’s scope is much larger. Cami has an excellent track record of implementing new hardware and software. She is looking forward to leading this project and the new business opportunities it will help create. However, with this radical change in traffic flow, Cami will have to deal with challenges arising from “people issues.” Many technical staff members think that this change is unnecessary. Staff artists worry that it will hinder the creative process. Cami feels confident that she knows how to handle the scheduling and transition aspects of the new security system, but is worried about dealing with employees resisting the change. She is also concerned about losing key creative staff to other agencies where they won’t have to put up with all this “black box technology.”As we look at effective influence, we find that people have different needs depending on the “task at hand” – leadership should be task-specific. Additionally, effective leadership depends on a number of other influence variables ranging anywhere from identifying desired outcomes to considering the needs of the follower. 1. What is the task at hand?

 

"Not answered?"


Get the Answer