Top "Sqldatasource" questions

The SqlDataSource control enables you to use a Web control to access data located in a relational database, including Microsoft SQL Server and Oracle databases.

bind sqldatasource result to textbox c#

I have a SqlDataSource that returns 1 field (1 row) for an ID. I would like to get that result and display …

c# asp.net data-binding sqldatasource
Converting a DBNull to boolean when binding to checkbox in a detailsview control

This is kind of silly but I have a DetailsView that binds to a record in my database using a …

c# asp.net sqldatasource detailsview dbnull
ASP.NET SelectParameter / Control Parameter usage

newbie to asp.net here. I am trying to setup a selectparameters and controlparameters based off textbox web controls for …

asp.net sqldatasource
How to hide gridview column after databind?

I hide my columns using the solution in following link How to hide a TemplateField column in a GridView However …

c# asp.net gridview sqldatasource
How to handle exceptions with a SqlDataSource

I have a SqlDataSource that is supplying data to my GridView. Thats all i am using on my form, thus …

c# asp.net vb.net datagridview sqldatasource
How to pass property value in SqlDataSource selectCommand where conditon?

I have a property in my page2.aspx.cs page public int? Id { get { if (ViewState[Page1.Id] != null) return …

c# asp.net sqldatasource
how do I check that a SqlDataSource returned data?

I have an asp.net page that has several SqlDataSources defined that feed data into some graphs. The graph product …

asp.net vb.net sqldatasource
SqlDataSource vs ObjectDataSource

If a web page needs some data, why not just have a SQLDataSource call a stored procedure? Why use an …

.net asp.net objectdatasource sqldatasource
how to count the fetched rows by sqldatasource

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click Dim LoginChecker As New SqlDataSource() …

asp.net sql vb.net sqldatasource
Sort gridView by proper column which is TemplateField

I have got problem with sorting column in gridView. I want to select only those rows in column which name …

asp.net gridview sqldatasource