79357241

Date: 2025-01-15 06:38:07
Score: 8.5 🚩
Natty:
Report link

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.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • RegEx Blacklisted phrase (3): Please help me to
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Eddie Turerer