C#写的WebService,连接数据库后怎么返回JSON字符串?

C#写的WebService,连接数据库后怎么返回JSON字符串?

【求助】C#写的WebService,连接数据库后如何返回JSON字符串??
我现在的问题是,数据库能用WebService连接成功,而且能返回数据。但是,我想返回JSON形式的数据,我现在得到的返回形式是XML。
如下图所示:
C#写的WebService,连接数据库后怎么返回JSON字符串?
以上图片是我现在得到的返回形式。

C#写的WebService,连接数据库后怎么返回JSON字符串?
以上图片是我期望得到的返回形式。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Data;
using System.Data.SqlClient;

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消注释以下行。
[System.Web.Script.Services.ScriptService]

public class Service : System.Web.Services.WebService
{
    static String strCon = "Data Source=WZY-PC;Initial Catalog=DB_Haier;Integrated Security=True";
    public Service () {

        //如果使用设计的组件,请取消注释以下行
        //InitializeComponent(); 
    }

    [WebMethod(Description = "返回数据测试")]
    public DataSet TestReturn()
    {
        SqlConnection con = new SqlConnection();
        SqlCommand cmd = con.CreateCommand();
        cmd.CommandText = "select * from TB_Admin";
        SqlDataAdapter da = new SqlDataAdapter(cmd.CommandText,strCon);
        DataSet ds = new DataSet();
        da.Fill(ds);
        return ds;
    }

}

以上是我的代码。

求教大神我如何修改代码。如果有详细的教程,也可以发给我。网上有好多没用的教程。
------解决思路----------------------
搜索JsonAndDateTable,百度文庫中有代碼,稍改一下,就可以用了
WebMethod
public DataSet TestReturn()-->返回類型改為string

          return JsonAndDateTable.DateTableToJson(ds.Table[0]);

 Context.Response.Write(JsonAndDateTable.DateTableToJson(ds.Table[0]));
            Context.Response.Flush();