Click here to Skip to main content
16,004,974 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with code Pin
saini arun25-Jun-09 22:37
saini arun25-Jun-09 22:37 
GeneralRe: Problem with code Pin
Girish48125-Jun-09 22:46
Girish48125-Jun-09 22:46 
GeneralRe: Problem with code Pin
DoctorMick25-Jun-09 23:37
DoctorMick25-Jun-09 23:37 
GeneralRe: Problem with code Pin
Christian Graus25-Jun-09 23:44
protectorChristian Graus25-Jun-09 23:44 
GeneralRe: Problem with code Pin
Girish48126-Jun-09 1:12
Girish48126-Jun-09 1:12 
QuestionPKCS #7 Encryption Pin
anandhakrishnan25-Jun-09 20:54
anandhakrishnan25-Jun-09 20:54 
AnswerRe: PKCS #7 Encryption Pin
Christian Graus25-Jun-09 20:56
protectorChristian Graus25-Jun-09 20:56 
QuestionIndex was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Pin
Arunaruby25-Jun-09 20:48
Arunaruby25-Jun-09 20:48 
I am Using Visual Studio 2008 for creating a Web Application. While Viewing the details from A Grid View .. I am Getting these errors "Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source error: Line 17

Line 15: img = CType(e.CommandSource, ImageButton)
Line 16: gvRow = img.BindingContainer
Line 17: TimeSheetID = gvTimeHdr.DataKeys(gvRow.RowIndex)(0)
Line 18: Session.Add("sessionMode", "cmdView")
Line 19: Response.Redirect("TimeEntry.aspx?TimeSheetID=" & TimeSheetID & "")

Can Anyone give a solution and the reason Why this error is generating

Thanks,
Arunaruby
AnswerRe: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Pin
Christian Graus25-Jun-09 20:54
protectorChristian Graus25-Jun-09 20:54 
AnswerRe: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Pin
padmanabhan N25-Jun-09 21:12
padmanabhan N25-Jun-09 21:12 
Questionany application example on how to implement personalisation of webpart using oracle Pin
lakshmichawala25-Jun-09 19:19
lakshmichawala25-Jun-09 19:19 
AnswerRe: any application example on how to implement personalisation of webpart using oracle Pin
Christian Graus25-Jun-09 19:38
protectorChristian Graus25-Jun-09 19:38 
AnswerRe: any application example on how to implement personalisation of webpart using oracle Pin
r a m e s h25-Jun-09 20:02
r a m e s h25-Jun-09 20:02 
QuestionError Pin
KhandelwalA25-Jun-09 19:01
KhandelwalA25-Jun-09 19:01 
AnswerRe: Error Pin
K030625-Jun-09 19:21
K030625-Jun-09 19:21 
GeneralRe: Error Pin
KhandelwalA25-Jun-09 19:23
KhandelwalA25-Jun-09 19:23 
GeneralRe: Error Pin
K030625-Jun-09 19:33
K030625-Jun-09 19:33 
GeneralRe: Error Pin
KhandelwalA25-Jun-09 19:35
KhandelwalA25-Jun-09 19:35 
GeneralRe: Error Pin
Christian Graus25-Jun-09 19:46
protectorChristian Graus25-Jun-09 19:46 
AnswerRe: Error Pin
N a v a n e e t h25-Jun-09 19:46
N a v a n e e t h25-Jun-09 19:46 
QuestionSSI from URL Pin
crazylad25-Jun-09 15:25
crazylad25-Jun-09 15:25 
QuestionDropDownList.SelectedItem.Text returning Null Pin
Norriskilla25-Jun-09 11:24
Norriskilla25-Jun-09 11:24 
AnswerRe: DropDownList.SelectedItem.Text returning Null Pin
Christian Graus25-Jun-09 18:36
protectorChristian Graus25-Jun-09 18:36 
GeneralRe: DropDownList.SelectedItem.Text returning Null Pin
Norriskilla26-Jun-09 3:28
Norriskilla26-Jun-09 3:28 
QuestionPorting over controls [VB.net -> ASP.NET] Pin
EliottA25-Jun-09 9:44
EliottA25-Jun-09 9:44 

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.