hi, I am from c# field and now are doing a project using VB, I wants to ask about question as below:

1) private static DataSet ds;
I wants to convert the C# codes above to VB syntax, but VB seems like don't have equivalent keywords of "static"(Correct me if I was wrong).

Hope someone can helps me, thanks in advance.

Hi,

You can try this:

Private Shared ds As DataSet

it is works!! Thanks you all very much :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.