Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6174723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:47:59+00:00 2026-05-23T23:47:59+00:00

Basically I have a gridview that is loaded when a DataSet is returned from

  • 0

Basically I have a gridview that is loaded when a DataSet is returned from the web service, but going at it this way makes me lose some of the benefits of the gridview like the simplicity in sorting, updating, deleting, rows, etc.

Is there a way I can use a web service, but still have access to using a SqlDataSource binded to the GridView.
I can’t return a webcontrol like SqlDataSource, but maybe there is a way around?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:48:00+00:00Added an answer on May 23, 2026 at 11:48 pm

    First of all, I suggest you to move from ASP.NET web-service to WCF-service – you can use the WCF Data Services. for example. You should note what this is not exactly the SqlDataSource.

    But if you want to use the ASP.NET web-service, I think this article will help you:
    How To Use a Web Service as a Data Source for a Client Application in Visual C# .NET.

    The main point is what you can setup your method to return a DataSet:

    [WebMethod]
    public DataSet GetCustOrders(string IDMask)
    {
        // your code here
    }
    

    But Web-services are old technology and your shouldn’t use them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I have a gridview that is opened in a new window from the
I have ModalPopupExtender that contains a UserControl that basically consists of a GridView and
I have a Javascript object that basically represents a Row in an .NET GridView.
Basically I have a gridview that I page through the server instead of in
I have a list view that is displaying data using the gridview. This list
I have an exisiting gridview that I need to fix/improve here at work. Basically
I have a datagrid that is displaying data that is being returned from a
I basically have an entity that gets bound to my gridview and has a
I have a gridview control in my c# program. Basically someone enters an email
I basically have something like this: void Foo(Type ty) { var result = serializer.Deserialize<ty>(inputContent);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.