I have tried several ways but just cannot figure our how to populate some formviews with the data I have brought up in a gridview.
Here is my code so far. I just showing the code behind because my gridview and forms are not a problem. Where I am stuck is at the GridView1_SelectedIndexChanged at the bottom of the code.
public partial class WorkSheetPrint : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
protected void CheckBoxes(object sender, EventArgs e)
string str = "SELECT P.CBID, P.CBAddress, P.PAddress, PP.PowerID, PP.EStage, PP.Status, FROM P LEFT JOIN PP ON P.CBID = P.CBID WHERE PP.EStage IN (";
int flag = 0;
foreach (ListItem li in CheckBoxList.Items)
View Complete Post