Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #19973

Confrontare 2 record in datagridview

X-Received by 2002:a05:620a:795:b0:69f:d074:6067 with SMTP id 21-20020a05620a079500b0069fd0746067mr14697683qka.527.1652177538455; Tue, 10 May 2022 03:12:18 -0700 (PDT)
X-Received by 2002:a25:9102:0:b0:64a:b485:1e01 with SMTP id v2-20020a259102000000b0064ab4851e01mr11835035ybl.105.1652177538161; Tue, 10 May 2022 03:12:18 -0700 (PDT)
Path csiph.com!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups it.comp.lang.visual-basic
Date Tue, 10 May 2022 03:12:17 -0700 (PDT)
Injection-Info google-groups.googlegroups.com; posting-host=147.161.245.114; posting-account=yvxj_woAAABxrxq8XihQzP-tWUWpycQc
NNTP-Posting-Host 147.161.245.114
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <272d75b7-90c4-4cb7-bbae-ff5644e8f474n@googlegroups.com> (permalink)
Subject Confrontare 2 record in datagridview
From Marco75 <marcoporzi75@gmail.com>
Injection-Date Tue, 10 May 2022 10:12:18 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Received-Bytes 1736
Xref csiph.com it.comp.lang.visual-basic:19973

Show key headers only | View raw


Ciao,
avrei la necessità di verificare se ci sono dei cambiamenti in 2 record di SQL Server. L'idea è quella di mettere questi 2 record in un datagridview per poi verificare le differenze ad esempio:

Data            X50    Polvere   Densità
9/5/2022    322        16          400
4/6/2021    322        18          380

ho delle caselle di testo che prendono il valore più recente e lo mostrano quindi l'operatore vede

X50 = 322
Polvere = 16
Densità = 400

vorrei impostare il colore del testo in rosso per Polvere e Densità in quanto sono cambiati mentre X50 rimane in nero non avendo variazioni.
qualche idea?
grazie
Marco

Back to it.comp.lang.visual-basic | Previous | NextNext in thread | Find similar


Thread

Confrontare 2 record in datagridview Marco75 <marcoporzi75@gmail.com> - 2022-05-10 03:12 -0700
  Re: Confrontare 2 record in datagridview "Freccia (VegetaSSj)" <NIENTESPAMfreccia_vegetassj@hotmail.invalid> - 2022-05-14 22:28 +0200

csiph-web