Forum: Java Feb 23rd, 2007 |
| Replies: 7 Views: 2,947 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 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 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 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 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 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 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 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 Re: help What does your textbook say?
These are pretty classic exam questions... |
Forum: VB.NET Feb 22nd, 2007 |
| Replies: 5 Views: 1,191 |
Forum: MySQL Feb 22nd, 2007 |
| Replies: 1 Views: 1,122 |
Forum: ASP.NET Feb 22nd, 2007 |
| Replies: 1 Views: 1,056 |
Forum: ASP.NET Feb 21st, 2007 |
| Replies: 3 Views: 2,123 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 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 |
Forum: ASP Feb 20th, 2007 |
| Replies: 3 Views: 1,437 |
Forum: ASP.NET Feb 20th, 2007 |
| Replies: 3 Views: 2,123 |
Forum: JavaScript / DHTML / AJAX Feb 20th, 2007 |
| Replies: 5 Views: 2,726 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 |
Forum: ASP Feb 20th, 2007 |
| Replies: 5 Views: 1,497 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 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 |
Forum: JSP Feb 15th, 2007 |
| Replies: 9 Views: 19,602 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 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 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 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 |
Forum: ASP.NET Feb 15th, 2007 |
| Replies: 5 Views: 7,118 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 |
Forum: Visual Basic 4 / 5 / 6 Feb 14th, 2007 |
| Replies: 2 Views: 827 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 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 |
Forum: ASP.NET Feb 13th, 2007 |
| Replies: 6 Views: 4,554 |
Forum: ASP Feb 13th, 2007 |
| Replies: 10 Views: 2,104 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 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 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 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 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 |
Forum: ASP.NET Feb 13th, 2007 |
| Replies: 6 Views: 4,554 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... |