Function to generate random password in c#

Generate Random password according to your length.  public string RandomListOfStringCharecters(int length) { string temp = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0987654321!@#$%^&*()abcdefghijklmnopqrstuvwxyz"; Random rand = new Random(); string output = ""; int j = 0; for…

Payment through paypal in asp.net

1. For Test First register it and login before payment. https://developer.paypal.com/ 2. Initialize Item for payment //Query String of Item Detail to send item description to paypal private string GetItemDtetail() { string strPayPalUrlType ="https://www.sandbox.paypal.com/cgi-bin/webscr";// For Test string strPayPalUrlType ="https://www.sandbox.paypal.com/cgi-bin/webscr";// For Live string cmd = "_xclick"; string redirect = ""; redirect += strPayPalUrlType; redirect += "?cmd=" + cmd;