Click here to Skip to main content
15,917,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioniframe -- URGENT Pin
lehya17-Aug-06 7:26
lehya17-Aug-06 7:26 
AnswerRe: iframe -- URGENT Pin
Grapes-R-Fun17-Aug-06 11:29
Grapes-R-Fun17-Aug-06 11:29 
AnswerRe: iframe -- URGENT Pin
Guffa17-Aug-06 12:26
Guffa17-Aug-06 12:26 
Questionsugest datagrid delete codeing [modified] Pin
omi9817-Aug-06 5:39
omi9817-Aug-06 5:39 
AnswerRe: sugest datagrid delete codeing Pin
minhpc_bk17-Aug-06 20:14
minhpc_bk17-Aug-06 20:14 
GeneralRe: sugest datagrid delete codeing Pin
omi9818-Aug-06 1:47
omi9818-Aug-06 1:47 
GeneralRe: sugest datagrid delete codeing Pin
minhpc_bk18-Aug-06 12:09
minhpc_bk18-Aug-06 12:09 
GeneralRe: sugest datagrid delete codeing Pin
omi9820-Aug-06 7:31
omi9820-Aug-06 7:31 
i forword source error and stack trace
boldline indicate error line

Line 127: Private Sub DataGrid1_DeleteCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.DeleteCommand
Line 128: Dim d As String
Line 129: d = DataGrid1.DataKeys(e.Item.ItemIndex)
Line 130: cmd = New SqlCommand("DELETE FROM functional WHERE comp=@comp", con)
Line 131: cmd.Parameters.Add("@comp", d)
******************************************************
Stack Trace
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.ArrayList.get_Item(Int32 index) +91
System.Web.UI.WebControls.DataKeyCollection.get_Item(Int32 index)
WebApplication2.WebForm12.DataGrid1_DeleteCommand(Object source, DataGridCommandEventArgs e) in c:\inetpub\wwwroot\WebApplication2\js\WebForm12.aspx.vb:129
System.Web.UI.WebControls.DataGrid.OnDeleteCommand(DataGridCommandEventArgs e)
System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e)
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e)
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()




omi

QuestionDrop Down Lists storage in SQL server [modified] Pin
Dayekh17-Aug-06 5:37
Dayekh17-Aug-06 5:37 
AnswerRe: Drop Down Lists storage in SQL server Pin
Guffa17-Aug-06 6:38
Guffa17-Aug-06 6:38 
GeneralRe: Drop Down Lists storage in SQL server Pin
Dayekh17-Aug-06 22:20
Dayekh17-Aug-06 22:20 
AnswerRe: Drop Down Lists storage in SQL server Pin
postmaster@programmingknowledge.com17-Aug-06 22:13
postmaster@programmingknowledge.com17-Aug-06 22:13 
GeneralRe: Drop Down Lists storage in SQL server Pin
Dayekh17-Aug-06 22:21
Dayekh17-Aug-06 22:21 
QuestionIntegration between ASP .NET and PHP based forums Pin
paul.m@antuk.com17-Aug-06 5:30
paul.m@antuk.com17-Aug-06 5:30 
QuestionDatabase Trace Listners - Enterprise Library 2.0 Pin
mrinmayeek17-Aug-06 5:30
mrinmayeek17-Aug-06 5:30 
QuestionHello Nish Pin
BalasahebK17-Aug-06 4:15
BalasahebK17-Aug-06 4:15 
AnswerRe: Hello Nish Pin
minhpc_bk17-Aug-06 15:59
minhpc_bk17-Aug-06 15:59 
Questionhow to print crystal report from asp.net? Pin
subburaj.sabapathy17-Aug-06 4:00
subburaj.sabapathy17-Aug-06 4:00 
Questionregarding datagrid Pin
Uma Kameswari17-Aug-06 1:19
Uma Kameswari17-Aug-06 1:19 
AnswerRe: regarding datagrid [modified] Pin
Stephen McGuire17-Aug-06 2:08
Stephen McGuire17-Aug-06 2:08 
AnswerRe: regarding datagrid Pin
kalyanPaladugu17-Aug-06 11:50
kalyanPaladugu17-Aug-06 11:50 
QuestionXmlDataSource [modified] Pin
mcgann17-Aug-06 0:22
mcgann17-Aug-06 0:22 
AnswerRe: XmlDataSource Pin
seee sharp17-Aug-06 2:56
seee sharp17-Aug-06 2:56 
QuestionHow to take reference of connection string or connection Pin
sabby200617-Aug-06 0:18
sabby200617-Aug-06 0:18 
AnswerRe: How to take reference of connection string or connection Pin
_AK_17-Aug-06 0:24
_AK_17-Aug-06 0:24 

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.