The state attorney general sucked up to one Trump while investigating another, The Donald charges in a blockbuster ethics complaint filed Monday in Albany.

Eric Schneiderman repeatedly badgered Donald Trump’s sexy daughter, Ivanka, and her well-connected husband to help corral big-bucks donors for his re-election campaign, the complaint to the state’s Joint Commission on Public Ethics claims.

All the while, Trump maintains, Schneiderman assured his daughter that the probe into his Trump University was “going nowhere.” (Trump officials changed the name of the unaccredited, for-profit institution to The Trump Entrepreneur Initiative following a 2010 state Education Department complaint that use of the word “University” was misleading.)

Schneiderman, 58, pushed Ivanka Trump, 32, and her newspaper-publisher husband, Jared Kushner, to host a fund-raising breakfast for him at Jean-Georges, dine with him at Lure Fishbar in Soho, and have drinks with him at The Four Seasons, according to the complaint.

A thank-you note from Schneiderman to Ivanka Trump and her husband Jared Kushner.

The AG even approached the leggy blonde at the Cipriani Wall Street wedding of Facebook co-founder and billionaire Chris Hughes on June 30, 2012, to assure her that his investigation into her father’s company was “very weak,” the complaint alleges.

“He was barraging Trump executives, especially Ivanka, with invitations to meet up and socialize while he was investigating them,” said Trump attorney Stephen Meister.

Just four months after Schneiderman buttonholed a Trump executive at a Brooklyn Nets game on April 17, 2013, to again say the fraud investigation was “going nowhere,” the AG’s Office filed a $40 million lawsuit against Trump and his shuttered school, The Donald charges.

“Schneiderman hobnobbed with top Trump execs, barraging them and Donald Trump with illegal solicitations, during the entire two-year investigation,” said Meister. “He had a political agenda to meet rich people and get money and endorsements from them.”

Trump accuses Schneiderman of violating ethics and conflict-of-interest laws and calls for a full investigation into his conduct.

“During many of these targeted solicitations, Mr. Schneiderman, on his own initiative, brought up his office’s inquiry into [Trump] . . . and assured [Ivanka] and others that they should not be concerned since the investigation was ‘going nowhere.’ ”

Asked about the allegations, AG spokesman Matt Mittenthal shot back: “Donald Trump and his associates will say and do anything to avoid talking about the facts in this case. His wild accusations, outlandish conspiracy theories and outright distortions will not distract Attorney General Schneiderman from pursuing justice for the students victimized by Mr. Trump and his scam university.”