16,015,108 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Gowtham B (Top 3 by date)
Gowtham B
13-Dec-14 8:55am
View
Hi am using same like alert box but the problem is am not getting error instead of it will take some more time and retrieved data properly. some times the small function also take more time and returned data
Gowtham B
13-Dec-14 8:44am
View
This is my webmethod function
[WebMethod]
public borrowercls[] load_borrower_list()
{
string query = string.Empty;
con.mycon();
List<borrowercls> lt_brlist = new List<borrowercls>();
query = "select bloan.borrower_id, bloan.bor_purpose, bloan.bor_amount, bloan.interest, bloan.loan_duration from borrower_required_loan_details bloan, borrower_pdetails bpdetails where bpdetails.profile_agreed='1' and bloan.borrower_id = bpdetails.borrower_id";
DataTable dt = dtdal.dt_return(query);
if (dt.Rows.Count > 0)
{
foreach (DataRow dr in dt.Rows)
{
borrowercls hlist = new borrowercls();
hlist.brid = dr["borrower_id"].ToString();
hlist.br_amount = dr["bor_amount"].ToString();
hlist.br_purpose = dr["bor_purpose"].ToString();
hlist.br_interest = dr["interest"].ToString();
hlist.br_duration = dr["loan_duration"].ToString();
hlist.error = "true";
lt_brlist.Add(hlist);
}
}
else
{
borrowercls hlist = new borrowercls();
hlist.error = "false";
lt_brlist.Add(hlist);
}
return lt_brlist.ToArray();
}
Gowtham B
19-Sep-13 2:17am
View
In my page load am getting some request query string value and assigned that to session like this
Session["fname"] = Request.Querystring["name"];
Session["lname"] = Request.Querystring["age"];
Session["email"] = Request.Querystring["email"];
and paypal payment code is
string redirecturl = "";
string amount = Session["dollarrate"].ToString();
// Mention URL to redirect content to paypal site
redirecturl += "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" + ConfigurationManager.AppSettings["paypalemail"].ToString();
// First name i assign static based on login details assign this value
redirecturl += "&first_name=name";
// City i assign static based on login user detail you change this value
redirecturl += "&city=city";
// State i assign static based on login user detail you change this value
redirecturl += "&state=city";
// Product Name
redirecturl += "&item_name=Property Verification Charge";
// Product Amount
redirecturl += "&amount=" + amount;
// Business contact id
redirecturl += "&business=email";
//Shipping charges if any
redirecturl += "&shipping=5";
// Handling charges if any
redirecturl += "&handling=5";
// Tax amount if any
redirecturl += "&tax=5";
// Add quatity i added one only statically
redirecturl += "&quantity=1";
//Currency code
redirecturl += "¤cy=USD";
//Success return page url
redirecturl += "&return=ConfigurationManager.AppSettings["SuccessURL"].ToString();
// Failed return page url
redirecturl += "&cancel_return=" + ConfigurationManager.AppSettings["FailedURL"].ToString();
Response.Redirect(redirecturl);
after click and payment is properly finished but the paypal page is redirected success page am not get the session value. it all is going to null. but this code is working properly in local server but not in online server...