| | |
Index was out of range. Must be non-negative and less than the size of the collection
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Index was out of range. Must be non-negative and less than the size of the collection
0
#1 Nov 12th, 2008
asp.net Syntax (Toggle Plain Text)
singlecourse = Session("singlecourse") ename.Text = singlecourse.CourseName Session("testname") = singlecourse.CourseName Seclist = que.GetSection(singlecourse.CourseCode) Qnolist = que.GetQnumber(singlecourse.CourseCode) Session("totsec") = Seclist Session("totqno") = Qnolist Session("queslist") = queslist t1.Text = Profile.Ttime pos = InStr(t1.Text, ":") h1.Value = t1.Text.Substring(0, pos - 1) 'h2.Value = t1.Text.Substring(pos, 2) h2.Value = Right(t1.Text, t1.Text.Length - pos) End If Else ViewState("qno") = CType(Session("summary"), Integer) Session("summary") = "" summbtn.Visible = True queslist = Session("queslist") ename.Text = Session("testname") t1.Text = Session("etime") pos = InStr(t1.Text, ":") h1.Value = t1.Text.Substring(0, pos - 1) h2.Value = t1.Text.Substring(pos, 2) End If
Parameter name: index) aquestion.Text = queslist.Item(ViewState("qno")).Question
Last edited by peter_budo; Nov 12th, 2008 at 5:55 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- command line parameters part 2! (VB.NET)
- Bindingnavigator,Datagridview,textboxes (VB.NET)
- Index was out of range. Must be non-negative and less than the size of the collection (VB.NET)
- C# .NET Gridview (C#)
- Index was out of range. Must be non-negative and less than the size of the collection (VB.NET)
- Source Code that don't work? (Java)
- Paging in dataGrid (ASP.NET)
- not-a-virusadware (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.net - Flash Postback problem : Please Help
- Next Thread: Uploading Files!!!
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions compatible content contenttype countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iis javascript list listbox menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order panelmasterpagebuttoncontrols problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl tracking treeview unauthorized validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers





