Click here to Skip to main content
15,909,822 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Negative Amounts? Pin
DavidNohejl7-Feb-07 5:02
DavidNohejl7-Feb-07 5:02 
GeneralRe: Negative Amounts? Pin
Murthy Puvvada7-Feb-07 5:19
Murthy Puvvada7-Feb-07 5:19 
AnswerRe: Negative Amounts? Pin
Guffa7-Feb-07 6:20
Guffa7-Feb-07 6:20 
GeneralRe: Negative Amounts? Pin
Murthy Puvvada7-Feb-07 6:38
Murthy Puvvada7-Feb-07 6:38 
QuestionCan't retrieve data out of a GridView Control Pin
Quecumber2567-Feb-07 4:08
Quecumber2567-Feb-07 4:08 
AnswerRe: Can't retrieve data out of a GridView Control Pin
minhpc_bk7-Feb-07 13:58
minhpc_bk7-Feb-07 13:58 
GeneralRe: Can't retrieve data out of a GridView Control Pin
Quecumber2568-Feb-07 3:12
Quecumber2568-Feb-07 3:12 
GeneralRe: Can't retrieve data out of a GridView Control Pin
minhpc_bk8-Feb-07 15:57
minhpc_bk8-Feb-07 15:57 
Actually, you can set the DataKeyNames property either in the control definition or in code, the values should be taken from the result data reader. For example:

GridView1.DataKeyNames = new string[] { "Id" };

....

protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
    object key = GridView1.DataKeys[e.NewEditIndex].Value;
}




QuestionURGENT: Datalist question and Javascript Pin
Nada Adel7-Feb-07 3:14
Nada Adel7-Feb-07 3:14 
AnswerRe: URGENT: Datalist question and Javascript Pin
Not Active7-Feb-07 3:47
mentorNot Active7-Feb-07 3:47 
GeneralRe: URGENT: Datalist question and Javascript Pin
Nada Adel7-Feb-07 7:24
Nada Adel7-Feb-07 7:24 
QuestionReporting Problem Pin
Sarfaraj Ahmed7-Feb-07 3:08
Sarfaraj Ahmed7-Feb-07 3:08 
QuestionError in datagrid paging Pin
NetBot7-Feb-07 2:23
NetBot7-Feb-07 2:23 
QuestionHow to make secure login page ? Pin
Member 20728477-Feb-07 2:21
Member 20728477-Feb-07 2:21 
AnswerRe: How to make secure login page ? Pin
badgrs7-Feb-07 2:46
badgrs7-Feb-07 2:46 
QuestionHow to make secure login page ? Pin
Member 20728477-Feb-07 2:20
Member 20728477-Feb-07 2:20 
QuestionCoding Multi parameter methods in ASP.NET 2.0 Pin
Omkar Ghaisas7-Feb-07 1:54
Omkar Ghaisas7-Feb-07 1:54 
AnswerRe: Coding Multi parameter methods in ASP.NET 2.0 Pin
Tristan Rhodes7-Feb-07 4:10
Tristan Rhodes7-Feb-07 4:10 
QuestionSecurity Concern Pin
Tristan Rhodes7-Feb-07 1:44
Tristan Rhodes7-Feb-07 1:44 
AnswerRe: Security Concern Pin
badgrs7-Feb-07 2:43
badgrs7-Feb-07 2:43 
GeneralRe: Security Concern Pin
Tristan Rhodes7-Feb-07 3:40
Tristan Rhodes7-Feb-07 3:40 
AnswerRe: Security Concern Pin
badgrs7-Feb-07 3:50
badgrs7-Feb-07 3:50 
GeneralRe: Security Concern Pin
Tristan Rhodes7-Feb-07 3:56
Tristan Rhodes7-Feb-07 3:56 
QuestionRegarding persistance Pin
Kissy167-Feb-07 1:32
Kissy167-Feb-07 1:32 
AnswerRe: Regarding persistance Pin
Sandeep Akhare7-Feb-07 1:53
Sandeep Akhare7-Feb-07 1:53 

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.