Click here to Skip to main content
15,892,298 members

Comments by Sam Ferin (Top 15 by date)

Sam Ferin 11-Mar-15 4:48am View    
Ok.. Thanks..
Sam Ferin 11-Mar-15 1:09am View    
Firstly, I am fetching the names form another table and loading the names in the checkboxlist in a form. and the checked values will be saved in a different table. Now my requirement is to remove the checked name from the checkboxlist.
Sam Ferin 11-Mar-15 1:03am View    
Yes.. when i save "Sam" it will get stored in a datatable..
Sam Ferin 10-Mar-15 8:46am View    
I'm loading the checkboxlist values by fetching it from database..


sQuery = "SELECT EmpNo, EmpName, Dept,(EmpName) + ' - ' + 'Month' + Convert(VARCHAR,Month) AS 'EmpData' FROM"
+ " PB_PayBillPreparedDetails

if (dtblEmpData.Rows.Count >= 1)
{
ChkEmpNoName.DataSource = dtblEmpData;
ChkEmpNoName.DataTextField = "EmpData";
ChkEmpNoName.DataValueField = "EmpNo";
ChkEmpNoName.DataBind();
}
Sam Ferin 10-Mar-15 8:19am View    
Actually the values can be saved "n" times.. So the same Name can repeat.