Search Results

Showing results 1 to 40 of 79
Search took 0.01 seconds.
Search: Posts Made By: nikkiH
Forum: Java Feb 23rd, 2007
Replies: 7
Views: 3,882
Posted By nikkiH
I assume someone needs to tell the teacher that. LOL
I was wondering why one wouldn't just regex for validation.
Forum: ASP.NET Feb 23rd, 2007
Replies: 5
Views: 1,630
Posted By nikkiH
If you are not putting your code under C:\inetpub\wwwroot, then you need to tell IIS where to look for it. You appear to have put it in a normal directory. You can either make that a virtual...
Forum: VB.NET Feb 23rd, 2007
Replies: 1
Views: 1,219
Posted By nikkiH
Did you have a question (or three), or was this a job posting offer?

How you connect to a DB in VB highly depends on whether you're using VB6, VB.NET 1.1 or VB.NET 2.0 and what components you're...
Forum: Java Feb 23rd, 2007
Replies: 7
Views: 3,882
Posted By nikkiH
To help get you started:


import java.util.*;

public class Playing {

public static void main(String[] args) {
String ip = new String("127.0.0.1");
StringTokenizer...
Forum: ASP.NET Feb 23rd, 2007
Replies: 1
Views: 1,407
Posted By nikkiH
You can't just open/run an aspx page like that -- it has to go through IIS and the .NET engine.
Did you install .NET Framewrok and set up IIS on your machine?
Forum: ASP Feb 23rd, 2007
Replies: 4
Views: 2,630
Posted By nikkiH
You have a current application written in Classic ASP, and you want to add to it?
Where do you want the search button, and how do you want the results displayed?
If you already have an ASP app set...
Forum: JavaScript / DHTML / AJAX Feb 22nd, 2007
Replies: 5
Views: 4,281
Posted By nikkiH
I'm not totally sure, but I think you need the new keyword?
This appears to be a functioning example of something similar in that it attaches a prototype function to the window scroll. Perhaps it...
Forum: C# Feb 22nd, 2007
Replies: 3
Views: 15,455
Posted By nikkiH
<asp:SqlDataSource ID="sda_nw1" runat="server" ConnectionString='<%$ ConnectionStrings:NORTHWIND %> '
SelectCommand="SELECT orders.customerid, ContactName, count(OrderID) as numorders FROM...
Forum: C# Feb 22nd, 2007
Replies: 2
Views: 933
Posted By nikkiH
What does your textbook say?
These are pretty classic exam questions...
Forum: VB.NET Feb 22nd, 2007
Replies: 5
Views: 1,398
Posted By nikkiH
What was the question?
Forum: MySQL Feb 22nd, 2007
Replies: 1
Views: 1,517
Posted By nikkiH
TO_CHAR doesn't fail on null I don't think.

Try:
NVL(TO_CHAR(referred), 'NOT REFERRED')
Forum: ASP.NET Feb 22nd, 2007
Replies: 1
Views: 1,530
Posted By nikkiH
MSDN has a nice article on the subject.
http://msdn2.microsoft.com/en-us/library/aa479015.aspx
Forum: ASP.NET Feb 21st, 2007
Replies: 3
Views: 3,102
Posted By nikkiH
The first thing I would do is set up a test page using only the datagrid. Get it data bound and working normally.
Once that is set, then I'd add the code for the user control, and see if even...
Forum: ASP Feb 21st, 2007
Replies: 5
Views: 1,754
Posted By nikkiH
You include it exactly the same as you would in an html file. An aspx file is still markup, just like html, and normal markup tags are allowed in addition to special aspx tags.
So,
<script...
Forum: ASP Feb 21st, 2007
Replies: 3
Views: 1,809
Posted By nikkiH
The best way, in my opinion, is to use their API that they created just for such a task.
Here is a link to it and their instructions....
Forum: ASP Feb 20th, 2007
Replies: 3
Views: 1,809
Posted By nikkiH
Can you clarify?
You can set a form to target google search as easily as any other page using the action. This would be the same as the user going to google and typing in a search term.
If you want...
Forum: ASP.NET Feb 20th, 2007
Replies: 3
Views: 3,102
Posted By nikkiH
You can bind the grid whenever you like.
The method is DataBind()
Forum: JavaScript / DHTML / AJAX Feb 20th, 2007
Replies: 5
Views: 4,281
Posted By nikkiH
You didn't post full enough code for me to test, so please clarify "doesn't work". Do you get an error? Did you check the javascript console (firefox) and/or turn on error messages (IE)?
Forum: ASP.NET Feb 20th, 2007
Replies: 3
Views: 1,607
Posted By nikkiH
Which event is this code running from?
Did you trace with Studio (debug)?
Forum: ASP Feb 20th, 2007
Replies: 5
Views: 1,754
Posted By nikkiH
You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.
Forum: VB.NET Feb 20th, 2007
Replies: 4
Views: 1,522
Posted By nikkiH
Why don't you post what you have so far?
No one is going to code your whole assignment for you for free.
Forum: ASP.NET Feb 16th, 2007
Replies: 1
Views: 3,281
Posted By nikkiH
Are you perhaps looking for MultiView / GridView?

Standard components available in .NET are the same, regardless of your language of choice.
Forum: JSP Feb 15th, 2007
Replies: 11
Views: 44,211
Posted By nikkiH
That's great, but since you're trying to teach us how NOT to use scriptlets, I'd love to know the right way to do this.

<%
response.sendRedirect("someUrl");
%>

Please share. :D
I'm much...
Forum: C# Feb 15th, 2007
Replies: 2
Views: 1,239
Posted By nikkiH
Using references is like adding things to classpath in java.
Many things are there by default.

The C# equivalent of import is "using".

i.e.
using System.Data;

Like Java classpath and...
Forum: ASP Feb 15th, 2007
Replies: 4
Views: 1,917
Posted By nikkiH
Lots of ways, depending on what you're doing and what your goal is. It's called "paging".
http://www.google.com/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-42,GGGL:en&q=asp+paging

If...
Forum: Visual Basic 4 / 5 / 6 Feb 15th, 2007
Replies: 1
Views: 779
Posted By nikkiH
Well, personally I'd start by asking my teacher for clarification if I was totally lost.
That's what they're there for.

Since I don't know what your teacher wants or expects, it's hard to help...
Forum: ASP.NET Feb 15th, 2007
Replies: 3
Views: 1,716
Posted By nikkiH
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataSqlClientSqlDataReaderClassTopic.asp
Forum: ASP.NET Feb 15th, 2007
Replies: 5
Views: 13,455
Posted By nikkiH
Probably because you're setting PostBackURL in the same spot you're trying to use it.
PostBackURL is written out as client-side javascript on a button. If it is not set already at design time, you...
Forum: JSP Feb 14th, 2007
Replies: 11
Views: 44,211
Posted By nikkiH
Please share the non-scriplet way for us uneducated folks.
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2007
Replies: 2
Views: 1,021
Posted By nikkiH
It's been awhile since I coded VB6, but isn't that the forecolor property in the IDE?
Forum: JSP Feb 14th, 2007
Replies: 11
Views: 44,211
Posted By nikkiH
Use a scriptlet and response.SendRedirect()
http://java.sun.com/products/jsp/tags/11/syntaxref11.fm5.html
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletResponse.html
Forum: ASP.NET Feb 14th, 2007
Replies: 5
Views: 2,398
Posted By nikkiH
That's just a link, right?
Therefore, the linked page should work fine. If you just plug that link into your browser, does it work?
Forum: ASP.NET Feb 13th, 2007
Replies: 6
Views: 6,640
Posted By nikkiH
You don't have to display every column you select.
I use views with a bunch of columns as my datasource, and they work for several different grids.
Forum: ASP Feb 13th, 2007
Replies: 10
Views: 2,745
Posted By nikkiH
Oh, and since it's a query, not a stored procedure, I don't use execute. I use open, which means I can get a record count if I want. You can't do that with execute.

Here's another example from...
Forum: ASP Feb 13th, 2007
Replies: 10
Views: 2,745
Posted By nikkiH
Well, when I expect only one match, I test only for EOF, not BOF.

i.e.

Set rs = Server.CreateObject("ADODB.recordset")
rs.Open strSQL, objSpecs, adOpenStatic, adLockReadOnly, 1

if rs.EOF...
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 16,499
Posted By nikkiH
Sure. A simple console app to demonstrate.


using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
class Program
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 16,499
Posted By nikkiH
Sure it's possible.
Where does the range come from? That is, the start and end dates of the current month and current year, or user input, or ...?
Forum: ASP Feb 13th, 2007
Replies: 3
Views: 1,337
Posted By nikkiH
You make code to accept page number in the URL then use the links to pass the page number in the URL.
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 16,499
Posted By nikkiH
How do you want it?
Two date objects, a string, an array of dates ...?
Forum: ASP.NET Feb 13th, 2007
Replies: 6
Views: 6,640
Posted By nikkiH
Unless you're stuck with someone else's DAL, that is. ;)

You can write custom code to get the value, but it's a serious pain in the behind and isn't actually binding. You have to write custom...
Showing results 1 to 40 of 79

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC