How to fix error in visual studio 2019

Kenny Robby 0 Reputation points

The code .DataSource = ds.Tables[0]; doesn't work for me. What might be the error?? In Microsoft vs 2019

A set of technologies in the .NET Framework for building web applications and XML web services.
3,186 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,323 questions
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
315 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bjoern Peters 8,776 Reputation points

    Hi Kenny,

    Maybe you should send us more information/screenshots about your code and what you are trying to do.

    And maybe a complete error message.

    Without these details we might just guess what your problem could be ;-)

    I hope my answer is helpful to you,


    Bjoern Peters

    If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!

    0 comments No comments

  2. Olaf Helper 39,181 Reputation points

    doesn't work for me

    And now we have to guess the rest of your code?

    What might be the error?

    You should tell that us; which error message do you get?

    0 comments No comments