using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using BLL;
using m = Model;
using System.Data;
using System.Data.SqlClient;
using System.Text;
namespace Web.Handler
{
/// <summary>
/// AddOppportunityHandler 的摘要说明
/// </summary>
public class AddOppportunityHandler : IHttpHandler
{
private HttpContext _httpContext;
public void ProcessRequest(HttpContext context)
{
int result = 1;
_httpContext = context;
context.Response.ContentType = "text/plain";
string jihuidianmingcheng = context.Request.Form["CrmOppportunity_Name"].ToString();
string quhao = context.Request.Form["quhao"].ToString();
string nianyue = context.Request.Form["nianyue"].ToString();
string fenxi = context.Request.Form["CrmOppportunity_Analysis"].ToString();
string duijiebumen = context.Request.Form["CrmOppportunity_PurchaseDp"].ToString();
string duijieren = context.Request.Form["CrmOppportunityConactPerson_Name"].ToString();
string zhiwei = context.Request.Form["CrmOppportunityConactPerson_Duty"].ToString();
string dianhua = context.Request.Form["CrmOppportunityConactPerson_Phone"].ToString();
string jine = context.Request.Form["CrmOppportunity_Amount"].ToString();
string qianyueshijian = context.Request.Form["CrmOppportunity_SignDate"].ToString();
string huoqushijian = context.Request.Form["CrmOppportunity_CreatedDateTime"].ToString();
string jinzhanwenti = context.Request.Form["CrmOppportunity_ProblemsAndDeve"].ToString();
Guid clientGuid = Guid.Parse(context.Request.Form["CrmClient_ID"].ToString());
HttpPostedFile upfile = _httpContext.Request.Files["fileppt"];//获取文件
相关文章
- 02-23使用Typora编写后的md文件优雅的上传到博客
- 02-23Xcode svn import项目 上传.a文件(静态库)
- 02-23WAF——针对Web应用发起的攻击,包括但不限于以下攻击类型:SQL注入、XSS跨站、Webshell上传、命令注入、非法HTTP协议请求、非授权文件访问等
- 02-23Qt ftp 文件上传工具开发
- 02-23Spring Boot设置上传文件大小
- 02-23原生JS上传大文件分享
- 02-23http支持上传文件夹
- 02-23[Go]GO语言实战项目-gin框架上传图片文件
- 02-23flink on yarn 用户代码获取keytab本地文件和principal的方法
- 02-23解决ajax异步上传文件的问题