Carsten's profileMicrosoft Dynamics CRM &...BlogLists Tools Help

Blog


    Microsoft Dynamics CRM 4.0 | Unterstützter Datensatzzähler

     

    Da ich in vergangenen und laufenden Projekten auch nach der Möglichkeit der Anzeige der Gesamtanzahl Datensätze angesprochen werde, möchte ich an dieser Stelle auf einen Blog-Artikel von a33ik hinweisen. In seinem Artikel beschreibt a33ik seinen Code zur Implementierung eines “supported record counters”.

    Der Code ist zwar nicht für mehrsprachige Systemumgebungen ausgelegt, von daher ist zu überlegen, in welcher Sprachvariante die Ergebnisse angezeigt werden sollen. Wer jedoch mit einem deutschsprachigen System arbeitet und die Ergebnisse in deutscher Sprache ausgegeben haben möchte, der muss lediglich eine Code-Zeile ändern.

    string result = string.Format("Total records = {0}, Total pages = {1}", totalRecordCount, totalPageCount);                


    Obige Zeile z.B. ersetzen durch:

    string result = string.Format("Datensätze gesamt = {0}, Seiten gesamt = {1}", totalRecordCount, totalPageCount);                

    Da a33ik auch den Quellcode zum Download zur Verfügung stellt, ist diese Änderung schnell erledigt. Ich empfehle zuvor die Auswirkungen auf die Gesamtperformance des Systems zu prüfen.

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://carstengroth.spaces.live.com/blog/cns!97768EC3728C1FF3!689.trak
    Weblogs that reference this entry
    • None