P
Phill
I am getting a build error but it doesn't give me an
error message. I know it has to do with the following
line of code. What could be the problem and why don't I
get an error message? Thanks.
for (int i = 0; i <= detailView1.Items.Count - 1; i++)
{
if (detailView1.Items.GetType().ToString().EndsWith
("ItemDateTime"))
{
if advancedList1.SelectedRow[detailView1.Items
.Name].ToString() <> ""
detailView1.Items.Value =
advancedList1.SelectedRow[detailView1.Items.Name]
else
detailView1.Items.Value =
advancedList1.SelectedRow[detailView1.Items.Name]
}
{
detailView1.Items.Value =
advancedList1.SelectedRow[detailView1.Items.Name];
}
}
error message. I know it has to do with the following
line of code. What could be the problem and why don't I
get an error message? Thanks.
for (int i = 0; i <= detailView1.Items.Count - 1; i++)
{
if (detailView1.Items.GetType().ToString().EndsWith
("ItemDateTime"))
{
if advancedList1.SelectedRow[detailView1.Items
.Name].ToString() <> ""
detailView1.Items.Value =
advancedList1.SelectedRow[detailView1.Items.Name]
else
detailView1.Items.Value =
advancedList1.SelectedRow[detailView1.Items.Name]
}
{
detailView1.Items.Value =
advancedList1.SelectedRow[detailView1.Items.Name];
}
}