datasourcecontrol

Update with Data Source Control in asp.net

How do you run an update query in a data source control from a button? I have the data source control with the update query configured in it. I just don't know what to put in the button_click event to make it run. ...

Is it really professional to use the data source controls in ASP.NET?

Hi, I'm in the process of learning ASP.NET. I bought some books on the subject. All of them suggest that using the data source controls, like ObjectDataSource/SqlDataSource etc. are the way to go. Now, I'm definitely not an expert on the subject, far from it actually. but I have a strong feeling that these are toy tools. I have a hard t...

Inheriting from DataSourceControl does not produce an IDataSource

I am trying to create a custom datasource control. I have been following this article to the letter (I think...). I have a skeleton / basic implementation of my datasource, however when I declare it in the markup and try to statically bind it to a gridview, I receive the following error: The DataSourceID of 'grdVw' must be the ID o...

Sorting & Grouping in a Repeater

In ASP.NET Can we achieve both grouping and sorting in a repeater control. If possible please suggest me the way of doing it or links .. I have to implement that in my application Thank You. ...