Buy Questpond's video subscriptions on
huge discount
.
Online: 695
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
Interview Questions
>
Loading ...
.Net interview question
Posted by
Priyatham
under
Interview Questions
on 7/3/2013 |
Points: 10
| Views : 1796 | Status :
[Member]
| Replies : 1
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Gridview.EditIndex = -1; why we are using this statement
M.priyatham
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Nadeemshaik
on: 7/3/2013
[Member]
Starter
|
Points: 25
0
If we are in Gridview's Edit or Update Mode, and if we do not want to have any gridview's row in edit mode, we have to set EditIndex = -1.
Gridview's row index starts from 0 to n-1, hence if you set any other value other than -1, your gridview will be still in edit mode.
Priyatham
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
Climax Delay Condoms for Long Lasting Pleasure
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
Where can I found sample MVC projects to learn and improve skills
(1)
Extract a value from HTML string
(0)
Get only year part from date string in SQL server
(0)
Get only year part from date string in SQL server
(0)
Get only year part from date string in SQL server
(0)
Get only year part from date string in SQL server
(0)
More ...