vadder85
-
Posts
48 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by vadder85
-
-
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?Oh, now I understant the question, sorry about that pervious post. you can have a option for the user to set your page a homepage.. something like "click here to set this page as default page"http://javascript.internet.com/miscellaneo...-home-page.html -
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~
-
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
-
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
-
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?
-
yaa..tq for all the solution given..very interesting topic..Delete record in datagrid, [vb.net]......http://builder.com.com/5100-6373-1049811.html#Listing%20E -
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
-
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
-
Does your solution works in .net mobile?This article might help: http://www.codeproject.com/aspnet/image_asp.aspThe article was written for MySQL database, but it should help for any DBMS. The key point is when you get the data from the database, you'll use the Bitmap class to create a bitmap from a MemoryStream and send that bitmap to the browser:From the article: -
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?
-
yeah,I know..but I'm dealing with .NET mobile..not the normal one..quite hard to find the resources.if you have<form runat="server" method="post" action="yourOtherPage.aspx"><asp:TextBox id="txtBox" runat="server"/></form>
Then on yourOtherPage.aspx you can get the values like thisC#
Request.QueryString["txtBox"];
VB
Request.QueryString("txtBox")
This si pretty basic stuff, have you read the tutorial?
-
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..
-
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..
-
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..heheyou could store the url in the databse as well you would just have ot make sure you created the pages withte h exact names. -
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 explanationwe'll need to see some code and be more specific....what pages are you talking about and what is the data? -
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
-
tq!!! i managed to retrieve the data...tq bro!!!First off I will assume you are using windows XP if you are using Windows server 2003 replace ASPNET with NETWORK SERVICE int he instructions belowright click on your database file.Choose Properties -> Select Security tablook for a user called ASPNET. If it is not there Click the Add button and type in ASPNET. Then change that users permissions to have "Full Control".Close all dialogs and try your code again. -
sorry, I cannot understand your answer.can you be more specifically?check the permissions on the database file and make sure to give NETWORK SERVICE (WinServer 2003 or ASPNET on WinXP) permission to read/write/modify the database. Make sure also that every folder in the path has the same permissions. -
sorry, I cannot understand your answer.can you be more specifically?check the permissions on the database file and make sure to give NETWORK SERVICE (WinServer 2003 or ASPNET on WinXP) permission to read/write/modify the database. Make sure also that every folder in the path has the same permissions. -
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?smartphone Resolutions: 176x220, 160x240, 208x240 (176x220 for most Smartphones).PDA resolutions 240x160 (palm)320x240 (palm & windows mobile pre 2003v2)640x480 (windows mobile 2003v2) -
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?If you can using normal webforms would be easiest but make sure your target devices have XHTML enabled browsers, some only can view WML. -
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?When using mobile.net all tags have to have <mobile:try <mobile:accessdatasource..... -
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)I really need to see the code and to have the EXACT error message word for word. -
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?There isn't much out there on that error. but basically it means you cannot use that control because it is not a mobile control. I don't know what a template is or hwo they are used.Is there a specific DataSourceObject for mobile apps?I would recommend taking your quesation to forums.asp.net also.
help me!!!
in ASP
Posted
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?