i need help to dislpy unic city name if city name are same then city data is disply but city name is not display?
my code like this:
<%
string tmp = "";
tmp=Convert.ToString(dstTourData1.Rows[i]["CityName"]);
if (tmp !=Convert.ToString(dstTourData1.Rows[i]["CityName"]))
{
%>
<%=dstTourData1.Rows[i]["CityName"] %>,<%=dstTourData1.Rows[i]["stateName"] %>,<%=dstTourData1.Rows[i]["CountryName"] %>
<%
for (int j = 0; j
" height="60" width="60" style="margin-right:25px" />
" height="60" width="60" style="margin-right:25px" />
" height="60" width="60" style="margin-right:25px" />
" height="60" width="60" style="margin-right:25px" />
" height="60" width="60" style="margin-right:25px" />
{
<%
<%=dstTourData1.Rows[i]["lname"] %>
<%=dstTourData1.Rows[i]["detail"] %>
Address : <%=dstTourData1.Rows[i]["address"] %>
%>
}
}
%>
3 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin SontakkePosted Mar 15, 2018, 7:20 AM
Dhimesh ParmarPosted Mar 15, 2018, 4:11 AM
Nitin SontakkePosted Mar 15, 2018, 4:07 AM