my code like this:
<%
if(dstTourData1 != null)
{
if(dstTourData1.Rows.Count > 0)
{
for (int i = 0; i < dstTourData1.Rows.Count; i++)
{
%>
<%
string tmp=Convert.ToString(dstTourData1.Rows[i]["CityName"]);
if (tmp ==Convert.ToString(dstTourData1.Rows[i]["CityName"]))
{
for (int j = 0; j <=dstTourData.Rows.Count; j++)
{
%>
<%=dstTourData1.Rows[i]["CityName"] %>,<%=dstTourData1.Rows[i]["stateName"] %>,<%=dstTourData1.Rows[i]["CountryName"] %>
<%
}
}
%>
<%=dstTourData1.Rows[i]["CityName"] %>,<%=dstTourData1.Rows[i]["stateName"] %>,<%=dstTourData1.Rows[i]["CountryName"] %>
<%=dstTourData1.Rows[i]["lname"] %>
<%=dstTourData1.Rows[i]["detail"] %>
Address : <%=dstTourData1.Rows[i]["address"] %>
1 Reply
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, 8:54 AM
<%=thisCityName%>,<%=dstTourData1.Rows[i]["stateName"] %>,<%=dstTourData1.Rows[i]["CountryName"] %>
<%=dstTourData1.Rows[i]["lname"] %>