How to fix error in visual studio 2019

Kenny Robby 0 Reputation points
2023-01-30T16:17:13.57+00:00

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

ASP.NET
ASP.NET
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
.NET CLI
.NET CLI
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
    2023-01-30T16:28:35.2866667+00:00

    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,

    Your

    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
    2023-01-31T06:33:50.4466667+00:00

    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