Click here to Skip to main content
15,923,051 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: [newbie] Wizard Control [modified] Pin
jon-8018-Jan-09 8:45
professionaljon-8018-Jan-09 8:45 
QuestionMultiple Update Panels in a Page not firing Pin
meeram39516-Jan-09 21:17
meeram39516-Jan-09 21:17 
AnswerRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana16-Jan-09 21:31
professionalAbhijit Jana16-Jan-09 21:31 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39516-Jan-09 23:29
meeram39516-Jan-09 23:29 
GeneralRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana17-Jan-09 0:09
professionalAbhijit Jana17-Jan-09 0:09 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39517-Jan-09 17:41
meeram39517-Jan-09 17:41 
GeneralRe: Multiple Update Panels in a Page not firing Pin
Abhijit Jana17-Jan-09 19:54
professionalAbhijit Jana17-Jan-09 19:54 
GeneralRe: Multiple Update Panels in a Page not firing Pin
meeram39518-Jan-09 23:31
meeram39518-Jan-09 23:31 
QuestionSession probs??? Pin
Member 387988116-Jan-09 19:09
Member 387988116-Jan-09 19:09 
AnswerRe: Session probs??? Pin
Abhijit Jana16-Jan-09 19:27
professionalAbhijit Jana16-Jan-09 19:27 
AnswerRe: Session probs??? Pin
Aman Bhullar16-Jan-09 19:33
Aman Bhullar16-Jan-09 19:33 
Questionset the cursor at the end of textbox Pin
dilip51416-Jan-09 18:36
dilip51416-Jan-09 18:36 
AnswerRe: set the cursor at the end of textbox Pin
Abhijit Jana16-Jan-09 19:31
professionalAbhijit Jana16-Jan-09 19:31 
Questionhelp me Pin
ArunRevathy16-Jan-09 17:56
ArunRevathy16-Jan-09 17:56 
AnswerRe: help me Pin
N a v a n e e t h16-Jan-09 18:29
N a v a n e e t h16-Jan-09 18:29 
AnswerRe: help me Pin
Abhijit Jana16-Jan-09 19:09
professionalAbhijit Jana16-Jan-09 19:09 
AnswerRe: help me Pin
Christian Graus17-Jan-09 0:25
protectorChristian Graus17-Jan-09 0:25 
QuestionUnable to get the response code from authorize .net Pin
vnr16-Jan-09 17:35
vnr16-Jan-09 17:35 
AnswerRe: Unable to get the response code from authorize .net Pin
N a v a n e e t h16-Jan-09 18:31
N a v a n e e t h16-Jan-09 18:31 
QuestionEditing rows in a GridView Pin
Cyberpulse16-Jan-09 15:37
Cyberpulse16-Jan-09 15:37 
I have a gridview that is being dynamically populated with data based on textbox values at runtime. The code inside the button click is as follows:-

1 conn.Open();
2 string strSQL = "SELECT [UserId], [IsLockedOut] FROM [ac_Users] WHERE ([UserId] =" + Int32.Parse(tb_UserID.Text) + ")";
3 SqlCommand cmd = new SqlCommand(strSQL, conn);
4 DataTable dt = new DataTable();
5 SqlDataAdapter sqlAdapter = new SqlDataAdapter(null, conn);
6 sqlAdapter.SelectCommand = cmd;
7 sqlAdapter.Fill(dt);
8 conn.Close();
9 try
10 {
11 grd_Users.DataSource = dt.DefaultView;
12 grd_Users.DataBind();
13 pnl_Users.Visible = true;
14 }
15 catch (Exception ex)
16 {
17 TestUtils2.TestLogger.WriteErrorEntry(ex.Message, AuctivaUtils2.eAuctivaLogFile.General);
18 }
19 finally
20 {
21 conn.Close();
22 }

The gridview is correctly populated with the data I need, however I want each row in the data that is returned to be editable. I have the AutoGenerateEditButton property set to true and have also set the DataKeys property of the the gridview with the primary key of the table being returned.
However when I click the 'edit" link that appears in each row in the gridview, nothing happens. How do I make that button make the corresponding row editable ?
AnswerRe: Editing rows in a GridView Pin
Jon Rista16-Jan-09 15:48
Jon Rista16-Jan-09 15:48 
GeneralRe: Editing rows in a GridView Pin
Cyberpulse17-Jan-09 21:17
Cyberpulse17-Jan-09 21:17 
QuestionCustom Server Control Color Property Problem Pin
vickyshah16-Jan-09 9:30
vickyshah16-Jan-09 9:30 
AnswerRe: Custom Server Control Color Property Problem Pin
N a v a n e e t h16-Jan-09 15:27
N a v a n e e t h16-Jan-09 15:27 
Question[newbie] Pin
jon-8016-Jan-09 9:04
professionaljon-8016-Jan-09 9:04 

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.