Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:856026
More Search Options
RSS Available
Matching Posts
Re: GridView Delete Not Working with no-errors
Hello, I have foung my mistake last night. Since i have described an "org_" prefix for original values for updating, it uses the same prefix for deleting too. So the right delete command is: Delete from VehiacleTypes Where VehicleTypeID=@org_VehicleTypeID What a pity that i can not mark my answer as an answer :D Thank you all. The issue is solved.
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/22/2009
Re: GridView Delete Not Working with no-errors
Yes i have tried but trimming is nor solution. Because the @VehicleTypeID and @org_VehicleTypeID are different parameters. Hence trimming the wrong parameters does not solve the problem
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/22/2009
Re: GridView Delete Not Working with no-errors
Yes I have, Also update command is working. But delete command of the gridview is not working.
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
I have checked your information link. There is nothing wrong with my code compared to the codes in that page. I'm additionally using onclientclick "are you sure?" modal box. Also I've tried edit/update/delete columns too. I was suspicous about my delete command. I have tried the delete command in ms-sql management studio. It is working. But the command is not working with gridview.
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
Thanks for your help. I've added parameter type but still not working.
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
I have tried changin control parameters to parameters too. As: <DeleteParameters> <asp:Parameter Name="VehicleTypeID" Type="String" /> </DeleteParameters> Still not firing. :(
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
No-errors, not firing-up
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
Thanks for your help. but still not firing
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
I've tried this too last night. I can delete a record with the same query in management studio.
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Re: GridView Delete Not Working with no-errors
Still not working. I also tested the page in IE and Firefox. Still not firing.
Posted to
Data Presentation Controls
(Forum)
by
rizasirman2
on 10/20/2009
Page 1 of 2 (19 items) 1
2
Next >
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online