Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
6 views

DataSet From sqlDataSource

So I found this old datarepeater paging sample that works perfectly for what I want to do. So I translated it to VB test it and works perfectly. Except its uses XML as the datasource. So I created a ...
0
votes
1answer
16 views

Gridview dynamic update w/ SqlDataSource

I have a SqlDataSource that updates whenever a user specifies a value. I'm trying to do the following to update the gridview as well, but the gridview won't show anything. Did I miss anything here? ...
0
votes
0answers
21 views

Programmatically Execute Sql Datasource with OnSelecting event from Codebehind

I need execute a sql command with onselecting events in c#. With this code below, it is not firing selecting events. Any help? Here is my code: SqlDataSource sqlSource = new ...
0
votes
0answers
13 views

JQGrid not updating in web app

I have a SqlDataSource that I configured to stored procedure in SQL Server 2008. The stored procedure queries tables based on a date. Then I use this SqlDataSource as the source of a JQGrid. On page ...
1
vote
0answers
33 views

SqlDataSource + Disabled Viewstate = Double DataBind

Here's a test page (.NET 4) I built to show the symptom I'm experiencing: <%@ Page Language="C#" AutoEventWireup="true" ViewStateMode="Disabled" %> <script runat="server"> protected ...
1
vote
1answer
160 views

The GridView 'GridView1' fired event Sorting which wasn't handled

I have created a gridview using toolbox in c#, it is able to show & sort the items in my sqldatasource, but when I change the sqldatasource as it can be seen in the below code, it displays the ...
0
votes
1answer
35 views

Updating Chart from Gridview - chart updates after Gridview Updates

I have a GridView and a chart. I am plotting the time lapsed data from the Gridview. Problem: The chart does not gets updated at the same time GridView does. It is always one step back (requires ...
0
votes
1answer
19 views

is there a way to have a sqldatasource filter when asked but default to select *?

I have a listview that is bound to a sqldatasource. I know how to filter the results by binding the sqldatasourceto a control value, but I want the sqldatasource to select all when nothing in the ...
0
votes
1answer
60 views

GridView Paging and Sorting

I have a GridView webcontrol that has paging and sorting enabled. I've bound the datasource to an SqlDataSource. When I try to change the page index or sort, I get a "GridView fired event ...
0
votes
1answer
31 views

Using inline expression with SessionParameter fails

This works as fine in my ASP.NET page's SqlDataSource: <asp:SessionParameter Name="FromTimestamp" SessionField="fromtime" DefaultValue="2/22/2012" /> Why does this produces error: Conversion ...
0
votes
2answers
42 views

ASP.NET VB how to add image on sqldatabase

Can anybody help me on how to insert an image into a database that can be viewed on a webpage? or whatever way there is just to do this thing. I am currently developing a webpage in Web Developer ...
0
votes
1answer
66 views

Syntax error using INNER JOIN and SqlDataSource with MySQL

I am trying to write an update command that joins 2 tables using an SqlDataSource. I have it working with 1 table, but when I put my INNER JOIN syntax in I get thrown an error. It says "My syntax is ...
0
votes
2answers
43 views

Error in binding SqlDataSource data to GridView

I am getting this error: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control. I am trying to bind SqlDataSource's results to a ...
0
votes
0answers
34 views

SqlDatasource with two select parameters

Here is my code with a main gridView, SqlDataSource and a detailed gridView. The sqlDataSource contains two SelectParameters which are SelectedValues from the main gridView. When selecting a row in ...
0
votes
0answers
83 views

Insert SQL to Access Database by clicking a button

I have a question about C#. I create 1 button, 1 textbox, 1 drop down list in .aspx page. The user can enter the text to textbox (text only) and select one of the options in drop down list (e.g. A, B, ...

1 2 3 4 5 24
15 30 50 per page