How to fill dataset using LINQ with FillDataSet(ds) Method c#

前端 未结 3 1632
[愿得一人]
[愿得一人] 2021-01-16 17:42

How to fill dataset using LINQ with FillDataSet(ds) Method. When iam trying to implement this code iam getting error like FillDataSet does not exist in current context.

3条回答
  •  生来不讨喜
    2021-01-16 17:52

    From your post

    FillDataSet does not exist in current context.

    It clearly means that it cant access the FillDataSet method or else your method doesnt exist.

    If it exists, then try changing the access specifier to public if it is in different class.

    PS: did you declare any method named FillDataSet ?

提交回复
热议问题