Click here to Skip to main content
15,896,063 members

Comments by hinzhonee (Top 12 by date)

hinzhonee 2-Jun-11 8:36am View    
it doesnot give me any err.when i print this _FILES['file2']['error']..it prints 1
hinzhonee 22-May-11 3:58am View    
Deleted
GoogleMapForASPNet1.GoogleMapObject.APIKey = ConfigurationManager.AppSettings["GoogleAPIKey"];
GoogleMapForASPNet1.GoogleMapObject.APIVersion = "5";
GoogleMapForASPNet1.GoogleMapObject.Width = "600px";
GoogleMapForASPNet1.GoogleMapObject.Height = "600px";
GoogleMapForASPNet1.GoogleMapObject.ZoomLevel = 14;
GoogleMapForASPNet1.GoogleMapObject.CenterPoint = new GooglePoint("CenterPoint", 33.586452327684200, 73.106203079223600);
DataSet ds = (DataSet)Session["obj"];

foreach (DataRow dRow in ds.Tables[0].Rows)
{
GoogleMapForASPNet1.GoogleMapObject.CenterPoint = new GooglePoint("CenterPoint", Convert.ToDouble(dRow["Latitude"]), Convert.ToDouble(dRow["Longitude"]));
GoogleMapForASPNet1.GoogleMapObject.APIKey = ConfigurationManager.AppSettings["GoogleAPIKey"];
GoogleMapForASPNet1.GoogleMapObject.Width = "500px"; // You can also specify percentage(e.g. 80%) here
GoogleMapForASPNet1.GoogleMapObject.Height = "500px";
GoogleMapForASPNet1.GoogleMapObject.ZoomLevel = 14;
GooglePoint GP2 = new GooglePoint();
GP2.ID = "SimplePushpin";
GP2.Latitude = Convert.ToDouble(dRow["Latitude"]);
GP2.Longitude = Convert.ToDouble(dRow["Longitude"]);
GP2.InfoHTML = "<table cellspacing='5'><tr><td colspan='2'>" + dRow["Address"].ToString() + "</td></tr><tr><td><img height='90' width='90' src='" + dRow["ImageName"].ToString() + "'border='0' /></td><td valign='top'>price:  " + dRow["Price"].ToString() + "<br>Area:  " + dRow["TotalArea"].ToString() + "<br>City:  " + dRow["City"].ToString() + "</td></tr></table>";
GoogleMapForASPNet1.GoogleMapObject.Points.Add(GP2);
}
hinzhonee 22-May-11 3:57am View    
Deleted
<asp:TabContainer ID="TabContainer2" runat="server" Width="640px" CssClass="NewsTab" BorderStyle="Double">
<asp:TabPanel runat="server" ID="mappanel"
HeaderText="Map">
<contenttemplate>
<asp:Panel ID="Panel3" runat="server">

<uc1:GoogleMapForASPNet ID="GoogleMapForASPNet1" runat="server" />




<asp:TabPanel runat="server" ID="TabPanel5"
HeaderText="Property Listing">
<contenttemplate>
<asp:Panel ID="deaultsearchlistpanel" runat="server">
<span style="color:#ff6622">
<div id="Results" runat="server" ></div>
</span>
<asp:GridView ID="propertylistings" runat="server" AutoGenerateColumns="False"
CssClass="grid-view" BorderWidth="2px" OnRowCreated="gvHover_RowCreated"
CellPadding="2" Font-Bold="False" Font-Names="Arial" AllowPaging="true"
PagerSettings-Visible="true" PageSize="2"
OnPageIndexChanging="GridView1_PageIndexChanging"
Font-Size="9pt" GridLines="None" ShowHeader="False">

<footerstyle>
<PagerStyle HorizontalAlign=
"Center" ForeColor="White" Font-Size="Large" BorderStyle="solid"

/>
<PagerSettings
Visible="true" Mode="NextPrevious"
NextPageImageUrl="images/nxt.png"
PreviousPageImageUrl="images/back.png" />



<columns>
<asp:TemplateField>
<itemtemplate>
<table width='600px' border='1'> <tr ><td colspan='2'><%#Eval("Title")%></td></tr><tr><td><img alt='<%#Eval("Title")%>' width='90' height='90' src='<%#Eval("ImageName")%>' border='0' /></td><td><%#Eval("Description")%><br/> <br/>Total Area: <%#Eval("TotalArea")%><br/>Status: <%#Eval("Status")%></td></tr><tr><td colspan='2' ><table border='1' ><tr><td ><%#Eval("bid")%> </td><td>

<asp:HyperLink ID="details" Text="View Details" runat="server" Target="_search"
NavigateUrl='<%# "DetailDescription.aspx?p_id=" + Eval("PropertyID") + "&prop_type=" + Server.UrlEncode(Eval("PropertyType").ToString()) + "&AgentID=" + Eval("AgentID")%>' />
  </td><td>  Post Comment
</td></tr></table></td></tr></table><br/>
















aspx.cs


GoogleMapForASPNet1.GoogleMapObject.APIKey = ConfigurationManager.AppSettings["GoogleAPIKey"];
GoogleMapForASPNet1.GoogleMapObject.APIVersion = "5";
GoogleMapForASPNet1.GoogleMapObject.Width = "600px";
GoogleMapForASPNet1.GoogleMapObject.Height = "600px";
GoogleMapForASPNet1.GoogleMapObject.ZoomLevel = 14;
GoogleMapForASPNet1.GoogleMapObject.CenterPoint = new GooglePoint("CenterPoint", 33.586452327684200, 73.106203079223600);
DataSet ds = (DataSet)Session["obj"];

foreach (DataRow dRow in ds.Tables[0].Rows)
{
GoogleMapForASPNet1.GoogleMapObject.CenterPoint = new GooglePoint("CenterPoint", Convert.ToDouble(dRow["Lati
hinzhonee 17-May-11 6:01am View    
no i want the result like this..actually i have a DateTime Field in both these tables and both rating and comment are posted at the same time so i want the cmment posted by a user on a specific agent on the same time
62 1 4 68 best 4 4/22/2011 12:59:54 AM
71 1 4 8 hello 4 5/17/2011 2:22:03 PM
hinzhonee 7-May-11 7:18am View    
it gives error that multipart identifier p.propertyID could not be bound..invalid column name propertyID