Click here to Skip to main content
15,923,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Expression too complex Pin
PIEBALDconsult4-Jun-08 7:33
mvePIEBALDconsult4-Jun-08 7:33 
QuestionDynamaic GridView Issue Pin
GroCareer3-Jun-08 16:46
GroCareer3-Jun-08 16:46 
AnswerRe: Dynamaic GridView Issue Pin
Ashfield3-Jun-08 21:09
Ashfield3-Jun-08 21:09 
Questionthread ID Pin
George_George3-Jun-08 15:40
George_George3-Jun-08 15:40 
AnswerRe: thread ID Pin
Luc Pattyn3-Jun-08 16:46
sitebuilderLuc Pattyn3-Jun-08 16:46 
GeneralRe: thread ID Pin
George_George3-Jun-08 17:02
George_George3-Jun-08 17:02 
GeneralRe: thread ID Pin
anujarya_20013-Jun-08 18:19
anujarya_20013-Jun-08 18:19 
GeneralRe: thread ID Pin
George_George3-Jun-08 18:22
George_George3-Jun-08 18:22 
GeneralRe: thread ID Pin
anujarya_20013-Jun-08 18:48
anujarya_20013-Jun-08 18:48 
GeneralRe: thread ID Pin
George_George3-Jun-08 18:50
George_George3-Jun-08 18:50 
GeneralRe: thread ID Pin
Luc Pattyn3-Jun-08 23:38
sitebuilderLuc Pattyn3-Jun-08 23:38 
GeneralRe: thread ID Pin
George_George3-Jun-08 23:49
George_George3-Jun-08 23:49 
GeneralRe: thread ID Pin
Luc Pattyn4-Jun-08 0:07
sitebuilderLuc Pattyn4-Jun-08 0:07 
GeneralRe: thread ID Pin
George_George4-Jun-08 0:44
George_George4-Jun-08 0:44 
GeneralRe: thread ID Pin
Luc Pattyn4-Jun-08 0:52
sitebuilderLuc Pattyn4-Jun-08 0:52 
GeneralRe: thread ID Pin
George_George4-Jun-08 1:11
George_George4-Jun-08 1:11 
GeneralRe: thread ID Pin
Luc Pattyn4-Jun-08 1:47
sitebuilderLuc Pattyn4-Jun-08 1:47 
GeneralRe: thread ID Pin
George_George4-Jun-08 1:53
George_George4-Jun-08 1:53 
GeneralRe: thread ID Pin
Luc Pattyn4-Jun-08 2:04
sitebuilderLuc Pattyn4-Jun-08 2:04 
GeneralRe: thread ID Pin
George_George4-Jun-08 2:06
George_George4-Jun-08 2:06 
GeneralRe: thread ID Pin
George_George4-Jun-08 2:03
George_George4-Jun-08 2:03 
GeneralRe: thread ID Pin
Luc Pattyn4-Jun-08 2:07
sitebuilderLuc Pattyn4-Jun-08 2:07 
GeneralRe: thread ID Pin
George_George4-Jun-08 2:11
George_George4-Jun-08 2:11 
QuestionNeed help with a Microsoft Word Addin Pin
Shriniwasan Viswanathan3-Jun-08 14:03
Shriniwasan Viswanathan3-Jun-08 14:03 
QuestionBinding CSV to CheckBoxList Pin
stormcandi3-Jun-08 11:39
stormcandi3-Jun-08 11:39 
I have a checkboxlist with different items. I have a comma separated values field that I need to bind to this cbl. The cbl is in a detailsview. I know that I need to loop through the dataset rows so each record in the detailsview is bound with the correct information, however I have only figured out how to bind the first row in the dataset for every record in the detailsview. I know I need to loop through the dataset but am not sure how to do it at the same time as looping through the rows in the detailsview. This below function is called onDataBinding. Can anyone assist?

Thanks in advance!

public void FillControls()
{
    //this executes when the form view is populated so the services are populated correctly
    int intSN = Convert.ToInt32(Request.QueryString["LookUp"].ToString());
    Selections db = new Selections();
    DataSet ds = db.Services(intSNo);
    int iCount = ds.Tables[0].Rows.Count;
    if (iCount != 0)
    {
        if (dvGetMoreData.CurrentMode != DetailsViewMode.Insert)
        {
            FillMultipleCheckboxesWithValue((CheckBoxList)dvGetMoreData.FindControl("cblSvcs"), ds.Tables[0].Rows[0]["Services"].ToString());
        }
    }
}


~Candi

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.