All Questions
Tagged with sqldatasource updatecommand
8 questions
0
votes
1
answer
161
views
SqlDataSource InsertCommand and UpdateCommand throwing "illegal variable name/number""
I am trying to insert and update the table through SqlDataSource
<asp:SqlDataSource ID="SqlDataSource1" OnSelecting="SqlDataSource1_Selecting" runat="server" ConnectionString="<%$ ...
0
votes
1
answer
426
views
datepicker updating from itemtemplate
I have code to update a date from a sqldatasource updateCommand.
Code:
<asp:GridView ID="gdLog" runat="server" GridLines="Horizontal" CellPadding="3" CssClass="gridRows" HeaderStyle-CssClass="...
0
votes
1
answer
67
views
Update Command not firing after Edit/Save
I have a page that is not firing the update command when making changes to the information. I have several other pages that are working just fine and I am not seeing a difference in the coding that ...
0
votes
1
answer
1k
views
SqlDataSource UpdateParameters - Input string was not in a correct format
I have inherited some ASP.NET code that I need to update which has resulted in my needing to change the ASP SqlDataSource's UpdateCommandType from a string (hard coded SQL Update statement) to a ...
2
votes
1
answer
3k
views
updatecommand in asp page not working
ok i have solved my last question by using update parameters instead und putting templatefields on my gridview instead of boundfields.
it is displayed alright, only thing is the update button doesn't ...
0
votes
0
answers
291
views
Gridview using sqldatasource
Im working using Gridview and Sqldatasource, so , when Im tried to use the updatecommand, but when I clicked on, nothing happen, so, if I save a new record and after click on update command button , ...
0
votes
2
answers
8k
views
How to set parameters for SqlDataSource UpdateCommand
For a Gridview:
I am trying to use a stored procedure for the first time in a SQLDataSource for the UpdateCommand:
<asp:SqlDataSource ID="TECT_DataSource" runat="server"
ConnectionString="<...
0
votes
1
answer
1k
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 ...