Click here to Skip to main content
15,896,154 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: Gridview columns Pin
Learning10-Apr-08 5:30
Learning10-Apr-08 5:30 
QuestionAdjust location of a control on asp.net pages Pin
Tarik Guney9-Apr-08 11:25
Tarik Guney9-Apr-08 11:25 
GeneralRe: Adjust location of a control on asp.net pages Pin
Christian Graus9-Apr-08 11:43
protectorChristian Graus9-Apr-08 11:43 
QuestionMultiple Access Pin
Tarik Guney9-Apr-08 11:19
Tarik Guney9-Apr-08 11:19 
GeneralRe: Multiple Access Pin
Christian Graus9-Apr-08 11:21
protectorChristian Graus9-Apr-08 11:21 
GeneralRe: Multiple Access Pin
Tarik Guney9-Apr-08 11:30
Tarik Guney9-Apr-08 11:30 

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.