Showing results 1 to 40 of 79
Search took 0.01 seconds; generated 1 minute(s) ago.
Posts Made By: nikkiH
Forum: Java Feb 23rd, 2007
Replies: 7
Views: 2,947
Posted By nikkiH
Re: string tokenizer

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,343
Posted By nikkiH
Re: VB.NET Code

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,043
Posted By nikkiH
Re: learning vb.net

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: 2,947
Posted By nikkiH
Re: string tokenizer

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 st = new...
Forum: ASP.NET Feb 23rd, 2007
Replies: 1
Views: 1,082
Posted By nikkiH
Re: VB.NET Error

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,147
Posted By nikkiH
Re: ASP Search Database

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: 2,726
Posted By nikkiH
Re: window events and javascript objects

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: 8,780
Posted By nikkiH
Re: get data from database in dropdown list

<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: 676
Posted By nikkiH
Re: help

What does your textbook say?
These are pretty classic exam questions...
Forum: VB.NET Feb 22nd, 2007
Replies: 5
Views: 1,191
Posted By nikkiH
Re: Beginner, Plis assist!

What was the question?
Forum: MySQL Feb 22nd, 2007
Replies: 1
Views: 1,122
Posted By nikkiH
Re: I'm sure a very simple question....

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,056
Posted By nikkiH
Re: Repeater,datalist, datagrid

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: 2,123
Posted By nikkiH
Re: Binding from usercontrol

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 putting...
Forum: ASP Feb 21st, 2007
Replies: 5
Views: 1,497
Posted By nikkiH
Re: PLz its very urgent.

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,437
Posted By nikkiH
Re: Can i add external search engine box to my page

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...
Forum: ASP Feb 20th, 2007
Replies: 3
Views: 1,437
Posted By nikkiH
Re: Can i add external search engine box to my page

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: 2,123
Posted By nikkiH
Re: Binding from usercontrol

You can bind the grid whenever you like.
The method is DataBind()
Forum: JavaScript / DHTML / AJAX Feb 20th, 2007
Replies: 5
Views: 2,726
Posted By nikkiH
Re: window events and javascript objects

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,283
Posted By nikkiH
Re: SOS - datagrid problem

Which event is this code running from?
Did you trace with Studio (debug)?
Forum: ASP Feb 20th, 2007
Replies: 5
Views: 1,497
Posted By nikkiH
Re: PLz its very urgent.

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,298
Posted By nikkiH
Re: Phone Words Project

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: 2,503
Posted By nikkiH
Re: To show Tabcontrol on webform in ASP.NET using VB.NET

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: 9
Views: 19,602
Posted By nikkiH
Re: How to redirect a page in JSP

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 more a C#...
Forum: C# Feb 15th, 2007
Replies: 2
Views: 985
Posted By nikkiH
Re: Questions about C#

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 import, both...
Forum: ASP Feb 15th, 2007
Replies: 4
Views: 1,663
Posted By nikkiH
Re: Prob with ASP

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: 606
Posted By nikkiH
Re: program

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 too...
Forum: ASP.NET Feb 15th, 2007
Replies: 3
Views: 1,303
Posted By nikkiH
Re: SqlDataReader is not working.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataSqlClientSqlDataReaderClassTopic.asp
Forum: ASP.NET Feb 15th, 2007
Replies: 5
Views: 7,118
Posted By nikkiH
Re: PostBackURL vs. Response.Redirect

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: 9
Views: 19,602
Posted By nikkiH
Re: How to redirect a page in JSP

Please share the non-scriplet way for us uneducated folks.
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2007
Replies: 2
Views: 827
Posted By nikkiH
Re: please help me

It's been awhile since I coded VB6, but isn't that the forecolor property in the IDE?
Forum: JSP Feb 14th, 2007
Replies: 9
Views: 19,602
Posted By nikkiH
Re: How to redirect a page in JSP

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: 1,738
Posted By nikkiH
Re: Linking to asp.net page from html page

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: 4,554
Posted By nikkiH
Re: How to bind a value in GridView to other data?

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,104
Posted By nikkiH
Re: verify page not finding random records

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 some...
Forum: ASP Feb 13th, 2007
Replies: 10
Views: 2,104
Posted By nikkiH
Re: verify page not finding random records

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 then
...
Forum: ASP.NET Feb 13th, 2007
Replies: 8
Views: 8,625
Posted By nikkiH
Re: Current month name

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: 8,625
Posted By nikkiH
Re: Current month name

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,131
Posted By nikkiH
Re: How to make a paging?

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: 8,625
Posted By nikkiH
Re: Current month name

How do you want it?
Two date objects, a string, an array of dates ...?
Forum: ASP.NET Feb 13th, 2007
Replies: 6
Views: 4,554
Posted By nikkiH
Re: How to bind a value in GridView to other data?

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 code...
Showing results 1 to 40 of 79

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:13 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC