Click here to Skip to main content
15,909,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regarding security Pin
vijaylumar15-Jun-09 0:53
vijaylumar15-Jun-09 0:53 
GeneralRe: Regarding security Pin
vijaylumar15-Jun-09 1:36
vijaylumar15-Jun-09 1:36 
GeneralRe: Regarding security Pin
Henry Minute15-Jun-09 6:08
Henry Minute15-Jun-09 6:08 
QuestionPassing C# Equivalent of a C++ std::vector, to C++ function Pin
sree14-Jun-09 22:48
sree14-Jun-09 22:48 
AnswerRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
Christian Graus14-Jun-09 23:17
protectorChristian Graus14-Jun-09 23:17 
AnswerRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
N a v a n e e t h14-Jun-09 23:25
N a v a n e e t h14-Jun-09 23:25 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
sree15-Jun-09 1:18
sree15-Jun-09 1:18 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
N a v a n e e t h15-Jun-09 1:56
N a v a n e e t h15-Jun-09 1:56 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
sree15-Jun-09 3:23
sree15-Jun-09 3:23 
GeneralRe: Passing C# Equivalent of a C++ std::vector, to C++ function Pin
N a v a n e e t h15-Jun-09 15:52
N a v a n e e t h15-Jun-09 15:52 
Questionpls. help me it's urgent, drop video frames during start/stop button click Pin
kunal.tawde14-Jun-09 21:01
kunal.tawde14-Jun-09 21:01 
AnswerRe: pls. help me it's urgent, drop video frames during start/stop button click Pin
molesworth14-Jun-09 22:10
molesworth14-Jun-09 22:10 
GeneralRe: pls. help me it's urgent, drop video frames during start/stop button click Pin
kunal.tawde12-Jul-09 23:39
kunal.tawde12-Jul-09 23:39 
AnswerRe: pls. help me it's urgent, drop video frames during start/stop button click Pin
Nagy Vilmos14-Jun-09 22:11
professionalNagy Vilmos14-Jun-09 22:11 
QuestionAdding Scrolling effect On Windows application. Pin
deepseeindeepsy14-Jun-09 20:38
deepseeindeepsy14-Jun-09 20:38 
AnswerRe: Adding Scrolling effect On Windows application. Pin
Mycroft Holmes14-Jun-09 21:06
professionalMycroft Holmes14-Jun-09 21:06 
QuestionGrid View Event.. Pin
Rahul DSG14-Jun-09 19:55
Rahul DSG14-Jun-09 19:55 
AnswerRe: Grid View Event.. Pin
Mycroft Holmes14-Jun-09 21:03
professionalMycroft Holmes14-Jun-09 21:03 
GeneralRe: Grid View Event.. Pin
Rahul DSG14-Jun-09 21:31
Rahul DSG14-Jun-09 21:31 
AnswerRe: Grid View Event.. Pin
deepseeindeepsy14-Jun-09 21:49
deepseeindeepsy14-Jun-09 21:49 
GeneralRe: Grid View Event.. Pin
Rahul DSG14-Jun-09 21:56
Rahul DSG14-Jun-09 21:56 
GeneralRe: Grid View Event.. Pin
Mycroft Holmes14-Jun-09 22:00
professionalMycroft Holmes14-Jun-09 22:00 
GeneralRe: Grid View Event.. Pin
deepseeindeepsy14-Jun-09 22:02
deepseeindeepsy14-Jun-09 22:02 
AnswerRe: Grid View Event.. Pin
Henry Minute15-Jun-09 0:14
Henry Minute15-Jun-09 0:14 
AnswerRe: Grid View Event.. Pin
Kaushal Arora15-Jun-09 2:53
Kaushal Arora15-Jun-09 2:53 
Use the "CommandName" property of the Button and set it to What ever name you want to give and the "CommandArgument" property to the unique id of that row to get the same.
You can catch the same in the RowCommand Event of the Gridview as
if (e.CommandName == "WhatEverYouNamed")
{
     // Your Set of Commands and you can get the Unique Key value using e.CommandArgument. 
}

Using this you can have multiple buttons doing multiple things in one gridview.

Regards,
Kaushal Arora

Please Mark as Answer if it solved your problem.

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.