简体   繁体   English

将文件从android发送到MS SQL Server 2008

[英]Sending files from android to the MS SQL Server 2008

I want to send files (.csv) from android to the MS SQL Server 2008 . 我想将文件(.csv)从android发送到MS SQL Server 2008。 Shoud I use HTTPClient ? 我应该使用HTTPClient吗?

How can I do that? 我怎样才能做到这一点?

Assuming that you want to move data from client(android) to server(sql server) in some networked environment, then one way could be to: 假设您要在某些网络环境中将数据从客户端(android)移至服务器(sql server),那么一种方法可能是:

  1. Create a stored procedure that takes in the csv data 创建一个接受csv数据的存储过程
  2. Create a web service that takes in the csv data(this calls the sp) 创建一个接受csv数据的Web服务(这称为sp)
  3. From your android call that web service(this calls the web service) 从您的android调用该Web服务(这称为Web服务)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM