1. Add this script to header <script src="http://dotnetticks-abdul.in/Contents/datetimepicker.js" type="text/javascript"></script> 2. Date and Time Picker use…
Get user details by email id in dotnetnuke UserInfo _user = DotNetNuke.Entities.Users.UserController.GetUserByName(this.PortalId, txtEmail.Text.Trim()); In…
1. Get SMTP details of DotNetNuke public string SmtpDetail(){string userName = DotNetNuke.Entities.Host.Host.SMTPUsername + "#" +DotNetNuke.Entities.Host.Host.SMTPPassword…
1. Query to concatenate two column SELECT (CAST(Name1 AS varchar(50))+' '+CAST(Name2 AS varchar(50))) AS AliasName FROM Table Ex: SELECT (CAST(FirstName AS varchar(50))+' '+CAST(LastName AS varchar(50))) AS Name FROM Table…
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;