Search results

  1. Kodo

    Help! Respons.Redirect Kicks in Before Button is Clicked

    you can't do that. Either put a javascript function for the onClick event or use a .net control button and apply the redirect to it's event handler.
  2. Kodo

    Automatic Email

    well, theory behind it is. When someone submits a booking, some code fires off to send an email. What you need to tell is what language your website was built in and what type of server it's running on.
  3. Kodo

    Access Interface to SQL

    Skip ODBC. Open access and create an Access Project. If the database is already created, then create an Access Project Using Existing Data other wise, just make a new Access Project Using New Data. Follow the onscreen prompts for the SQL server infomation and bam..you're done.
  4. Kodo

    Catch empty item template?

    That acutally does sound like the more logical way to approach this. Sorry I didn't have a chance to look at your code.. tonights lab was actually quite interactive. Scripting an entire db structure with sprocs and triggers to-boot. Joy.. needless to say it took quite a while and I didn't get a...
  5. Kodo

    Catch empty item template?

    I should be able to take a look at this tonight while I'm bored out of my skull in my database class.
  6. Kodo

    DetailsView validation for INSERT command

    lol.. yeah, that can be confusing. Just remember, any time you execute to a new window, you have re-execute after any changes :)
  7. Kodo

    Catch empty item template?

    I'll have to set up a test on this one myself. I'm not sure off the top of my head. Are you using an object datasource? or.. how are you binding the data. If you could zip your aspx and vb files for that page, that would be helpful for me to help you.
  8. Kodo

    DetailsView validation for INSERT command

    you need to do Set @LastID=(Select.......) without Set, you will get an error. Though, either way does the same thing. If @LastID is not being populated then there is something else that needs to be addressed. Triggers are a relatively new item on my plate as well. try this ALTER TRIGGER...
  9. Kodo

    DetailsView validation for INSERT command

    Right after the "AS" statement and before BEGIN. When you use DECLARE, it declares a local variable to that procedure just like in any programming environment. In VB we do DIM var.. in sql they do DECLARE var(type).
  10. Kodo

    ASP Server

    no, that is ( I believe) a sample app that goes through using the previous concepts in an app so you can see how it all gets put together.
  11. Kodo

    ASP Server

    the first video to hit is 2101 under Object Oriented VB.NET.
  12. Kodo

    DetailsView validation for INSERT command

    @@Identity is a bad idea to use here because its' scope is database wide not table specific. Triggers can capture data from the altered row like this for example: DECLARE @LastID int Select @LastID=PositionFillID from Inserted yes, that is literally "inserted" in place of a table name...
  13. Kodo

    DetailsView validation for INSERT command

    1. You could add a check in your code to see if ToDate is null or empty and set the details view mode to edit instead of insert 2. Trigger 3. a variant on 1 really, which checks the ToDate and change the view mode accordingly. I vote #2 with a prompt that it will "close out" the previous one...
  14. Kodo

    ASP Server

    Trust me, I've run into this problem a hundred times or more. If you can move to .net 2.0.. do it.. it's like night and day..
  15. Kodo

    ASP Server

    put this in a batch file for .NET 2.0 C:\windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i for .NET 1.1 do this C:\windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i then execute the batch file. When you reg .net 2.0 it takes over 1.1 so any sites running 1.1. will...
  16. Kodo

    Stuck on INSERT...

    ok, classes are a programmatic/abstract represention of some object. A person has properties ,procedures, and methods. We have eyes, ears, skin etc.. we have routines (procedures) that we follow dailiy. We have functions that we perform when needed. A person class could represent this. Take a...
  17. Kodo

    Stuck on INSERT...

    what you should do is make a person class (i'm assuming persid is person) with all the attributes that the person table has. SO if your person table has ID, Fname, LName, DOB, SSN etc.. stuff like that, then your class will mirror that using properties. So then what I would do is have a button...
  18. Kodo

    ASP Server

    I love short-cuts.. can't help it :)
  19. Kodo

    Stuck on INSERT...

    lets say the url was http://www.someplace.com?id=23 You would do Dim ThisID as integer=request.querystring("id") Then you would pass "ThisID" to your data layer insert method.
  20. Kodo

    ASP Server

    start => run TYPE INETMGR (just thought I'd chime in with a shortcut :) )
Back
Top Bottom