public void GetMmeber()
{
string SQL_GetMember = "SELECT MemberId,Member,Description FROM PM_Member";
DataSet ds_GetMember = DBhelper.Query(SQL_GetMember);
string json = "";
json = "[";
for (int i = 0; i < ds_GetMember.Tables[0].Rows.Count; i++)
{
json += "{MEMBERID:'" + ds_GetMember.Tables[0].Rows[i]["MEMBERID"].ToString() + "',MEMBER:'" + ds_GetMember.Tables[0].Rows[i]["MEMBER"].ToString() + "',DESCRIPTION:'" + ds_GetMember.Tables[0].Rows[i]["DESCRIPTION"].ToString() + "'}";
if (i != ds_GetMember.Tables[0].Rows.Count -1)
{
json += ",";
}
}
json += "]";
//string json = Transform2JSON.ToJSONString(ds_GetMember.Tables[0],ds_GetMember.Tables[0].Rows.Count);
//string json = Transform2JSON.OSToJSONString(ds_GetMember.Tables[0]);
Response.Write(json);
Response.End();
}