Jump to content

vadder85

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by vadder85

  1. vadder85

    help me!!!

    Hello..I have one problem here regarding on putting html into aspBelow is my code<% if request("id_map") = "1" then "<img src='images/spinstar.gif'>" %>The error returned : " Syntax Error "Can someone correct the error please?
  2. well..tq 4 all the info..but suddenly i was thinking that I if could set my server to make all user must have to view my default page first before they could go anywhere...any possibilities?
  3. Hi everyone..hope can help me...I want to make users automatically redirected to my system default page when they open a web browserIs there any way to do that instead having set it as a home page?tq~
  4. hi..i have one problem here and hope someone can help me...This is my mapmy question is, how can I display an arrow (animation) on the specific retail store based on the information i send to the page (for example maybe the hot spot coordinate of the retail store). So that, the arrow will show the exact location of the retail store searched earlier in the system.For example, perhaps I want to find McDonalds store, then the system or map should display the exact location of McDonalds restaurant with displaying the arrow on the location of McDtq and hope get some replies from all of u
  5. Hi..i have one problem here while manipulating my mapI managed to draw out a mall map that contains the location of each store..When a user try to view the location of the store, i will display the map image..But, can someone tell me on how I can make the map to automatically put the viewed store on the middle of my screen..in other word..auto-focus to the viewed store?Does it involved with manipulating coordinates or something else...hope someone can help me...tq
  6. ok,let me explain about my project..basically my system should provide information abot any kiosk in a mall based on information searched by user...but then, in the system, I would like to show the location of the searched kiosk based on the map created?so, what software actually should I choose? and can it tolerate with ASP.NET?
  7. yaa..tq for all the solution given..very interesting topic..
  8. Does ASP.NET allow us to create a map (for example:shopping mall map) on it? does anyone know where to refer on this topic since i'm quite new in this areatq
  9. hi..i'm using DataGrid to display all my records..and i use to enalbe the delete functionPrivate Sub DataGrid2_DeleteCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid2.DeleteCommandmy dataset is named = DataSet21and my table named = "store_detail"anyone can show me on how to enable the delete function? perhaps in VB..tq
  10. Does your solution works in .net mobile?
  11. hi, does any one know how to display image saved in access database? FYI, i managed to saved in access using Ole Object but later got problem when want to display the image saved before.Any idea?
  12. yeah,I know..but I'm dealing with .NET mobile..not the normal one..quite hard to find the resources.
  13. hello..hope some one can help me..my question is how can I pass my value in current form to another form and then retrieve it so that I can used the passed value later...tq..
  14. hello..hope some one can help me..my question is how can I pass my value in current form to another form and then retrieve it so that I can used the passed value later...tq..
  15. Ok,I would like to show you somethingdid you see the javascript on bottom of the page?now,that link appear when I put my mouse on top of Books,Gifts,Toys,and Hobbies link? How can I change the link into my desired page? can you explain more regarding on your previous answer.quite blur..sorry..hehe
  16. Here's the code:<%@ Page Language="vb" AutoEventWireup="false" Codebehind="store_directory.aspx.vb" Inherits="FYP2007.store_directory" %><%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %><HEAD> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="http://schemas.microsoft.com/Mobile/Page" name="vs_targetSchema"></HEAD><body Xmlns:mobile="http://schemas.microsoft.com/Mobile/WebForm"> <mobile:form id="Form1" BackColor="#80FFFF" runat="server"><mobile:Label id="Label1" runat="server" Font-Name="Arial" ForeColor="Black" Font-Size="Large" Font-Bold="True" Alignment="Center">Store Directory</mobile:Label> <mobile:Image id="Image1" runat="server" Alignment="Center" ImageUrl="/FYP2007\images\Paper_Shopping_Bags.gif"></mobile:Image> <mobile:List id=List1 runat="server" DataSource="<%# DataSet11 %>" DataTextField="category_name" DataMember="store_directory" Decoration="Bulleted" DataValueField="category_id"> </mobile:List> <mobile:Link id="Link1" runat="server" Alignment="Center" NavigateUrl="default.aspx">Home</mobile:Link><mobile:Link id="Link3" runat="server" Alignment="Center" NavigateUrl="search_store.aspx">Search Store</mobile:Link><mobile:Link id="Link4" runat="server" Alignment="Center" NavigateUrl="search_item.aspx">Search Item</mobile:Link></mobile:form></body>and here is my print screendid you see the links below the image..that one I got the data from Access Database..ok,now how can I make each of the link connected to it own page that will be created later...i hope u got my explanation
  17. hi, hope someone can help me.. i managed to retrieved the data / info from database..and now how can I make each of the data retrieved linked to their respective page?anyone know?Tq
  18. tq!!! i managed to retrieve the data...tq bro!!!
  19. sorry, I cannot understand your answer.can you be more specifically?
  20. sorry, I cannot understand your answer.can you be more specifically?
  21. i've tried by using vs 2003 and managed to follow all the steps but when i debug,error message come out...like this"The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\MobileWebApplication1\store_info.mdb'. It is already opened exclusively by another user, or you need permission to view its data."what's that mean?Line 90: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadLine 91: 'Put user code to initialize the page hereLine 92: OleDbDataAdapter1.Fill(DataSet11, "store")Line 93: List1.DataBind()Line 94: How to solve?
  22. maybe it should be okay as my target device is PDA and Smartphone..that's mean I have to adjust the interface until it fits the screen of PDA or Smartphone..any idea on that way?
  23. I've tried your solution but it failed..it stated that "Unknown server tag"..do you know other way on how to solve this problem?or it is better for me to use normal asp web form toin order to develop and view it from mobile devices such as PDA?
  24. Here's the code<%@ Page Language="VB" AutoEventWireup="false" CodeFile="store_directory.aspx.vb" Inherits="store_directory" %><%@ Register TagPrefix="mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %><html xmlns="http://www.w3.org/1999/xhtml" ><body> <mobile:Form id="Form1" runat="server" BackColor="#80FFFF"> <mobile:Label ID="Label1" Runat="server" Font-Bold="True" Font-Name="Century Gothic">Store Directory</mobile:Label><br /><br /><mobile:Image ID="Image1" Runat="server" Alignment="Left" ImageUrl="~/images/Paper_Shopping_Bags.gif"></mobile:Image> <asp:accessdatasource id="AccessDataSource1" runat="server" datafile="~/db1.mdb" selectcommand="SELECT [store_name] FROM [store_info]"></asp:accessdatasource> <asp:objectdatasource id="ObjectDataSource1" runat="server"></asp:objectdatasource> </mobile:Form> <asp:accessdatasource id="AccessDataSource2" runat="server" datafile="C:\Inetpub\wwwroot\MIK2007\db1.mdb" deletecommand="DELETE FROM `store_info` WHERE `id` = ?" insertcommand="INSERT INTO `store_info` (`id`, `store_name`) VALUES (?, ?)" selectcommand="SELECT `id`, `store_name` FROM `store_info`" updatecommand="UPDATE `store_info` SET `store_name` = ? WHERE `id` = ?"><InsertParameters><asp:Parameter Type="Int32" Name="id"></asp:Parameter><asp:Parameter Type="String" Name="store_name"></asp:Parameter></InsertParameters><DeleteParameters><asp:Parameter Type="Int32" Name="id"></asp:Parameter></DeleteParameters><UpdateParameters><asp:Parameter Type="String" Name="store_name"></asp:Parameter><asp:Parameter Type="Int32" Name="id"></asp:Parameter></UpdateParameters></asp:accessdatasource></body></html>or..do you actually know the right way to connect to a database and later on display/retrieve info from the database in List..(BUT using Mobile Web Forms)
  25. For your information, I've tried to debug the application..an error occur and said asp:listbox cannot be a top-level form element..what's that mean?
×
×
  • Create New...