Click here to Skip to main content
15,913,239 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPath of the file locally and in the web server? Pin
Subin Alex13-May-09 0:02
Subin Alex13-May-09 0:02 
AnswerRe: Path of the file locally and in the web server? Pin
Baran M13-May-09 0:43
Baran M13-May-09 0:43 
AnswerRe: Path of the file locally and in the web server? Pin
saanj13-May-09 2:26
saanj13-May-09 2:26 
QuestionGetting a Value of a Hidden Field in Gridview Pin
Vimalsoft(Pty) Ltd12-May-09 23:58
professionalVimalsoft(Pty) Ltd12-May-09 23:58 
AnswerRe: Getting a Value of a Hidden Field in Gridview Pin
binarymax13-May-09 1:53
binarymax13-May-09 1:53 
GeneralRe: Getting a Value of a Hidden Field in Gridview Pin
Vimalsoft(Pty) Ltd13-May-09 2:01
professionalVimalsoft(Pty) Ltd13-May-09 2:01 
GeneralRe: Getting a Value of a Hidden Field in Gridview Pin
Ibrahim Bello14-May-09 6:25
Ibrahim Bello14-May-09 6:25 
AnswerRe: Getting a Value of a Hidden Field in Gridview Pin
Ibrahim Bello14-May-09 6:22
Ibrahim Bello14-May-09 6:22 
Hi,
1. At what point are you getting the IndexOutOfRangeException? Have you stepped through your code?

2. Instead of hiding the ID column you can decide not to bind the ID column to the gridview in the first place, by not specifying it in the gridview boundfield collections.

You can set the ID column of the datasource as a Primary Key to the GridView Rows which you can use for your delete.

hope this helps,

Ibrahim
QuestionHTML Table Cell value Pin
Girish48112-May-09 23:40
Girish48112-May-09 23:40 
AnswerRe: HTML Table Cell value Pin
Ramesh Swaminathan12-May-09 23:59
Ramesh Swaminathan12-May-09 23:59 
GeneralRe: HTML Table Cell value Pin
Girish48113-May-09 2:37
Girish48113-May-09 2:37 
GeneralRe: HTML Table Cell value Pin
Baran M13-May-09 18:19
Baran M13-May-09 18:19 
AnswerRe: HTML Table Cell value Pin
saanj13-May-09 2:29
saanj13-May-09 2:29 
QuestionDisplay image in Detailsvew control.... Pin
pranavcool12-May-09 23:18
pranavcool12-May-09 23:18 
AnswerRe: Display image in Detailsvew control.... Pin
Ramesh Swaminathan12-May-09 23:35
Ramesh Swaminathan12-May-09 23:35 
QuestionWeb.config Pin
Xpycm12-May-09 22:24
Xpycm12-May-09 22:24 
AnswerRe: Web.config Pin
Ramesh Swaminathan12-May-09 22:30
Ramesh Swaminathan12-May-09 22:30 
GeneralRe: Web.config Pin
Xpycm13-May-09 0:09
Xpycm13-May-09 0:09 
AnswerRe: Web.config Pin
Baran M12-May-09 22:51
Baran M12-May-09 22:51 
AnswerRe: Web.config Pin
Abhijit Jana12-May-09 22:53
professionalAbhijit Jana12-May-09 22:53 
AnswerRe: Web.config Pin
Xpycm13-May-09 0:37
Xpycm13-May-09 0:37 
GeneralRe: Web.config Pin
specialdreamsin13-May-09 0:50
specialdreamsin13-May-09 0:50 
QuestionAdding a Checkbox in a Gridview Pin
Vimalsoft(Pty) Ltd12-May-09 22:12
professionalVimalsoft(Pty) Ltd12-May-09 22:12 
AnswerRe: Adding a Checkbox in a Gridview Pin
Ramesh Swaminathan12-May-09 22:23
Ramesh Swaminathan12-May-09 22:23 
GeneralRe: Adding a Checkbox in a Gridview Pin
Vimalsoft(Pty) Ltd12-May-09 22:41
professionalVimalsoft(Pty) Ltd12-May-09 22:41 

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.