Your problem is not in your JavaScript code or in your jQuery API usage. Like others have pointed out it is in the server side. More specifically, JSON object keys have to be double quotes (and more generally JSON strings have to be double quoted).
As you are using C# and ASP.NET from the code you posted. You have alternatives depending on what framework you're using. In All cases, I suggest you use an object instead of building the JSON yourself.
var yourObj = new {name=name,svg1=dt.Rows[0]["svg1"].ToString(),svg2=dt.Rows[0]["svg2"].ToString()}
Now you have a C# object representing your data.
If you're using something like ASP.NET MVC:
return Json(yourObj,JsonBehavior.AllowGet);
If you're using WebAPI you can just do
return yourObj; // will figure out JSON conversion itself
If you're using anything else, or whatever you're using does not support JSON responses itself. You need to get the Newtonsoft.JSON
package from NuGet and return:
return JsonConvert.SerializeObject(yourObj);
Which will convert your object to a string validly.