|
txtOrderID.Text = ds.Tables(0).Rows(0)(0)
|
|
|
|
|
Thank you, I will try it
hifiger2004
|
|
|
|
|
I am retrieving time from a database to display to the user, is there a way for display it in military format?
|
|
|
|
|
Please give more informations like
the backend and the front end softwares.
If U use sql server use convert function.
Regards,
Arun Kumar.A
|
|
|
|
|
Nothing Fancy, SQL Server database Visual Studio, Visual basic.net in a web app that collects data from the SQL database and lists it on the screen in a listbox.
Dim dt As New DataTable ' ready to process
sqlStatement = "Select PROCESS_START_TIME from MyTable"
Dim cn As New SqlConnection(sqlConnString)
cn.Open()
Dim cmd As New SqlCommand(sqlStatement, cn)
Dim dr As SqlDataReader = cmd4.ExecuteReader
Do While dr.Read()
MyDataRow = dt.NewRow()
MyDataRow(0) = dr(0) ' this is a date wanted in military format
(Military format being not 1:00 PM, but 13:00 format)
|
|
|
|
|
No-e wrote: (Military format being not 1:00 PM, but 13:00 format)
Oh, that is the international standard for formatting date and time, ISO 8601.
Use .ToString("HH:mm") to format the time.
---
single minded; short sighted; long gone;
|
|
|
|
|
That depends entirely on what platform you are using.
What exactly is "military format"? Where I live, the military doesn't have any special time format.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi all,
Iam new to javascript , I want to validate Checklistbox using javascript,
please send source code example
Thanks N Advance
|
|
|
|
|
I have two files: scriptfile and file.txt and both in the same level
in the scriptfile i call:
fh = fopen("c:/folder/file.txt", 0);
now my question is can I use a relative path?
because the location of the file is changeable ...
I tried "./file/txt" and "file.txt" but didn't work
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
hi,I come across the same problem with u now.Have u solved the problem?If u do ,Can u tell me how to?
|
|
|
|
|
That was long time ago. As I can recall, You have to use a direct path and not relative!
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
hello
i need a url of a simple site using digest authenetication
in order to test error handling in my client (HTTP/1.1 401)
thanks
|
|
|
|
|
Hi everybody,
I want to create web application using C# and live communication server. User can set his presence information, view other presence information and send instant messages. How can I start developing in C# web application using live communication server? I doesn't want to use Communicator Web access.
If you have any tutorial, then please provide to me.
It is very appreciate if you provide some code example.
I am beginner in live communication server. I installed live communication server on my pc (Windows 2003 server).
Please Help…
Thanks,
Regards,
Hardik
Regards,
Hardik Patel
|
|
|
|
|
Hi all,
Can any one suggest me how to add Favorite icon in my address bar. For eg: http://www.activewidgets.com/grid/ , you can see an icon in the address bar, I used the below code
< link rel="icon" href="favicon.ico" type="image/x-icon" >
< link rel="shortcut icon" href="favicon.ico" type="image/x-icon" >
It work's good in Mozilla firefox, but not in the IE 6.0 and above. Icon in the above link appears both in IE and Mozilla Firefox
Can any one suggest how to add the icon.
Thanks in advance
Regards
Know is Drop, Unknown is Ocean
|
|
|
|
|
Create an icon for your site. Name it faviocn.ico and put it in the root of your website. The browers will see it there and display it.
Hope that helps.
Ben
|
|
|
|
|
Hi Dear friends,
I used xp in my system,now my organization changed my os to server 2003,In 2003 iis manager can't open the default page (ie http:\\localhost).and also i publish my sit in www.root directory ,that site also can't access my local intranet.but this setting are works well while i was use xp.
Please help me to solve this problem.
Thanks and Regards
D.Paranthaman
hi,this is from D.paranthaman india
|
|
|
|
|
What errors do you get?
Are you sure that IIS is running?
|
|
|
|
|
hi friends
i want to create javascript quiz..
i will get answer like this:
1.percentage of score
2.like totally 5 question,your correct answa was 1/5
3.comments: your scoring is poor
can u help me???
regards
saravanan
|
|
|
|
|
Try this article: Javascript Quiz.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Hi,
I am in charge of getting an enterprise web-based application off the ground; we'll be starting off with the development soon, however, coming from a non-PHP background, I am unable to decide which PHP framework to use (google hasn't helped either since it throws up a zillion frameworks each of which claims to be the best). I need to have some objective information on this.
The web application in question is an e-Commerce app, where we will be having only our customers log in. Thus we don't expect the traffic to be too heavy. It's completely database driven (we're using MySQL), and there will be multiple kinds of users at the site, like the app admin, the account admin/s, the account user/s, and so on, and will naturally involve some amount of security aspects to be applied to it (e.g., which modules are available to which user: something like RBAC, albeit a home-grown one). We also plan to use Ajax in the later stages.
I would have preferred a Java-based framework (like Struts) for something of this sort, however, the management has already taken the decision to go ahead with PHP, since we need to have at least a basic version out asap, so opting out of PHP is non-negotiable for me.
All comments will be gratefully accepted and thanks for taking the time to read this!
Najeeb Shaikh
modified on Saturday, July 10, 2010 3:20 AM
|
|
|
|
|
Cake is supposedly a great framework. By the sound of your spec... you should look at Joomla. If you have any questions during development feel free to ask here.
Brad
Australian
- Bradml on "The ADOTD"
Hey all, did you just use/read an acronym? Pots it HERE, at the ADOTD[^]
|
|
|
|
|
Hi Brad
Cake seems to be very promising... Thanks very much for this!
Najeeb Shaikh
modified on Saturday, July 10, 2010 3:21 AM
|
|
|
|
|
OSCommerce is an open source general e-commerce site programmed in PHP.
It typically lets the general public in but can be modified to only allow registered users in.
It has all the necessary capabilities of an e-commerce site built in.
I can help with customization questions. I have customized it for a client and it was a fairly painless process once I got used to the presentation style.
|
|
|
|
|
hi
on web page,when i view it through browser,its like any web page,but when i place my cursor on any frame,and drag it down,whole content of the page move up in the single frame,hope you are getting the question.
it like as if there is an invisible scrollbar
thanks
|
|
|
|
|
There is. It probably means you have set scrollbars=false (or something like that) but the height of the frame is bigger than the height you've given it. Again, give up on frames....
|
|
|
|