62,272
社区成员
发帖
与我相关
我的任务
分享<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadFileWebForm.aspx.cs" Inherits="洽客测试连接.UploadFileWebForm" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<form method="post" enctype="multipart/form-data" id="form1" runat="server">
<input type="file" name="file"/>
<input type="submit" value="提交"/>
<br />
</form>
</body>
</html>
protected void Page_Load(object sender, EventArgs e)
{
string Link = LinkClass.linkQikar();
Link = "[" + Link + "]";
List<QikarClass> temp = DeserializeClass.Deserialize<List<QikarClass>>(Link);
this.form1.Action = "http://api.apitest.com/external/stock/fileUpload.json?appId=qkdfdf80de8edc&accessToken=" + temp[0].accessToken.ToString();
}