please help me
I have used datalist instead of gridview what has itemtemplate. It looks like things changed with frameworks and sdk development kits. That is why your gridview has itemtemplate and mine doesnt. Anyway now my page looks at below . I have add Textbox1 and Button1 with text = 'Select'
ASP:Datalist itemplate editing
I have closed the itemplate editing and seem as below Edited and closed
I executed the page it seem working you may see textbox added in itemtemplate has data same as your at bgridview. below
Page is working
method WebForm1.Button1_Click(sender: System.Object; e: System.EventArgs); begin session["Category"] := Textbox1.Text; end;
this resulted Error 2 (PE9) Unknown identifier "Textbox1" click
Please help me to attach a session to write in label1 from textbox1 when I click the button
I cant add the asp codes for ASP:Datalist1 here gives error but it very similar to gridview code.
I will appreciate it.