• 大小: 0.13M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: C#
  • 标签: c#  

资源简介


C# 服务器开发,接收数据并保存,您上传的资源如果因版权、使用、内容完整度 等原因被举报并通过官方审核,将扣除通过该资源获得的全部积分

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;//用于连接sql数据库
using System.Windows.Forms.DataVisualization.Charting;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        private string constr = “server=59.110.214.86;database=MyAcc;Uid=sa;Pwd=123yuhuijie“;
        public Form1()
        {
            InitializeComponent();
        }

        private void tabPage1_Click(object sender EventArgs e)
        {

        }
   

        private void textBox1_TextChanged(object sender EventArgs e)
        {
           
        
        }
        /// 
        /// 等待客户端的连接,并且创建通信的socket
        /// 

        Socket socketSend;
 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-05-15 21:21  服务器端程序\
     目录           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\
     目录           0  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\
     文件         189  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\App.config
     文件       13252  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Form1.Designer.cs
     文件        8171  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs
     文件        5817  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Form1.resx
     文件         536  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs
     目录           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Properties\
     文件        1372  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Properties\AssemblyInfo.cs
     文件        2900  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.Designer.cs
     文件        5612  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.resx
     文件        1111  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.Designer.cs
     文件         249  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.settings
     文件        3969  2017-05-15 14:01  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\WindowsFormsApplication1.csproj
     目录           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\
     目录           0  2017-05-14 20:33  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\
     文件       17408  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
     文件         189  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
     文件       34304  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
     文件       24224  2017-05-15 21:20  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
     文件         189  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
     文件         490  2015-10-30 15:19  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
     目录           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\
     目录           0  2017-05-15 17:32  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\
     文件        1044  2017-05-15 14:01  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7506  2017-05-15 14:01  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2017-05-15 21:25  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TempPE\
     文件           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2017-05-14 20:30  服务器端程序\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
............此处省略10个文件信息

评论

共有 条评论