This is sankarapandian, I have one doubts in ultrawebgrid.Here i have populated the data from the database, In each row i have checkbox in a column.When select this column checkbox (name is Chkcolumn) the value becomes true.This condition i have manipulated
to save button the database and display the one another grid.In vb mousedown event is used to developed this project.I have attached code for your reference.
In the above code after selcect the checkbox in ultrawebgrid this codition is true and go to sAssignperson and save the those string.But control is goes out from the loop.Why this problem is came here,any body know about this please help me to finish this
project.
sankarapandi...
Member
5 Points
1 Post
Infragistics ultragridview
Oct 20, 2006 07:07 AM|LINK
Hello ,
This is sankarapandian, I have one doubts in ultrawebgrid.Here i have populated the data from the database, In each row i have checkbox in a column.When select this column checkbox (name is Chkcolumn) the value becomes true.This condition i have manipulated to save button the database and display the one another grid.In vb mousedown event is used to developed this project.I have attached code for your reference.
for (int iCount = 0; iCount <= ugrdAssign.Rows.Count - 1; iCount++)
{
Infragistics.WebUI.UltraWebGrid.UltraGridRow MyRow = ugrdAssign.Rows[iCount];
DoneAll = false;
if (Convert.ToBoolean(MyRow.Cells.FromKey("Done").Value)!= false)
{
DoneAll = true;
}
if (Convert.ToBoolean(MyRow.Cells.FromKey("ChkColumn").Value) ==true)
{
sAssignPerson = sAssignPerson + "<Assign CID='" + MyRow.Cells.FromKey("AssignmentCID").Value + "'" + " AssignName='" + MyRow.Cells.FromKey("Name").Value + "'" + " RecLoc='" + MyRow.Cells.FromKey("RecLoc").Value + "'" + " NoBill='" + MyRow.Cells.FromKey("NoBill").Value + "'" + " Done='" + MyRow.Cells.FromKey("Done").Value + "'" + " AssignID='" + MyRow.Cells.FromKey("AssignmentID").Value + "'" + "></Assign>";
}
}
In the above code after selcect the checkbox in ultrawebgrid this codition is true and go to sAssignperson and save the those string.But control is goes out from the loop.Why this problem is came here,any body know about this please help me to finish this project.
Thankyou
sankar
c#