POST row id to a new page for editing

hikayeadam

New Member
Please help me out here I have about 1 day experience of C# ASP.NET web dev and I am stuck on something really simple. I am much more experienced in PHP and jQuery.What I need to do:
  • Create a GridView and display data from MSSQL DB \[code\][done]\[/code\]
  • Add buttons to each row to enable direct editing of values in two columns \[code\][done]\[/code\]
  • Each row represents a list of equipment that the user can edit/save, and I need to add an extra "Edit Details" button to each row \[code\][done]\[/code\]
  • Upon clicking the "Edit Details" button, I need to pass the id of that list to a new page where user can edit and save the list
I have added a \[code\]HyperLinkField\[/code\] for the row id to be passed on, in Visual Studio I have tried to config it so that the value can be read on the receiving page with \[code\]Request.Params["xxxx"]\[/code\] but it is not working.In PHP I would just create a \[code\]POST <form>\[/code\] with hidden \[code\]<input>\[/code\] values and obtain the value by \[code\]$_POST["xxxx"]\[/code\]However it seems that all this fancy ASP.NET and Visual Studio DataSource pointer/reference and config things are making things more complicated than I wished.I greatly appreciate any help given, or any resources that will be helpful for me to transfer my skills in PHP over to ASP.NET with C#.
 
Back
Top