Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
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.
QuestionWhy I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 19:49
hwswin14-Jun-09 19:49 
AnswerRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
N a v a n e e t h14-Jun-09 20:58
N a v a n e e t h14-Jun-09 20:58 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 21:21
hwswin14-Jun-09 21:21 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 22:19
hwswin14-Jun-09 22:19 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
N a v a n e e t h14-Jun-09 22:34
N a v a n e e t h14-Jun-09 22:34 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
N a v a n e e t h14-Jun-09 23:11
N a v a n e e t h14-Jun-09 23:11 
AnswerRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin15-Jun-09 15:25
hwswin15-Jun-09 15:25 
QuestionTake picture from Webcam (problem) Pin
S K Y14-Jun-09 18:04
S K Y14-Jun-09 18:04 
AnswerRe: Take picture from Webcam (problem) Pin
Christian Graus14-Jun-09 18:22
protectorChristian Graus14-Jun-09 18:22 
GeneralRe: Take picture from Webcam (problem) Pin
S K Y14-Jun-09 19:14
S K Y14-Jun-09 19:14 
QuestionWebBrowser in VS2008 Pin
trinm198714-Jun-09 14:56
trinm198714-Jun-09 14:56 
AnswerRe: WebBrowser in VS2008 Pin
Christian Graus14-Jun-09 17:52
protectorChristian Graus14-Jun-09 17:52 
AnswerRe: WebBrowser in VS2008 Pin
trinm198714-Jun-09 20:29
trinm198714-Jun-09 20:29 
QuestionDisplay a grid of all character of a font Pin
baranils14-Jun-09 12:04
baranils14-Jun-09 12:04 
AnswerRe: Display a grid of all character of a font Pin
PIEBALDconsult14-Jun-09 15:12
mvePIEBALDconsult14-Jun-09 15:12 
AnswerRe: Display a grid of all character of a font Pin
_Maxxx_14-Jun-09 15:21
professional_Maxxx_14-Jun-09 15:21 
GeneralRe: Display a grid of all character of a font Pin
Luc Pattyn14-Jun-09 15:29
sitebuilderLuc Pattyn14-Jun-09 15:29 

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.