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

ASP.NET

 
GeneralRe: mouseclick Pin
enjoycrack7-May-07 1:12
enjoycrack7-May-07 1:12 
GeneralRe: mouseclick Pin
Sebastian T Xavier7-May-07 1:19
Sebastian T Xavier7-May-07 1:19 
GeneralRe: mouseclick Pin
enjoycrack7-May-07 2:37
enjoycrack7-May-07 2:37 
GeneralRe: mouseclick Pin
Sebastian T Xavier7-May-07 2:47
Sebastian T Xavier7-May-07 2:47 
QuestionProblem with DataGrid Pin
zamiran6-May-07 23:04
zamiran6-May-07 23:04 
QuestionRe: Problem with DataGrid Pin
Chetan Ranpariya6-May-07 23:21
Chetan Ranpariya6-May-07 23:21 
GeneralRe: Problem with DataGrid [modified] Pin
zamiran6-May-07 23:27
zamiran6-May-07 23:27 
GeneralRe: Problem with DataGrid Pin
Chetan Ranpariya7-May-07 21:22
Chetan Ranpariya7-May-07 21:22 
Hi,

The solution I m giving you is as per my consideration because I am not aware of the term "SPCom" in your code.

As per your code your datatable is having only 2 columns "Field1" and "Field2". So the datagrid will have only 2 columns [0] and [1] when u bind it with the table.

In try block you are trying to access cell[2] which is actually 3rd column of the datagrid which does not exist. I think this is why you r getting this exception.

If I m correct then the solution is to have proper number of columns in your grid so that u can access them in your code.

I hope this will help you.

Thanks and Regards,
Chetan Ranpariya

QuestionCross Tab GridView Pin
APDevelop6-May-07 22:47
APDevelop6-May-07 22:47 
QuestionSend mail to microsoft exchange 2007- asp.net 2.0 Pin
vlmlnt6-May-07 22:07
vlmlnt6-May-07 22:07 
AnswerRe: Send mail to microsoft exchange 2007- asp.net 2.0 Pin
Rahul Babu6-May-07 22:29
Rahul Babu6-May-07 22:29 
QuestionPrint the contents of a DataGrid Pin
arun rajappan6-May-07 22:00
arun rajappan6-May-07 22:00 
AnswerRe: Print the contents of a DataGrid Pin
Spunky Coder6-May-07 22:29
Spunky Coder6-May-07 22:29 
GeneralRe: Print the contents of a DataGrid Pin
arun rajappan7-May-07 0:09
arun rajappan7-May-07 0:09 
Questionpleas guide me how we change the color of lable or link buttton in datagird temple programmatically Pin
Suhail Shahab6-May-07 21:55
Suhail Shahab6-May-07 21:55 
AnswerRe: pleas guide me how we change the color of lable or link buttton in datagird temple programmatically Pin
Chetan Ranpariya6-May-07 22:52
Chetan Ranpariya6-May-07 22:52 
GeneralRe: pleas guide me how we change the color of lable or link buttton in datagird temple programmatically Pin
Suhail Shahab7-May-07 1:53
Suhail Shahab7-May-07 1:53 
GeneralRe: pleas guide me how we change the color of lable or link buttton in datagird temple programmatically Pin
Chetan Ranpariya7-May-07 2:17
Chetan Ranpariya7-May-07 2:17 
QuestionClear Browser's Cache after hitting Logout Button? Pin
md Nazeem6-May-07 21:39
md Nazeem6-May-07 21:39 
AnswerRe: Clear Browser's Cache after hitting Logout Button? Pin
Spunky Coder6-May-07 22:13
Spunky Coder6-May-07 22:13 
GeneralRe: Clear Browser's Cache after hitting Logout Button? Pin
md Nazeem6-May-07 23:09
md Nazeem6-May-07 23:09 
AnswerRe: Clear Browser's Cache after hitting Logout Button? Pin
Sherin Iranimose8-May-07 0:49
Sherin Iranimose8-May-07 0:49 
QuestionRedirect from another page Pin
Rahul Babu6-May-07 21:01
Rahul Babu6-May-07 21:01 
AnswerRe: Redirect from another page Pin
Sandeep Akhare6-May-07 21:17
Sandeep Akhare6-May-07 21:17 
QuestionReport Viewer vs 2005 Pin
oskardiazdeleon6-May-07 20:51
oskardiazdeleon6-May-07 20:51 

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.