256 Posted Topics
Re: Why do you need the excel document if you are simply adding all this data to the database? Do all your calculations in your code behind. it will be faster. | |
Re: are you displaying tabular information ? it very much looks like it. one thing is tables are [B]NOT[/B] bad. But are simply bad when using them for entirely different purposes than they were created for. If you have tabular data use tables. | |
Re: [QUOTE=Lamaison;600178]I'm a PHP newbie, I need to assign query results to variables that have an incrementing number in the variable name, can someone help me with this? So let say I return a few rows of from MySQL, I would like loop though the results and assign the values to … | |
Re: because you are dynamically creating buttons they are not retaining state on postback and therefore wont fire the event assigned to them. You need to re-instantiate each dynamic control individually. E.g. when creating each control assign it an ID and save this to the viewstate. Then on page load loop … | |
Re: couldnt you use VBA in the ppt itself. You can use tcp/ip connections thru VBA. it may be along winded approach but without using a third party tool you may be solving this nightmare for a very long time. | |
Re: i dont think your ICO is a proper icon how did you create/convert it? | |
Re: if you used a server side language such as php/asp.net you could generate content based on say what a client has stored in a database. this is how most heavy client edited sites work that i have worked on due to them not having to have any experience with the … | |
Re: use a server side language to perform the xml creation i.e. php or asp.net. | |
Re: [QUOTE=Kalidoss;590514]Dear Bharathi Krishna.. I am a beginner to this forum as well as creating web pages... I am basically a geologist, but interested in developing web pages... could you please help me out from the scarch to design a member login page.. which verifies the username and password from the … | |
Re: why do you need to use ajax ? you can do a simple postback which is alot easier. if ajax is amust you must have some knowledge of javascript aswell. | |
Re: [code]SELECT startpost.posttitle, startpost.dat, creuser.username FROM startpost INNER JOIN creuser ON startpost.userid = creuser.uid[/CODE] That will display all the startpost data with the username for the startposts. Specifying a Where clause like below will let you show one startpost record based on its id. [code]SELECT startpost.posttitle, startpost.dat, creuser.username FROM startpost INNER … | |
Re: you need to do this on the client with javascript [CODE]window.print();[/CODE] although this will not work in any other browser except internet explorer. | |
Re: contact the bank/payment site you wish to use as they all have there own tools for doing this and all are different. They usually have a development sample aswell to get you up and running. | |
Re: but if you have to use mysql then go the php route as it is integrated alot better into the php language. | |
Re: Hey hey, this is an old VB ASP.net project i did, shouldnt be too hard for you to change the syntax. [CODE] Dim memSt As New System.IO.MemoryStream Dim imgMe As Drawing.Image = Drawing.Image.FromFile(Server.MapPath("me.jpg")) ' Get image imgMe.Save(memSt, Drawing.Imaging.ImageFormat.Gif) ' Save image to memory stream memSt.WriteTo(Response.OutputStream) [/CODE] this example outputs the … | |
Re: [QUOTE=brightline;586953]I had stored a word file in database in "image field" then I restore it in a byte array. I want to convert this byte array into string to write it on the web page. I am using ASP.NET 0.2 and SQL 2005. thanks.[/QUOTE] [CODE]System.Text.Encoding.GetString(byte())[/CODE] | |
Re: will you be looking to edit this document online then update what is in the database ? also why bother storing this in a database and not just reference a local file ? | |
Re: what does your code to varify the password look like? could we see a sample? | |
Re: 1) create a web application 2) right click on the solution explorer root folder. 3) press "Add New Item" 4) select "Web User Control" and give it a name. 5) write your asp.net/html etc. 6) to use on a page drag and drop from solution explorer. | |
Re: do you have flash installed for internet explorer as firefox uses a seperate plugin to IE. Also use firefox. It is a faster browser! | |
Hello All. This seems like a simple question but i cannot find a solid answer anywhere. Im in the middle of streamlining our web application for use on local network and external use. When a form loads there are usually several blocks of code that run. EG. Fetch Title From … | |
Hello All, im looking to find the best technique to use for the following scenario i believe this is going to be best using application level variables. Scenario: I have a table in a database with roughly 100 rows (increasing constantly) they are all holding integers. These rows all hold … | |
Re: there are some free components available that allow you to view excel documents in asp.net i cant think for the love of god where i saw them tho. best to GOOGLE it. Another alternative is to use something like a datagrid and create your own excel like application. this way … | |
Hello all, i have googled around without any reference to what i am looking for (whether it can be done). I wish to limit the amount of memory used at any one time per session I.e. for tasks that may require some time i dont want one user using up … | |
Re: i cant really say i like one genre more than another as it also depends on how im playing it. Computer based games then personally startegy is where its at, whereas consoles i like action/adventure/rpg im guessing others will have different preferences too. | |
![]() | |
Re: can we see some code? | |
Re: you dont need str_replace inside str_replace etc etc. use two arrays [CODE] $your_txt = "Hello 'WORLD'"; $txt = array("'", "\""); $txt_replace = array("'", "\\\""); $x=str_replace($txt, $txt_replace, $your_txt); echo $x; [/CODE] this way you can have two arrays and no messy inner replacements inside replacements. although nav33n may have shown you … | |
Hello all, i have recently finished work on a clients database. they now wish for one field in the database to have 10% taken off for each record. can this be performed soley through an SQL statement on the MYSQL database. | |
Re: [QUOTE=macneato;510787]Thing is... when it comes to footers.. They really should be at the bottom of your content and not the screen. Just think about it!? Would you continue reading even when there is no content? Anyway, I kinda understand where you coming from (after viewing your site). So here is … | |
Re: [QUOTE]Duh, i'd figured that out allready... But using javascript print method means getting that ugly print dialog screen, which i don't want.[/QUOTE] without this you are breaking standard conventions and may confuse users more. | |
Re: i have recently finished a project for one group which owns four companys and i had the opposite. they wanted identical sites with minor differences. answer is dont fight your customer/client do it their way or you doint get paid! offer critisism where nescessary if you think it will work … | |
Re: use ajax to capture a pages source then parse the page source using php or asp.net (this will work only if the page your capturing has valid markup or if you add lots of error handling) | |
Re: mine does not show this white line in firefox version 2.0.0.11 | |
Re: its easier to develop for firefox then adapt to IE than vice versa. although there is a memory leak in firefox which results in memory build up, only noticeable if left open a very very long time. | |
Re: maybe it would be wiser to ask in the [URL="http://www.daniweb.com/forums/forum117.html"]javascript forum[/URL] | |
Re: its is because the bar is positioned absolutely. and when you set a width of 100% it is 100% of the viewable area so when your content is larger than your browser it exceeds 100%. dont position it absolutley. this is bad. perhaps use a table layout for the top … | |
Re: i dont beleive you can upload a directory at all in php. they could upload a zip file then use php to break apart the file and then create the directorys/file structure in this. | |
Re: you need to post this in the [URL="http://www.daniweb.com/forums/forum117.html"]javascript forum[/URL] | |
Re: but you still wont be able to align PART of the text differently to another part. Not in the same textbox anyway. | |
Re: the only way i use is to set a session variable of the current time then everytime a postback occurs check this time is greater than (now - 20 mins) and if it is let them continue else destroy the session. works for me. | |
Re: 1. they are not the same 2. nope as the browser still needs to read the html markup 3. xsl is mainly used as template form else there would be no real advantage of going to the trouble of setting it up 4. i believe xml and xsl are just … | |
Re: you can technically fake the interaction if thats what he means. AJAX uses javascript to interact with a server side page. you dont actually see the page interacting with the javascript so it would technically be a html page. so to speak. | |
Re: its very nice. pointless. but very nice. | |
Re: [CODE] var date1 = new Date(); var date2 = new Date(); var diff = new Date(); diff.setTime(Math.abs(date1.getTime() - date2.getTime())); return (diff.getTime() / (1000 * 60 * 60 * 24)); [/CODE] theres the basics given that date1, date2 are the dates you wish to compare | |
Re: you want to bind users from database to the Web.config file ? why not when the login button is pressed perform sql statement "SELECT userid FROM users WHERE username = 'JOE BLOGGS' AND password = '123'" then if a result is returned they are the correct user ? Theres not … | |
Re: you would probably require a database to hold all your furntiure details which would then require a server side language to retrieve these details. and yes you can do perspective changes in flash albeit it is not really a perspective change at all. You do not require a plugin to … ![]() |
The End.