|
One method is to use explode e.g.
$array = explode(',', $imagefilenames );
Then just iterate through the array building up the <img . . . tags
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
that worked!
thanks,
sam kline
|
|
|
|
|
Hi all,
I need to make input array in asp.net using C#...
the data is comming from database as:id, name, position
the form should display like this...
posiotion will be in textbox..
name position
aa 1
bb 2
cc 3
button(Set Position)
now user can alter the position of names and when click on button, all records should be updated with new position values...
for this I want to make two input arrays like:
<input type='hidden' name='id[]' value='id from database'>
<input type='text' name='position[]' value='value of textbox'>
how can i set the database values to the textboxes and again fetch them in C# to update records with the new values entered by user...
any help will be very much appreciated..
Thanks in advance...
Suman Singh
|
|
|
|
|
Don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
I am trying to have outlook controls like Inbox, Calender etc. on the internet site page. When we click on the tabs it should populate the inbox, calendar on the site. I had done it for Inbox and caledar.
I want help for controls Advanced Find, New Appointment and other few controls.
Pl help me in getting the other contols on the we page.
Code used for Inbox is as follow:--
<object classid="CLSID:0006F063-0000-0000-C000-000000000046" id="ViewCtlFolder">
<param name="Namespace" value="MAPI" />
<param name="Folder" value="Calendar" />
<param name="Restriction" value="" />
<param name="DeferUpdate" value="0" />
Datta Navatre
|
|
|
|
|
I believe Microsoft already has a product that does that and comes with their Exchange server.
|
|
|
|
|
Hello George,
They have given the controls and all other facilities on outlook. But i would like to use it on web site,
Pl. use following code and run it, that will clearify the things.
<br />
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br />
<HTML><br />
<HEAD><br />
<TITLE>View Control</TITLE><br />
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><br />
<META content="MSHTML 5.50.4522.1800" name=GENERATOR><br />
</HEAD><br />
<BODY><br />
<OBJECT id=ViewCtlFolder classid=CLSID:0006F063-0000-0000-C000-000000000046 <br />
width="100%" height=430><PARAM NAME="Folder" VALUE="Calendar"></OBJECT><br />
</BODY><br />
</HTML>
Thanks
Datta Navatre
Datta Navatre
|
|
|
|
|
I have to write WEB aplication that export data from MS SQL tables (into CSV , XLS, DBF, Access format for example). What is the best way to implement this ? Examples are highly interested !
Thanks in advance !
|
|
|
|
|
MS SQL to Access: Create the tables on Access, execute a SELECT on MS SQL via ADO (whatever), and populate the Access Tables via INSERT
You can create CSV files easily with C# (A language of your choice) by concatenting the result of a SELECT via ADO and saving the result in a text file.
You can open the above CSV file in Excel to create a XSL file or you can save the above SELECTed data as an XML file and open that with Excel.
As for DBF, I am having a memory lapse with it at this time.
|
|
|
|
|
well but how make it more correct way ?
- how to ask MS SQL DB about existing tables
- how to retrieve tables structures dump
- how to retrieve tables data dump
.. ?
|
|
|
|
|
If you don't have access to the SQL server, ask your database administrator. You can use SQLDMO or the SQL Server Enterprise Manager (whatever it is called today)
|
|
|
|
|
hello everybody:
i am new to VB.net I have to design a custom web server control which validates itself on client side and server-side. which means that i would not use a seperate custom validator for validation, but it should be a part of the custom control itself.and this validation would be done on clientside first, and incase javascript is off in browser then validation is done on server side.
The description of the custom control is as follows:
its a date control which has 3 dropdowns(dds).one for month, second for days and third for days.it has two properties isDOB(boolean) and getDate which returns the date in the format mm/dd/yyyy.
one method setDate which takes the string inn the format mm/dd/yyyy.This will set date according to the input string.
can somebody point me to the rite direction.any help would be deeply appreciated.
Thanks
Cheers!
AB
|
|
|
|
|
Sounds like you want to create a custom control with the controls that are supplied with ASP.NET. Among these controls will be your validation controls that can create validation code on both the client and server. There is a lot of information on the web that demonstrates how to do this via http://www.google.com/microsoft[^]
|
|
|
|
|
Thanks for reply.
I think u got it rite.
but the question is how can use the validation controls as part of my custom sever control.i can write a seperate custom validator for my date control. but that won't serve my purpose.
basically my date control would be self validating(on client and server side) control. now how can i use a custom validator inside my date control.i dont know. mostly on the web i m finding seperate validators. there is very less info about self validating controls. if u come acoss some thing like this. please do let me know.
Thanks.
Ab
|
|
|
|
|
On the client-side, Microsoft uses javacript to handle validation. I believe you can call this code via yourown injected javascript. On the server-side, it is a little easier. I believe you can validate your control via code and set a property (the name eludes me for now) to indicate the success of the validation.
This might get you started:
http://www.15seconds.com/issue/020319.htm[^]
|
|
|
|
|
Is it possible to post a set of variables to a web page and display the result in the browser? I have managed to post the variables but cannot figure out what to do with the result to display it in the browser, any information gratefully received!
|
|
|
|
|
You have to process the posted data server-side.
|
|
|
|
|
Thanks, I realise that, but the question is how do I post the data to the page and display the results? I can post using an URLConnection but cannot see how to display the result in the browser.
|
|
|
|
|
I don't know much about Java but I believe you have to process the Posted data via a JSP file that outputs to a HTML table for example.
-- modified at 19:10 Monday 20th February, 2006
|
|
|
|
|
I have found a way to do it now, it may not not be the best way but it works. I send the variables to a ASP page which writes them to a file, the Java applet then redirects to a page which displays the contents of the file.
|
|
|
|
|
Hi,
I have a global.js file that gets included in every page. In it I have a statement that reads as follows:
window.defaultStatus = "blah blah blah";
This works well in Internet Explorer, but it does not display in the status bar in Mozilla. Can anyone tell me why, and how to solve the problem?
Regards,
ma se
|
|
|
|
|
Each browser has a sightly different Document Object Model (DOM). You have to test to find out what browser is being used by the client, and, then, have your code perform according to this information. You need to look at the Mozilla DOM documentation to determine how it is done on that particular browser.
|
|
|
|
|
|
My site contains free softwares developed by me. I want to record how many users have downloaded my each program.
I only want to work in html & jscript (if you give me code of it, i don't know jscript).
Now i plan this approach:
>>First user select my program.
>>On program's detail page there is a link to download this software.
>>When user clicks this link, a new webpage with SiteCounter on it, opens for 5 seconds and automatically starts downloading file. (Like on almost every downloads site, e.g. www.downloads.com).
Please tell me how to build this page. I have the source code of my sitecounter. Rest is what I wanted.
Thanx
|
|
|
|
|
Hi,
Did you use database, if no then why dont you use file concept (create a new txt file add a text 0, and save it in root directory, open a file while download read and increment the count for every download ).
Thanks
Warm Regards
Prakash-B
|
|
|
|