Click here to Skip to main content
15,920,053 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how i populate Ajax Autocomplte on image button click Pin
pekhaleyogesh9-Apr-08 22:11
pekhaleyogesh9-Apr-08 22:11 
QuestionAsynchronous page loading Pin
Christian Wikander9-Apr-08 21:29
Christian Wikander9-Apr-08 21:29 
GeneralRe: Asynchronous page loading Pin
eyeseetee9-Apr-08 21:41
eyeseetee9-Apr-08 21:41 
AnswerRe: Asynchronous page loading Pin
Christian Wikander9-Apr-08 23:44
Christian Wikander9-Apr-08 23:44 
GeneralRe: Asynchronous page loading Pin
eyeseetee10-Apr-08 1:20
eyeseetee10-Apr-08 1:20 
Questionhow can i run web app after obfuscation Pin
akhilesh_bhale19069-Apr-08 21:10
akhilesh_bhale19069-Apr-08 21:10 
AnswerRe: how can i run web app after obfuscation Pin
Gamzun27-Jul-09 23:24
Gamzun27-Jul-09 23:24 
QuestionAdd new row on button click in gridview Pin
Ankit At Codeproject9-Apr-08 20:56
Ankit At Codeproject9-Apr-08 20:56 
GeneralRe: Add new row on button click in gridview Pin
N a v a n e e t h9-Apr-08 21:14
N a v a n e e t h9-Apr-08 21:14 
QuestionRe: Add new row on button click in gridview Pin
Ankit At Codeproject9-Apr-08 21:48
Ankit At Codeproject9-Apr-08 21:48 
GeneralRe: Add new row on button click in gridview Pin
N a v a n e e t h9-Apr-08 22:25
N a v a n e e t h9-Apr-08 22:25 
QuestionRe: Add new row on button click in gridview Pin
Ankit At Codeproject9-Apr-08 23:48
Ankit At Codeproject9-Apr-08 23:48 
GeneralDelete Row from Grid Pin
sjs4u9-Apr-08 20:35
sjs4u9-Apr-08 20:35 
GeneralRe: Delete Row from Grid Pin
tomwilliams9-Apr-08 21:12
tomwilliams9-Apr-08 21:12 
I would try and put a primary key on the table, if this is not possible create a stored procedure where you pass through the information to enable you to find the row you wish to delete.

i.e Table with two columns Description, IPAddress


SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

Create PROCEDURE Canteen_DeleteLocation
-- Add the parameters for the stored procedure here
@Description varchar(20),
@IPAddress varchar(15)
AS
BEGIN
DELETE FROM [Canteen_Location]
WHERE Description = @Description And IPAddress = @IPAddress

END
GO

Then you just need to setup the datasource delete parameter to call this SP and ensure your fields are databound.

Hope this helps?

Tom
GeneralRe: Delete Row from Grid Pin
eyeseetee9-Apr-08 21:31
eyeseetee9-Apr-08 21:31 
QuestionKeyboard Wedge Barcode Scanner - Capture postback Pin
tomwilliams9-Apr-08 20:20
tomwilliams9-Apr-08 20:20 
GeneralFileupload control in Gridview Pin
Satish - Developer9-Apr-08 18:41
Satish - Developer9-Apr-08 18:41 
GeneralRe: Fileupload control in Gridview Pin
N a v a n e e t h9-Apr-08 21:12
N a v a n e e t h9-Apr-08 21:12 
GeneralRe: Fileupload control in Gridview Pin
Herman<T>.Instance10-Apr-08 4:00
Herman<T>.Instance10-Apr-08 4:00 
GeneralPoint web service client through local proxy (SoapUI Tool) Pin
rotsey9-Apr-08 16:57
rotsey9-Apr-08 16:57 
QuestionGridview columns Pin
Learning9-Apr-08 16:02
Learning9-Apr-08 16:02 
GeneralRe: Gridview columns Pin
senthilsstil9-Apr-08 20:59
senthilsstil9-Apr-08 20:59 
GeneralRe: Gridview columns Pin
senthilsstil9-Apr-08 21:06
senthilsstil9-Apr-08 21:06 
GeneralRe: Gridview columns Pin
Herman<T>.Instance9-Apr-08 21:50
Herman<T>.Instance9-Apr-08 21:50 
AnswerRe: Gridview columns Pin
Nais10-Apr-08 1:07
Nais10-Apr-08 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.