I connected a wifi card (intel ax200 gig+ wi-fi 6 desktop kit) to a gigabyte z390 m motherboard and install the driver, but not detect the device (wifi card)
Are you able to see anything in the BIOS that indicates the adapter is actually being recognized in the PCIe slot? Are you using the latest BIOS for that motherboard, as there may be changes that pertain to the PCIe slots?
You didn't indicate what OS you are using. Is there anything in the hardware management that indicated hardware detected but unidentified?
Have you checked the motherboard manufacturer against the specific adapter model you have installed to be sure they are compatible? There is CNVi and CNVi2, and they are different. From your description the adapter is not being detected by the motherboard. There is also something referred to as BIOS lock that allows only specific adapters to be used, but I believe that is more relevant to laptops.
Are there any settings in BIOS that determine how the M.2 slots are being used? Perhaps the slot you are using is not properly configured to recognize that a network adapter is being used.