TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dhimesh Parmar
NA
126
14.6k
if same city name are there then it can'n repeat?
Mar 15 2018 3:56 AM
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"]))
{
%>
<div class="col-md-3">
<h3><%=dstTourData1.Rows[i]["CityName"] %>,<%=dstTourData1.Rows[i]["stateName"] %>,<%=dstTourData1.Rows[i]["CountryName"] %></h3>
</div>
<%
for (int j = 0; j <dstTourData1.Rows.Count; j++)
{
<%
<div class="col-md-9">
<br />
<br />
<div class="col-md-12">
<h4><%=dstTourData1.Rows[i]["lname"] %></h4>
<p>
<%=dstTourData1.Rows[i]["detail"] %>
<br />
<b>Address </b>: <%=dstTourData1.Rows[i]["address"] %>
</p>
<p>
<img src="UploadImages/<%=dstTourData1.Rows[i]["image1"]%>" height="60" width="60" style="margin-right:25px" />
<img src="UploadImages/<%=dstTourData1.Rows[i]["image2"]%>" height="60" width="60" style="margin-right:25px" />
<img src="UploadImages/<%=dstTourData1.Rows[i]["image3"]%>" height="60" width="60" style="margin-right:25px" />
<img src="UploadImages/<%=dstTourData1.Rows[i]["image4"]%>" height="60" width="60" style="margin-right:25px" />
<img src="UploadImages/<%=dstTourData1.Rows[i]["image5"]%>" height="60" width="60" style="margin-right:25px" />
</p>
<!-- End row -->
</div>
</div>
<!-- End col-md-9 -->
</div>
%>
}
}
%>
Reply
Answers (
3
)
edit opreation of datepicker
Fileupload control gets cleared after button click