The sqldatasource tag has no wiki, would you like to help us create it?
about the sqldatasource tag | faq | top users | hot answers | new answers | synonyms
0
votes
1answer
7 views
Using parameters to configure the table name in an SqlDataSource SelectCommand
Hello all,
I have an ASP.NET 3.5 web form with a DropDownList bound to a table of company names in a database. I also have a data bound GridView which I would like to update with data from the …
0
votes
0answers
4 views
Should parameters to SP's of SqlDataSources be ordered identically?
I'm writing some stored procedures to do CRUD operations against some tables in a SQL Server database, which will be used in a FormView on an ASP.NET 2.0 page. I've already written the hardest one, …
0
votes
1answer
21 views
Read a record via code behind for a sqldatasource
Hi, suppose i open a sqldatasource for binding on listview.
I would like also to read a field on first record for print it.
How can i access to my sqldatasource from code behind ?
0
votes
0answers
5 views
How do I implement a form of cascading dropdownlists and associated controls?
I've got 3 SqlDataSource controls, and 2 dropdownlists and 1 detailsview on a page. The first SqlDataSource is associated with the first dropdownlist, and second SqlDataSource (which is filtered …
1
vote
2answers
32 views
Generating CSV file from SqlDataSource/GridView
Hi all, I need to be able to generate a basic CSV file of the results returned from an SqlDataSource/GridView upon the user clicking a button, then allow them to save this file.
Is this simple to do?
…
1
vote
4answers
101 views
Getting 'too many parameters passed' to stored procedure on ASPX page
I'm having trouble figuring this error out. I have a grid on an ASPX page that displays data from a stored procedure in an SQL Server 2008 database. When the page loads, I get the following error:
…
0
votes
1answer
18 views
Unable to sort a GridView populated by DataView in ASP.NET 2.0 using C#
I am working on extending an ASP.NET 2.0 application using an InterBase database. My experience is in PHP/MySQL, so my familiarity with ASP is currently in the 2-week range, and is pieced together …
0
votes
0answers
35 views
Simple insert into database From webform page including image
Hello, im having trouble with this SQL command what im trying to do is insert data from asp.net page into Database (website target .net framwork 2.0 and i use sqldatasoruce)
i want to be able to …
1
vote
2answers
25 views
.NET GridView update won't send a UserID to the SQL Query
I am at the moment trying to learn how to use basic grid view controls to display my data.
To start with I have tried to do everything through the aspx page to try and keep things simpler for myself.
…
0
votes
2answers
38 views
Reading & Writing in asp.net
Hi,
I have a basic page which has fields that I read from the database and write to it. I would like to know where I should call the insert and read commands. I know about age_load but heard about …
-8
votes
0answers
97 views
binding formview dynamically is not working. [closed]
my aim is to on button click call a method, which binds the already there form view to data, this is how i have done it. it works with gridview but not form view!!
code
public void formvieww(object …
0
votes
2answers
66 views
Multiple possible FilterExpression's on SqlDataSource issue
Hi, I have an SqlDataSource in a page, which will display different results depending on 1 or 2 query strings, and/or a filter textbox.
Here is my SqlDataSource and filters:
<asp:SqlDataSource …
0
votes
4answers
46 views
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()
LoginChecker.ConnectionString = …
0
votes
0answers
47 views
Modifying SqlDataSource at Runtime
Hi Everybody...
Tens of results and suggestions, hours of searching and applying... but the problem has not fixed...
Simply, I have a web application made using VS 2010, I already built a database …
0
votes
3answers
123 views
Rebind gridview using AJAX (without post back)
Hi, I plan on allowing a user to open a modalpopupextender containing a gridview witha Filter text box. I want it so when the user types in a filter, the filter is applied to the gridview and the …