Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Transposed my Data table data Coloumns to rows and rows to columns and then Binded to gridview(Auto Generated) as below

Collapse | Copy Code DataTable transposedTable = GetTransposedTable(dtdata); gdvbdgconsol.DataBind(); Dynamically Added Linkbuttons To entire 3rd row

Collapse | Copy Code protected void gdvbdgconsol_OnRowDataBound(object sender, GridViewRowEventArgs e) { if(e.Row.RowIndex==2) { LinkButton lbt = new LinkButton(); lbt.Text = e.Row.Cells[j].Text; lbt.ID = j.ToString();

                //lbt.CommandName = "VIEW";
                                   // lbt.Command += LinkButton_Command;
                lbt.Click += new EventHandler(lbt_OnClick);


                e.Row.Cells[j].Controls.Add(lbt);

} }when Link Button clicked no change occurred

Please Provide Solution as soon as possible Thanks in Advance. .

share|improve this question

closed as off topic by phwd Oct 27 '12 at 11:04

Questions on Web Applications Stack Exchange are expected to relate to web applications within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.