Click here to Skip to main content
15,919,749 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAccess other pc desk screen by internet Pin
harun622-May-08 2:50
harun622-May-08 2:50 
AnswerRe: Access other pc desk screen by internet Pin
Christian Graus22-May-08 2:51
protectorChristian Graus22-May-08 2:51 
QuestionProblem in binding dataset value with HTML table. Pin
Member 410217122-May-08 2:43
Member 410217122-May-08 2:43 
AnswerRe: Problem in binding dataset value with HTML table. Pin
Christian Graus22-May-08 2:51
protectorChristian Graus22-May-08 2:51 
QuestionConverting winapp to webapp and need to position childcontrols Pin
ErikZ22-May-08 2:30
ErikZ22-May-08 2:30 
QuestionProblem with gridview checkbox [modified] Pin
pinna_hari22-May-08 2:06
pinna_hari22-May-08 2:06 
AnswerRe: Problem with gridview checkbox Pin
NetBot22-May-08 2:35
NetBot22-May-08 2:35 
GeneralRe: Problem with gridview checkbox Pin
pinna_hari22-May-08 19:00
pinna_hari22-May-08 19:00 
Hello,
Thanks for your response.
I got answer for that question..
now my problem is

I have a gridview with checkboxes(inside Gridview) and a Button control(outside of Gridview)with BtnDeleteSelected

My aim is to get the value of 1st row 2nd column of gridview(1st Column is CheckBox control) and 2nd column is pid value.I want 'Pid' Value
i wrote this code

for(i=0;i<gv.rows.count;i++)>
{
GridViewRow row = gv.Rows[i];
CheckBox chkbox = (CheckBox)row.FindControl("chkSelect")
if(chkbox.checked)
{
int pID = Convert.ToInt32(gv.DataKeys[row.RowIndex].Value);
}
}</gv.rows.count;i++)>

it is showing this error

Index was out of range. Must be non-negative and less than the size of the collection.<br />
Parameter name: index


Pinna

GeneralRe: Problem with gridview checkbox Pin
sukkureddy22-May-08 21:14
sukkureddy22-May-08 21:14 
GeneralRe: Problem with gridview checkbox Pin
pinna_hari23-May-08 1:38
pinna_hari23-May-08 1:38 
AnswerRe: Problem with gridview checkbox Pin
eyeseetee22-May-08 3:07
eyeseetee22-May-08 3:07 
QuestionIE6 chopping off page content on Hyperlink first click Pin
markymark8222-May-08 1:34
markymark8222-May-08 1:34 
AnswerRe: IE6 chopping off page content on Hyperlink first click Pin
markymark8222-May-08 4:03
markymark8222-May-08 4:03 
QuestionProblem In IE while Embed .swf file in aspx page Pin
Guvera22-May-08 1:17
Guvera22-May-08 1:17 
QuestionSoftwares for integration of Card swipe machine with .net application Pin
miniThomas22-May-08 1:11
miniThomas22-May-08 1:11 
AnswerRe: Softwares for integration of Card swipe machine with .net application Pin
eyeseetee22-May-08 1:18
eyeseetee22-May-08 1:18 
AnswerRe: Softwares for integration of Card swipe machine with .net application Pin
Christian Graus22-May-08 1:59
protectorChristian Graus22-May-08 1:59 
Questionhide the close button Pin
legend_of_zanado22-May-08 0:54
legend_of_zanado22-May-08 0:54 
AnswerRe: hide the close button Pin
eyeseetee22-May-08 1:02
eyeseetee22-May-08 1:02 
Questiondynamic add item in context menu of telerik component Pin
Piyush Vardhan Singh22-May-08 0:36
Piyush Vardhan Singh22-May-08 0:36 
QuestionRegarding webservice with ajax autocomplete??? Pin
Dotnetkanna21-May-08 22:31
Dotnetkanna21-May-08 22:31 
AnswerRe: Regarding webservice with ajax autocomplete??? Pin
led mike22-May-08 4:39
led mike22-May-08 4:39 
QuestionASP.NET Authentication and Scalability [modified] Pin
Waleed Eissa21-May-08 21:45
Waleed Eissa21-May-08 21:45 
QuestionProble with Custom property used to remove duplicates Pin
NetBot21-May-08 21:27
NetBot21-May-08 21:27 
AnswerRe: Proble with Custom property used to remove duplicates Pin
gnjunge21-May-08 22:15
gnjunge21-May-08 22:15 

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.