Click here to Skip to main content
15,914,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Error:A Generic Error occurred in GDI+ Pin
Udayaraju31-Dec-09 1:29
Udayaraju31-Dec-09 1:29 
QuestionSSRS Chart issue Pin
siddisagar28-Dec-09 22:57
siddisagar28-Dec-09 22:57 
Questionhelp regarding AJAX Auto complete feature like outlook and gmail Send to TextBox Pin
navrajyadav28-Dec-09 22:32
navrajyadav28-Dec-09 22:32 
QuestionHow to show pdf file in asp.net Pin
kaushik_dass28-Dec-09 22:27
kaushik_dass28-Dec-09 22:27 
AnswerRe: How to show pdf file in asp.net Pin
Abhishek Sur28-Dec-09 22:32
professionalAbhishek Sur28-Dec-09 22:32 
AnswerRe: How to show pdf file in asp.net Pin
sashidhar28-Dec-09 22:44
sashidhar28-Dec-09 22:44 
GeneralRe: How to show pdf file in asp.net Pin
Abhishek Sur29-Dec-09 3:00
professionalAbhishek Sur29-Dec-09 3:00 
GeneralRe: How to show pdf file in asp.net Pin
sashidhar29-Dec-09 17:09
sashidhar29-Dec-09 17:09 
QuestionSAML Pin
Jay Nathan128-Dec-09 21:49
Jay Nathan128-Dec-09 21:49 
Questionhow to handle postback event incloud computing Pin
krishnaveer28-Dec-09 20:49
krishnaveer28-Dec-09 20:49 
AnswerRe: how to handle postback event incloud computing Pin
Abhishek Sur28-Dec-09 21:42
professionalAbhishek Sur28-Dec-09 21:42 
AnswerRe: how to handle postback event incloud computing Pin
Addison Caffery31-Jan-10 20:03
Addison Caffery31-Jan-10 20:03 
GeneralRe: how to handle postback event incloud computing Pin
RyanJos4-Mar-10 20:04
RyanJos4-Mar-10 20:04 
QuestionCredit card processing (.cgi) Pin
Hemant Thaker28-Dec-09 20:29
Hemant Thaker28-Dec-09 20:29 
AnswerRe: Credit card processing (.cgi) Pin
satalaj29-Dec-09 1:17
satalaj29-Dec-09 1:17 
GeneralRe: Credit card processing (.cgi) Pin
Shivendra Pandey30-Dec-09 0:48
Shivendra Pandey30-Dec-09 0:48 
\\Create A Class
using System;
using System.Collections.Generic;
using System.Text;

namespace Shivam
{
public class RemotePost
{
private System.Collections.Specialized.NameValueCollection Inputs = new System.Collections.Specialized.NameValueCollection();


public string Url = "";
public string Method = "post";
public string FormName = "form1";

public void Add(string name, string value)
{
Inputs.Add(name, value);
}

public void Post()
{
System.Web.HttpContext.Current.Response.Clear();

System.Web.HttpContext.Current.Response.Write("<html><head>");

System.Web.HttpContext.Current.Response.Write(string.Format("</head><body onload=\"document.{0}.submit()\">", FormName));
System.Web.HttpContext.Current.Response.Write(string.Format("<form name=\"{0}\" method=\"{1}\" action=\"{2}\" >", FormName, Method, Url));
for (int i = 0; i < Inputs.Keys.Count; i++)
{
System.Web.HttpContext.Current.Response.Write(string.Format("<input name=\"{0}\" type=\"hidden\" value=\"{1}\">", Inputs.Keys[i], Inputs[Inputs.Keys[i]]));
}
System.Web.HttpContext.Current.Response.Write("</form>");
System.Web.HttpContext.Current.Response.Write("</body></html>");

System.Web.HttpContext.Current.Response.End();
}
}
}
//Class End


\\On Button Click Write Following Line of Code
\\Change Key Value as well as payment provider Based on ur field
RemotePost myremotepost = new RemotePost();
myremotepost.Url = "https://www.myvirtualmerchant.com/VirtualMerchant/process.do";
myremotepost.Add("ssl_amount",ssl_amount.Value);
myremotepost.Add("ssl_merchant_id",ssl_merchant_id.Value);
myremotepost.Add("ssl_pin",ssl_pin.Value);
myremotepost.Add("ssl_show_form",ssl_show_form.Value);
myremotepost.Add("ssl_transaction_type", ssl_transaction_type.Value);
myremotepost.Add("ssl_result_format", ssl_result_format.Value);
myremotepost.Add("ssl_receipt_decl_method", ssl_receipt_decl_method.Value);
myremotepost.Add("ssl_receipt_decl_get_url", ssl_receipt_decl_get_url.Value);
myremotepost.Add("ssl_receipt_apprvl_method", ssl_receipt_apprvl_method.Value);
myremotepost.Add("ssl_receipt_apprvl_get_url", ssl_receipt_apprvl_get_url.Value);
myremotepost.Post();
QuestionNeed SSRS format help Pin
siddisagar28-Dec-09 19:39
siddisagar28-Dec-09 19:39 
AnswerRe: Need SSRS format help Pin
Abhishek Sur28-Dec-09 20:24
professionalAbhishek Sur28-Dec-09 20:24 
GeneralRe: Need SSRS format help Pin
siddisagar28-Dec-09 21:31
siddisagar28-Dec-09 21:31 
GeneralRe: Need SSRS format help Pin
sashidhar28-Dec-09 22:39
sashidhar28-Dec-09 22:39 
QuestionInserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
Tufail Ahmad28-Dec-09 18:43
Tufail Ahmad28-Dec-09 18:43 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
vinodkrebc28-Dec-09 19:48
vinodkrebc28-Dec-09 19:48 
GeneralRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
Tufail Ahmad28-Dec-09 20:16
Tufail Ahmad28-Dec-09 20:16 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
nagendrathecoder28-Dec-09 20:27
nagendrathecoder28-Dec-09 20:27 
AnswerRe: Inserting Empty Row in Grid View in ASP Dot net + vb dot net Pin
Abhishek Sur28-Dec-09 20:52
professionalAbhishek Sur28-Dec-09 20:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.