• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号
您的位置:首页 > 程序设计 >ASP.NET > .NET微信公众号 用户分组管理

.NET微信公众号 用户分组管理

作者:天风隼 字体:[增加 减小] 来源:互联网 时间:2017-05-11

天风隼通过本文主要向大家介绍了.net微信公众号开发,.net 微信公众号,微信公众号用户分组,微信公众号用户分析,微信公众号用户数等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com

本文实例为大家分享了.NET微信用户分组管理代码,供大家参考,具体内容如下

Model层实体类:

 public class UserList
  {
    public string total { get; set; }
    public string count { get; set; }
    public userlistopenid data { get; set; }
    public string next_openid { get; set; }
  }

</div>
  public class userlistopenid
  {
    public List<string> openid { get; set; }
  }
 
</div>
 public class WxGroupsInfo
  {
    public string Group_ID { get; set; }//分组编号
    public string Group_Name { get; set; }//分组名称
    public string Group_Count { get; set; }//分组人数
  }

</div>

WX.aspx内容:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WX.aspx.cs" Inherits="test.WX" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style type="text/css">
      .inputstyle {
        height: 35px;
        line-height: 35px;
        text-indent: 5px;
        width: 350px;
        background-image: url('images/inputbg.gif');
        background-repeat: repeat-x;
        border-top: solid 1px #a7b5bc;
        border-left: solid 1px #a7b5bc;
        border-right: solid 1px #ced9df;
        border-bottom: solid 1px #ced9df;
        margin: 15px auto 15px auto;
      }


      .g_title {
        width: 100%;
        border-bottom: 2px solid #ced9df;
        font-size: 20px;
        font-weight: bold;
        text-align: left;
        text-indent: 5px;
        height: 40px;
        line-height: 40px;
      }

      th {
        height: 35px;
        background-color: #31bb34;
        background-repeat: repeat-x;
      }

      tr { height: 30px; }

      #shownewgroup {
        width: 300px;
        height: 200px;
        background-color: white;
        z-index: 9999;
        border: 2px solid #DDD;
        top: 40%;
        left: 40%;
        background-color: #fff;
        position: fixed;
        margin: -100px auto auto -100px;
        display: none;
      }

      #shownewgroupzhezhaoceng {
        height: 200%;
        width: 200%;
        left: 0px;
        top: 0px;
        position: fixed;
        z-index: 9998;
        background: rgb(50, 50, 50);
        background: rgba(0, 0, 0, 0.5);
        display: none;
      }

      .closeLogin {
        height: 30px;
        border-bottom: 2px solid #31bb34;
        text-align: right;
        line-height: 30px;
        font-size: 14px;
        font-weight: bold;
      }

      a:hover { cursor: pointer; }

      .inputstyle22 {
        height: 35px;
        line-height: 35px;
        text-indent: 5px;
        width: 280px;
        background-image: url('images/inputbg.gif');
        background-repeat: repeat-x;
        border-top: solid 1px #a7b5bc;
        border-left: solid 1px #a7b5bc;
        border-right: solid 1px #ced9df;
        border-bottom: solid 1px #ced9df;
        float: left;
        margin: auto 5px auto 5px;
      }


    </style>

    <style type="text/css">

      .button {
        font: 15px Calibri, Arial, sans-serif; 
        text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);

        text-decoration: none !important;
        white-space: nowrap;

        display: inline-block;
        vertical-align: baseline;
        position: relative;
        cursor: pointer;
        padding: 4px 20px;

        background-repeat: no-repeat; 
        background-position: bottom left;
        background-image: url('button_bg.png');

        background-position: bottom left, top right, 0 0, 0 0;
        background-clip: border-box;

        -moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        border-radius: 8px;

        -moz-box-shadow: 0 0 1px #fff inset;
        -webkit-box-shadow: 0 0 1px #fff inset;
        box-shadow: 0 0 1px #fff inset;

        -webkit-transition: background-position 1s;
        -moz-transition: background-position 1s;
        transition: background-position 1s;
      }


      .blue.button {
        color: #0f4b6d !important;

        border: 1px solid #84acc3 !important;

        background-color: #48b5f2;

        background-image: url('button_bg.png'), url('button_bg.png'),
                 -moz-radial-gradient(center bottom, circle,
                            rgba(89, 208, 244, 1) 0, rgba(89, 208, 244, 0) 100px),
                 -moz-linear-gradient(#4fbbf7, #3faeeb);

        background-image: url('button_bg.png'), url('button_bg.png'),
                 -webkit-gradient(radial, 50% 100%, 0, 50% 100%, 100,
                          from(rgba(89, 208, 244, 1)), to(rgba(89, 208, 244, 0))),
                 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4fbbf7), to(#3faeeb));
      }

      .blue.button:hover {
        background-color: #63c7fe;

        background-image: url('button_bg.png'), url('button_bg.png'),
                 -moz-radial-gradient(center bottom, circle,
                            rgba(109, 217, 250, 1) 0, rgba(109, 217, 250, 0) 100px),
                 -moz-linear-gradient(#63c7fe, #58bef7);

        background-image: url('button_bg.png'), url('button_bg.png'),
                 -webkit-gradient(radial, 50% 100%, 0, 50% 100%, 100,
                          from(rgba(109, 217, 250, 1)), to(rgba(109, 217, 250, 0))),
                 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#63c7fe), to(#58bef7));
      }


    </style>
    <script src="js/jquery-1.11.2.min.js"></script>
    <script type="text/javascript">

      //修改分组名称调用的函数
      function EditRoster(PayNo, name) {

        //alert(PayNo+":"+name);
        var url = 'Edit.aspx?id=' + PayNo + "&name=" + name; //转向网页的地址; 
        var name = 'add'; //网页名称,可为空; 
        var iWidth = 600; //弹出窗口的宽度; 
        var iHeight = 300; //弹出窗口的高度; 
        //获得窗口的垂直位置 
        var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
        //获得窗口的水平位置 
        var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
        window.open(url, name, 'height=' + iHeight + ',innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no');
      }

      $(document).ready(function() {

        $(".newGroups").click(function() {
            $("#shownewgroupzhezhaoceng").show();
            $("#shownewgroup").show();
          }),
          $('.closeloginpage').click(function() {
            $("#shownewgroupzhezhaoceng").hide();
            $("#shownewgroup").hide();
          });
      });
    </script>
  </head>
  <body>
    <form id="form1" runat="server">
      <div class="g_title">分组管理</div>
      <div id="shownewgroup">
        <div class="closeLogin">
          <span style="float: left; color: #08a5e0; font-size: 18px; text-indent: 5px;">新建分组</span>
          <a class="closeloginpage button blue ">
            关闭
          </a>
        </div>
        <div style="font-size: 12px; height: 40px; color: red; line-height: 40px;">
          30字符以内

        </div>
        <input type="text" id="txtgroupsName" name="txtgroupsName" class="inputstyle22" maxlength="30" runat="server" value="分组名称" onfocus="if(value==defaultValue){value='';this.style.color='#000'}" onblur="if(



 
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 解析微信支付的实现方法(.NET版)
  • .NET微信公众号 用户分组管理
  • .NET微信公众号客服接口
  • .NET微信公众号查看关注者接口
  • .NET微信公众号 用户分组管理
  • .NET微信公众号客服接口
  • .NET微信公众号查看关注者接口
  • 微信公众平台开发之地理位置.Net代码解析
  • .NET微信公众号开发之公众号消息处理
  • .NET微信公众号开发之查询自定义菜单

相关文章

  • 2018-08-20.net core2.0下使用Identity改用dapper存储数据(实例讲解)
  • 2017-05-11ASP.NET MVC Bundles 用法和说明(打包javascript和css)
  • 2017-05-11asp.net 相关文章实现方法第1/2页
  • 2017-05-11asp.net使用DataGridTree实现下拉树的方法
  • 2017-05-11win7系统下 vs2010 调式就关闭要重启处理方法
  • 2017-05-11Equals和==的区别 公共变量和属性的区别小结
  • 2017-05-11asp.net ubb使用代码
  • 2017-05-11Asp.net MVC中获取控制器的名称的方法
  • 2017-05-11asp.net获取服务器基本信息的方法代码
  • 2017-05-11asp.net cookie清除的代码

文章分类

  • JavaScript
  • ASP.NET
  • PHP
  • 正则表达式
  • AJAX
  • JSP
  • ASP
  • Flex
  • XML
  • 编程技巧
  • Android
  • swift
  • C#教程
  • vb
  • vb.net
  • C语言
  • Java
  • Delphi
  • 易语言
  • vc/mfc
  • 嵌入式开发
  • 游戏开发
  • ios
  • 编程问答
  • 汇编语言
  • 微信小程序
  • 数据结构
  • OpenGL
  • 架构设计
  • qt
  • 微信公众号

最近更新的内容

    • C#处理Json的另外一种方式成功实践
    • ASP.NET MVC4入门教程(八):给数据模型添加校验器
    • 动态代理的5模式使用示例和Mixin模式
    • jQuery 插件autocomplete自动完成应用(自动补全)(asp.net后台)
    • asp.net 将一个图片以二进制值的形式存入Xml文件中的实例代码
    • asp.net页面与页面之间传参数值方法(post传值和get传值)
    • document.getElementsByName和document.getElementById 在IE与FF中不同实现
    • 在.NET中使用Newtonsoft.Json转换,读取,写入的方法介绍
    • DataGrid中实现超链接的3种方法
    • asp.net 验证字符串是否为纯数字检测函数

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有