Home » Visual Studio

Using Google Translate in .net

Hi friends,

     I am working on translation from English to Telugu.I got the code This is my code:

        using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Text;
using System.Net;
using System.IO;

public partial class _Default : System.Web.UI.Page
    public class Language
        public const string AFRIKAANS = "af";
        public const string ALBANIAN = "sq";
        public const string AMHARIC = "am";
        public const string ARABIC = "ar";
        public const string ARMENIAN = "hy";
        public const string AZERBAIJANI = "az";
        public const string BASQUE = "eu";
        public const string BELARUSIAN = "be";
        public const string BENGALI = "bn";
        public const string BIHARI = "bh";
        public const string BULGARIAN = "bg";
        public const string BURMESE = "my";
        public const string CATALAN = "ca";
        public const string CHEROKEE = "chr";
        public const string CHINESE = "zh";
        public const string CHINESE_SIMPLIFIED = "zh-CN";
        public const string CHINESE_TRADITIONAL = "zh-TW";
        public const string CROATIAN = "hr";
        public const string CZECH = "cs";
        public const string DANISH = "da";
        public const string DHIVEHI = "dv";
        public const string DUTCH = "nl";
        public const string ENGLISH = "en";
        public const string ESPERANTO = "eo";
        public const string ESTONIAN = "et";
        public const string FILIPINO = "tl";
        public const string FINNISH = "fi";
        public const string FRENCH = "fr";
        public const string GALICIAN = "gl";
        public const string GEORGIAN = "ka";
        public const string GERMAN = "de";
        public const string GREEK = "el";
        public const string GUARANI = "gn";
        public const string GUJARATI = "gu";
        public const string HEBREW = "iw";
        public const string HINDI = "hi";
        public const string HUNGARIAN = "hu";
        public const string ICELANDIC = "is";
        public const string INDONESIAN = "id";
        public const string INUKTITUT = "iu";
        public const string ITALIAN = "it";
        public const string JAPANESE = "ja";
        public const string KANNADA = "kn";
        public const string KAZAKH = "kk";
        public const string KHMER = "km";
        public const string KOREAN = "ko";
        public const string KURDISH = "ku";
        public const string KYRGYZ = "ky";
        public const string LAOTHIAN = "lo";
        public const string LATVIAN = "lv";
        public const string LITHUANIAN = "lt";
        public const string MACEDONIAN = "mk";
        public const string MALAY = "ms";
        public const string MALAYALAM = "ml";
        public const string MALTESE = "mt";
        public const string MARATHI = "mr";
        public const string MONGOLIAN = "mn";
        public const string NEPALI = "ne";
        public const string NORWEGIAN = "no";
        public const string ORIYA = "or";
        public const string PASHTO = "ps";
        public const string PERSIAN = "fa";
        public const string POLISH = "pl";
        public const string PORTUGUESE = "pt-PT";
        public const string PUNJABI = "pa";
        public const string ROMANIAN = "ro";
        public const string RUSSIAN = "ru";
        public const string SANSKRIT = "sa";
        public const string SERBIAN = "sr";
        public const string SINDHI = "sd";
        public const string SINHALESE = "si";
        public const string SLOVAK = "sk";
        public const string SLOVENIAN = "sl";
        public const string SPANISH = "es";
        public const string SWAHILI = "sw";
        public const string SWEDISH = "sv";
        public const string TAJIK = "tg";
        public const string TAMIL = "ta";
        public const string TAGALOG = "tl";
        public const string TELUGU = "te";
        public const string THAI = "th";
        public const string TIBETAN = "bo";
        public const string TURKISH = "tr";
        public const string UKRAINIAN = "uk";
        public const string URDU = "ur";
        public const string UZBEK = "uz";
        public const string UIGHUR = "ug";
        public const string VIETNAMESE = "vi";
        public const string UNKNOWN = "";

    protected void Page_Load(object sender, EventArgs e)
        //string stringToTranslate = txtTranslate.Text;
        string stringToTranslate = "Where do you live?";
          Response.Write("<b>English:</b> " + stringToTranslate + "<br/><br/>");
        string translatedString =
        Translate(stringToTranslate, Language.ENGLISH, Language.TELUGU);
        translatedString = txtTranslated.Text;
         //Response.Write("<b>Telugu:</b> " + translatedString + "<br/><br/>");
     //   translatedString =
     //   Translate(stringToTranslate, Language.ENGLISH, Language.SPANISH);
     //   Response.Write("<b>Spanish:</b> " + translatedString + "<br/><br/>");
     //   translatedString =
     //   Translate(stringToTranslate, Language.ENGLISH, Language.CHINESE);
     //   Response.Write("<b>Chinese:</b> " + translatedString + "<br/><br/>");
     //  translatedString =
     //   Translate(stringToTranslate, Language.ENGLISH, Language.FRENCH);
     //   Response.Write("<b>French:</b> " + translatedString + "<br/><br/>");
     //translatedString =
     //   Translate(stringToTranslate, Language.ENGLISH, Language.JAPANESE);
       //Response.Write("<b>Japanese:</b> " + translatedString + "<br/><br/>");
  private string Translate(string stringToTranslate, string fromLanguage, string toLanguage)
            // make sure that the passed string is not empty or null
            if (!String.IsNullOrEmpty(stringToTranslate))
                // per Google's terms of use, we can only translate
                // a string of up to 5000 characters long
                if (stringToTranslate.Length <= 5000)
                    const int bufSizeMax = 65536;
                    const int bufSizeMin = 8192;

                        // by default format? is text.  
                        // so we don't need to send a format? key
                        string requestUri = "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=" + stringToTranslate + "&langpair=" + fromLanguage + "%7C" + toLanguage;

                        // execute the request and get the response stream
                        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(requestUri);
                        HttpWebResponse response = (HttpWebResponse)request.GetResponse();
                        Stream responseStream = response.GetResponseStream();

                        // get the length of the content returned by the request
                        int length = (int)response.ContentLength;
                        int bufSize = bufSizeMin;

                        if (length > bufSize)
                            bufSize = length > bufSizeMax ? bufSizeMax : length;

                        // allocate buffer and StringBuilder for reading response
                        byte[] buf = new byte[bufSize];
                        StringBuilder sb = new StringBuilder(bufSize);

                        // read the whole response
                        while ((length = responseStream.Read(buf, 0, buf.Length)) != 0)
                            sb.Append(Encoding.UTF8.GetString(buf, 0, length));

                        // the format of the response is like this
                        // {"responseData": {"translatedText":"¿Cómo estás?"},             "responseDetails": null, "responseStatus": 200}
                        // so now let's clean up the response by manipulating the string
                        string translatedText = sb.Remove(0, 36).ToString();
                        translatedText = translatedText.Substring(0,

                        return translatedText;

                        return "Cannot get the translation.  Please try again later.";
                    return "String to translate must be less than 5000 characters long.";
                return "String to translate is empty.";

but i am not geeting the output.Please help me to complete this task or else inform me where i am going wrong.Plz it's urgent.........

                                  Thanks in advance.....


1 Answer Found


//Create a Google Translate String To Translate From Google.

string Translate(string inputStr, string fromLanguage, string toLanguage) {
     string url = string.Format("http://translate.google.com/translate_a/t?client=t&text={0}&hl=en&sl={1}&tl={2}&multires=1&pc=0&sc=1", inputStr, fromLanguage, toLanguage);

     WebClient tmpClient = new WebClient();
     tmpClient.Encoding = System.Text.Encoding.UTF8;
     string result = tmpClient.DownloadString(url);
     return result;

Now The Problem is If You Pass something like that


Return String: JSON String But Couldn't Really Get The Write Method to Get ???? ???? Instead Of ? ?? ?? ?

{ ur: [[["? ?? ?? ?","Hello World",""]],,"en"] }


In Browsers The URL is Showing Correct Returned String. Urdu is unicode Language. The String Return in result is Whole Messed up with ???? ?? ???? something like that. I tried to Convert it in Different Encodings But Not Couldn't get Anythine usefull.

How Can I Correct That I Wanted To Further Save It In XML File.


default rule denay all traffic

i want to allow hotmail.com and translate.google

i traying to allow by domains like *.hotmail  and *.live.com  *.translate.google.com

but not work with me ??

what is the solution ......??? thx


Hi there!

I need help to translate the following code to VB.NET (I have tried many converters but didn't work):



void Form1_Load(object sender, EventArgs e)



List<double[]> doubles = newList<double[]>



newdouble[] {10, 20, 30},


newdouble[] {11, 12, 23},


newdouble[] {22, 1, 3},


newdouble[] {2, 3, 6}



var indexedDoubles = doubles.SelectMany(v => v.Select((d, i) => new { d, i }));


double[] result = (


from idbl in indexedDoubles


group idbl by idbl.i into ig


select ig.Max(m => m.d) - ig.Min(m => m.d)




Many thanks for any kind of help.

Best Regards,


I am trying to translate a program originally written in VB 6.0 (which I have converted into VB.NET) to C#.

The program uses an unmanaged DLL with the following declaration:


PublicDeclareFunction GetPingTime Lib"eGateUtility.dll"Alias"_SCDLG_GetPingTime"(ByVal ServerName AsString, ByVal Timeout AsDouble, ByRef ResponseTime AsDouble, ByVal ErrorStr AsString) AsInteger


In a GUI method, a button clicked handler that initiates the GetPingTime method looks like this:


PrivateSub B_PingConnection_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles B_PingConnection.Click
	Dim ret AsIntegerDim h_Error AsNew VB6.FixedLengthString(C_DEFAULT_CHARS) 'fixed length stringDim h_ServerName AsNew VB6.FixedLengthString(C_DEFAULT_CHARS) 'fixed length stringDim RTime AsDouble
	I_Output.Text = I_Output.Text & "Ping connection: " & C_CRLF
	Call SetTextToFixStrAndAppendZero(E_ServerName.Text, h_ServerName.Value)
	ret = GetPingTime(h_ServerName.Value, 2#, RTime, h_Error.Value)
	If (ret = eGUt_GENRET_OK) Then
		I_Output.Text = I_Output.Text & "  device responded after " & CStr(RTime) & "s" & C_CRLF
		I_Output.Text = I_Output.Text & "  Error occured: " & DeleteZeroAndUnFix(h_Error.Value) & C_CRLF


In C# I have handled the DLL method declaration as:


[DllImport("eGateUtility.dll", EntryPoint = "_SCDLG_GetPingTime")]
publicstaticexternint GetPingTime(string ServerName, double Timeout, refdouble ResponseTime, string ErrorStr);


My problem is that I don't know what VB6.FixedLengthString does, and how to translate it into C#.

It seems like it works sort of like a reference since its value can be changed by GetPingTime(..), and the value is retrieved using the .Value property.

I have tried using "ref/out string ErrorStr" in the declaration, but that causes a memory error.



I have defined a property in a masterpage in vb.net.

I want to use the same code in a C# project, but I have no idea how to translate it. And yes Ive seen pages like: http://www.carlosag.net/Tools/CodeTranslator/

and http://support.microsoft.com/kb/319265

But I'm new, so I have no idea.

Here's the code:

Public Property BreadCrumb() As String
            Return lblBreadcrumb.Text
        End Get
        Set(ByVal path As String)
            Dim BreadCrumbBuilder As New StringBuilder
            BreadCrumbBuilder.Append("<li><a title=""Home"" href=""/"">Home</a></li>")
            If path <> "" Then
                Dim a As Array = path.Split(";")
                If a.Length = 2 Then
                    BreadCrumbBuilder.Append("<li class='active'><a href='" + a(0).ToString + "'>" + a(1).ToString + "</a></li>")
                    Dim sfriendlyURLBuilder As New StringBuilder
                    For i As Integer = 0 To a.Length - 1
                        If i Mod 2 = 0 Then
                        ElseIf i Mod 2 = 1 And i < a.Length - 2 Then
                            BreadCrumbBuilder.Append("<li><a href='" + sfriendlyURLBuilder.ToString + "'>" + a(i).ToString + "</a></li>")
                            BreadCrumbBuilder.Append("<li class='active'><a href='" + sfriendlyURLBuilder.ToString + "'>" + a(i).ToString + "</a></li>")
                        End If
                End If
            End If
            lblBreadcrumb.Text = BreadCrumbBuilder.ToString 'globalfunctions.BuildBreadCrumb(path)
        End Set
    End Property

Thanks for any help! :)


Hi all!


First time posting here


My friend is using VB.Net to develope a web-based application--his first project in this nature. He found the following C# code to make forms available on a web browser. However, what he needs is the VB.Net version to fulfill this web browser capability. Could someone translate the following into VB.Net?







using System.Windows.Controls;

using System.Windows.Forms.Integration;

using Fibonacci;


namespace WPFHost


    /// <summary>

    /// Interaction logic for Page1.xaml

    /// </summary>

    public partial class Page1 : Page


        private readonly MainForm mainForm = new MainForm();


            Public Page1()




            //Create a Windows Forms Host to host a form

            WindowsFormsHost windowsFormsHost = new WindowsFormsHost();


            stackPanel.Width = mainForm.Width;

            stackPanel.Height = mainForm.Height;

            windowsFormsHost.Width = mainForm.Width;

            windowsFormsHost.Height = mainForm.Height;


            mainForm.TopLevel = false;


            windowsFormsHost.Child = mainForm;







I have one page that is written in coldfusion that I would like to translate into asp.net.  I have never used coldfusion and don't even know where to start.  Is there someone out there that can help?


Hi All,

Could some please shed me a light on how does the asp.net front end, which as asp server controls as well as html been translated into hmtl by asp.net web server during run time.

This is .aspx file:

<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1.Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table style="text-align:center;">
        <td>Welcome to <strong>Moon Page</strong></td>

This is the html code generated by asp.net web server

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	Untitled Page
</title><link href="../Stylesheet1.css" rel="stylesheet" type="text/css" />
    <form name="aspnetForm" method="post" action="Default.aspx" id="aspnetForm">
<input type="hidden" name="ctl00_ToolkitScriptManager1_HiddenField" id="ctl00_ToolkitScriptManager1_HiddenField" value="" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<script type="text/javascript"> 
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
<script src="/WebResource.axd?d=QzOJLYzv711LrqTmEbjij241zAzydROtQHTpXKoYFxxUjt0i2D997KwE3d_Yk7cKt4D6b_whHuOdjUY77sjz0e5dDko1&t=634209138757546466" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=wv5FlMkso88z-jQPYydLCXPrpbRbQk2YaFwHpqA1EZc8OxUktr233uL4fHyl01E92Ya5amWvs1mEHZOODT1E4ZFmkLX2u-MYSZku5nr0oVpKFKWZoGALclWDP0MEtA8sc_LiaA2&t=11e6618b" type="text/javascript"></script>
<script type="text/javascript"> 
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
<script src="/ScriptResource.axd?d=GXVwAB6EIbMxF18AgDE9qgNmjm7yCB7X_NFSTJhWq55quRAf9uf91f5Ew6Xw_6OdFGXx2JRKNJp5YUrM3sgFNfRHNONYWx1RtoEYUpwDCqbpMh20ZXc2HVFKMOQXWYcGqoGrXA2&t=11e6618b" type="text/javascript"></script>
<script src="/Default/Default.aspx?_TSM_HiddenField_=ctl00_ToolkitScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d3.5.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a1547e793-5b7e-48fe-8490-03a375b13a33%3af2c8e708%3ade1feab2%3a720a52bf%3af9cec9bc%3a7311d143" type="text/javascript"></script>
	<input type="hidden" name="__PREVIOUSPAGE" id="__PREVIOUSPAGE" value="TF2WpD8bWdMax6a7DmlZLzT_BUK3fb_FvEHMeBquFQW2QLZJigJ-veOACObxYxV7SPmdcA0RnAo-h03ONQerlsW9_VQ1" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWCwKV1L2rCAKlo/W7AQKNvPjgDAKt95+ICAKt95OICALM7JLzDgLd3OHmBgL66r3VDQK2t7b/CALiptjmAQKVvZvHBPf7PB8/JbK5KKQy/s0J/fPov9Hl" />
    <script type="text/javascript"> 
Sys.WebForms.PageRequestManager._initialize('ctl00$ToolkitScriptManager1', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00$UpdatePanel1'], [], [], 90);
    <div id="ctl00_UpdatePanel1">
        <table style="text-align:center">
                <div id="ctl00_Accordion1">
		<input type="hidden" name="ctl00$Accordion1_AccordionExtender_ClientState" id="ctl00_Accordion1_AccordionExtender_ClientState" value="0" /><div id="ctl00_Earth" class="accordionHeader">
			<a id="ctl00_Earth_lb1" href="javascript:__doPostBack('ctl00$Earth$lb1','')">Earth</a>
		</div><div id="ctl00_Saturn3" class="accordionContent" style="display:block;">
			<table style="height:auto; width:auto"><tr><td><a id="ctl00_Saturn3_lbutton1" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Saturn3$lbutton1", "", false, "", "/Default/Default.aspx", false, true))">Moon</a></td></tr><tr><td><a id="ctl00_Saturn3_lbutton2" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Saturn3$lbutton2", "", false, "", "/Default/Blank.aspx", false, true))">Saturn</a></td></tr></table>
		</div><div id="ctl00_Mars" class="accordionHeader">
			<a id="ctl00_Mars_lb2" href="javascript:__doPostBack('ctl00$Mars$lb2','')">Mars</a>
		</div><div id="ctl00_Hestia2" class="accordionContent" style="display:none;">
			<table style="height:auto; width:auto"><tr><td><a id="ctl00_Hestia2_lbutton1" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Hestia2$lbutton1", "", false, "", "/Test1.aspx", false, true))">Hestia</a></td></tr></table>
		</div><div id="ctl00_Saturn" class="accordionHeader">
			<a id="ctl00_Saturn_lb3" href="javascript:__doPostBack('ctl00$Saturn$lb3','')">Saturn</a>
		</div><div id="ctl00_Neptune2" class="accordionContent" style="display:none;">
			<table style="height:auto; width:auto"><tr><td><a id="ctl00_Neptune2_lbutton1" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Neptune2$lbutton1", "", false, "", "/Test2.aspx", false, true))">Neptune</a></td></tr></table>
		</div><div id="ctl00_Hermes" class="accordionHeader">
			<a id="ctl00_Hermes_lb4" href="javascript:__doPostBack('ctl00$Hermes$lb4','')">Hermes</a>
		</div><div id="ctl00_Jupiter2" class="accordionContent" style="display:none;">
			<table style="height:auto; width:auto"><tr><td><a id="ctl00_Jupiter2_lbutton1" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Jupiter2$lbutton1", "", false, "", "/Test3.aspx", false, true))">Jupiter</a></td></tr></table>
<table style="text-align:center;">
        <td>Welcome to <strong>Moon Page</strong></td>
<script type="text/javascript"> 
(function() {var fn = function() {$get("ctl00_ToolkitScriptManager1_HiddenField").value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize();
Sys.Application.add_init(function() {
    $create(Sys.Extended.UI.AccordionBehavior, {"ClientStateFieldID":"ctl00_Accordion1_AccordionExtender_ClientState","FadeTransitions":true,"HeaderCssClass":"accordionHeader","id":"ctl00_Accordion1_AccordionExtender"}, null, null, $get("ctl00_Accordion1"));

as you can see, there are quite a lot of code been added by asp.net web server, can someone plz point me into the right direction: 
how does those html code been added?



Recently we got an requirement wherein we need to connect CRM 4.0 with Google's AdWords and Analytics. I was wondering what is the best way out for that. Is there anything is the SDK for that ? Any ideas?




Good evening.

I want to use google charts in my Applications. Please send me the code cor this or any useful links regarding this concept???

I want to know if it is technically possible to capture the position of a mobile phone with GPS from an application in the mobile phone. And send this position to a web service to represent the location from a web page.

Does the phone have to have a special feature or a brand / model specific?
Can you write the trace information in a file. Kmz (google earth)?

Currently the management application is a web application framework. Net 1.1 with sql server 2005 back.

Any information would be appreciated.
Greetings and thanks


Can anybody help me with VB.Net code to convert chinese charactors to english using google API's in the below mentioned link.

The link has sample in C# code but i am looking for vb.Net code. To use it with SSIS package.



I want to integrate Google analytics in my asp.net mvc application. So im doing some R&D for it to find out which one is the better. I find out a Google Analytic Dashboard Controls which are available at


But they are server control and im not sure how to implement in asp.net mvc. Secondly can i implement asp.net charts in my asp.net mvc application?


how to use google indic in my asp.net page , so that i conver text from english to hindi


i really need this kind of feature for our project, and wondering how to implement a did you mean feature when a person type a wrong word, my website will suggest data that is close to what they type.


hi friends,

        I have a requirement that the text entered in the text box in English language  is to be

  converted Telugu language.I don't hav any idea on this.Plz give some suggestions.

            Thanks in advance.......



I am writing an application that will hold a set of email addresses and passwords (encrypted ofcource) and I need to be able to log in to Gmail using those accounts with a button click and open it within an IFrame.

Does anyone know how to accomplish this?

I can not use the SSO from google since this is an standard google apps account.

I have tried the code that has a form posting to google servers with no luck since it only sends me to google signin page.

Thank you in advanced for any help you can give me on this matter.




Hi WebGurus,

Can anyone please help me in integration of Google Calendars in the website? I   need to replace the existing calendar control in the website with the Google calendar. I am trying to merge the events with Google Calendar so that events are posted/ tracked in Google Calendar, and events added to the Google Calendar would be shown in my website.

 I want some working sample which will provide me some idea to integrate the Google calendar  in the website.

Thanks In Advance,




i have a big problem! this code worked some month ago, and now the last line drop an error (time out)!
i wanna convert the address to geocode. i set the google api key, and i see the map without the last line.
i think the problem is the "sMapKey", because the remaining functions are working. the "sMapKey"-s value is the google api key!
(i generated the key for "localhost", i think its good, because, i can see the map, just the getGeoCodeRequest funciton not working)
please help me, its important for me!


protected void Page_Load(object sender, EventArgs e)
   String sStreetAddress;
   String sMapKey = System.Configuration.ConfigurationManager.AppSettings["googlemaps.subgurim.net"];
   Subgurim.Controles.GeoCode GeoCode1= new GeoCode();
   sStreetAddress = "Szombathely";
   GeoCode1 = GMap1.getGeoCodeRequest(sStreetAddress,sMapKey);



<cc1:GMap ID="GMap1" runat="server" Key="......myKey......." />



    <add key="googlemaps.subgurim.net" value="......myKey......." />

thanks a lot,

(sorry, my english is not so good)


Hello ,

        I want to track google analytic ecommerce  data through asp.net c# code. 

        The format I  want  is  :  transaction Id              |      Landing Page Path   |  Date

        If some one did it before or haev any resource to do it , please share with us.





<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure