Click here to Skip to main content
15,888,803 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to add hot keys to ASP.NET MVC application? Pin
Jasmine250115-May-13 4:59
Jasmine250115-May-13 4:59 
GeneralRe: how to add hot keys to ASP.NET MVC application? Pin
manoj.jsm15-May-13 21:17
manoj.jsm15-May-13 21:17 
Questionadding two datatables..columnwise Pin
Anuraag113-May-13 20:19
Anuraag113-May-13 20:19 
AnswerRe: adding two datatables..columnwise Pin
Jasmine250114-May-13 6:33
Jasmine250114-May-13 6:33 
GeneralRe: adding two datatables..columnwise Pin
Anuraag114-May-13 21:55
Anuraag114-May-13 21:55 
GeneralRe: adding two datatables..columnwise Pin
Jasmine250115-May-13 4:50
Jasmine250115-May-13 4:50 
GeneralRe: adding two datatables..columnwise Pin
Anuraag115-May-13 20:54
Anuraag115-May-13 20:54 
GeneralRe: adding two datatables..columnwise Pin
Jasmine250116-May-13 5:36
Jasmine250116-May-13 5:36 
Keep in mind that I get an email copy of your comments even if you delete them later. I'm just trying to help you get better answers. Whenever you post a question, please read it carefully before posting, to make sure you've given the information needed to answer the question completely.

When working with GridView object, it can be tricky to get values from the data - much better to get those from the underlying dataset itself. But, you can sometimes get it this way...

(because it's zero-indexed, this would be the third cell from the left)
C#
myGridView.Rows[myRowIndex].Cells[2];


The problem is, the object living at that reference is a "TableCell" object, and you'll have to extract the data value out of there somehow. Remember, the GridView is the VISUAL object, not the data object. The best way to find data when the user clicks on a row in a GridView is to use the primary key and go back to the original DataSet which is bound to the control.
QuestionLog in ASP.NET Pin
duong ba phuc13-May-13 16:39
duong ba phuc13-May-13 16:39 
QuestionRe: Log in ASP.NET Pin
Sandeep Mewara13-May-13 19:04
mveSandeep Mewara13-May-13 19:04 
AnswerRe: Log in ASP.NET Pin
duong ba phuc13-May-13 20:30
duong ba phuc13-May-13 20:30 
SuggestionRe: Log in ASP.NET Pin
Bikash Prakash Dash13-May-13 19:07
Bikash Prakash Dash13-May-13 19:07 
GeneralRe: Log in ASP.NET Pin
duong ba phuc13-May-13 20:30
duong ba phuc13-May-13 20:30 
GeneralRe: Log in ASP.NET Pin
Bikash Prakash Dash13-May-13 20:37
Bikash Prakash Dash13-May-13 20:37 
GeneralRe: Log in ASP.NET Pin
duong ba phuc14-May-13 2:22
duong ba phuc14-May-13 2:22 
GeneralRe: Log in ASP.NET Pin
Vani Kulkarni13-May-13 22:38
professionalVani Kulkarni13-May-13 22:38 
GeneralRe: Log in ASP.NET Pin
duong ba phuc14-May-13 2:23
duong ba phuc14-May-13 2:23 
AnswerRe: Log in ASP.NET Pin
ZurdoDev14-May-13 7:54
professionalZurdoDev14-May-13 7:54 
GeneralRe: Log in ASP.NET Pin
duong ba phuc14-May-13 14:07
duong ba phuc14-May-13 14:07 
GeneralRe: Log in ASP.NET Pin
ZurdoDev14-May-13 14:34
professionalZurdoDev14-May-13 14:34 
QuestionHow do I clear the server cache in asp.net? Pin
Xarzu13-May-13 13:33
Xarzu13-May-13 13:33 
AnswerRe: How do I clear the server cache in asp.net? Pin
dusty_dex13-May-13 14:28
dusty_dex13-May-13 14:28 
Questionhow to access counter in for loop Pin
mhd.sbt13-May-13 10:17
mhd.sbt13-May-13 10:17 
QuestionRe: how to access counter in for loop Pin
ZurdoDev14-May-13 7:55
professionalZurdoDev14-May-13 7:55 
AnswerRe: how to access counter in for loop Pin
vinay_sinha22-May-13 0:17
vinay_sinha22-May-13 0:17 

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.