can we use a single veriable for diferent values to print in inline code at the same time. i am using datalist_itembound event i want to print totRent2 of different cars using the same variable.
--------------------------------------------------------------------------------------------
protected
{
totdays = (end - start).Days;
totdays = totdays + 1;
}
rent =
tot = rent * totdays;
totRent = tot.ToString();
id = (
it++;
totRent2 = tot.ToString();