Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
F

firestoper

@firestoper
About
Posts
64
Topics
30
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Only Content controls are allowed directly in a content page that contains Content controls.
    F firestoper

    I get this error whenever I place this code on my inline script. this.RegisterClientScriptBlock("keyClientBlock", "alert ('Javascript block of code executed')"); Please advice. thanks Dom

    ASP.NET javascript html tools help

  • passing data information from masterpage to web user control
    F firestoper

    Hi Guru's I'm new in using master page, I was able to pass data from aspx pages to controls placed in master page, I'm just wondering it is possible to pass data to a webuser control that was placed on master page? How can that be archived? Thanks Dom

    ASP.NET html question

  • Mass mail sender app
    F firestoper

    Hi Guys, I'll be starting to work on web app that would send out massive mails for our clients campaign (approx 20k per batch), the webserver's and mail server are being hosted on our end so we have the complete control of the platform. I'm just wondering: 1. What would it takes me to maintain a high volume of mails being received by our mail server 2. Would it be possible to have another mail server where we could crate a load balance for the volumes of mails? 3. Can you give reference / URL where I could check on the design for this kind of web apps. Thanks Dom

    Web Development html design sysadmin question

  • Mass mail sender app
    F firestoper

    Hi Guys, I'll be starting to work on web app that would send out massive mails for our clients campaign (approx 20k per batch), the webserver's and mail server are being hosted on our end so we have the complete control of the platform. I'm just wondering: 1. What would it takes me to maintain a high volume of mails being received by our mail server 2. Would it be possible to have another mail server where we could crate a load balance for the volumes of mails? 3. Can you give reference / URL where I could check on the design for this kind of web apps. Thanks Dom

    Design and Architecture html design sysadmin question

  • No parameterless constructor defined for this object.
    F firestoper

    I don't mean to be harsh all of us do start from baby step, those two people has given helpful suggestions and you.. you simply throw snow ball and say I advise you learn .NET or something ... or something?? WAD! Big help anyways

    ASP.NET html help question

  • No parameterless constructor defined for this object.
    F firestoper

    Hmm basically I doing a layman work which is trying to convert my DAL (data access layer) functions to objectDataSource properties, the function I'm calling accepts one argument which sometimes can be null / 0 since its optional. Below is my function as well as the DAL that it calls Public Function fill(Optional ByVal orderID As Integer = 0) As DataTable Dim cmd As SqlCommand cmd = New SqlCommand Dim da As SqlDataAdapter da = New SqlDataAdapter Dim dt As DataTable Try dt = New DataTable cmd.Connection = _SQLConnection cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = "nw_spSelectOrders" cmd.Transaction = _SQLTransaction If Not orderID.Equals(0) Then cmd.Parameters.Add(New SqlParameter("@orderID", SqlDbType.Int)) cmd.Parameters("@orderID").Direction = ParameterDirection.Input cmd.Parameters("@orderID").Value = orderID End If da.SelectCommand = cmd da.Fill(dt) If Not dt.Rows.Count > 0 Then Throw New Exception("no record") Else Return dt End If Catch ex As Exception Throw New Exception(ex.Message) Finally cmd.Dispose() da.Dispose() End Try End Function SP for the function above: 0 - returns all data SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON GO alter PROCEDURE nw_spSelectOrders ( @orderID int = 0 ) as begin Select o.orderID, od.quantity, od.unitprice, od.unitprice from orders as o left outer join [order details] as od on o.orderid = od.orderid where case when @orderID = 0 then 'selected' else case when o.orderID = @orderID then 'selected' else 'not selected' end end= 'selected' end Whats wrong with passing 0? when I explicitly place orderID number I get result but passing 0 nada.. Please advice Thanks Guys -- modified at 20:49 Tuesday 11th September, 2007

    ASP.NET html help question

  • No parameterless constructor defined for this object.
    F firestoper

    Hi Guru's Im using ObjectDataSource for filling up the GridView, I'm just moving in on using objectDataSource, I find it handy since it trims up my code. After placing the requirement I'm encountering this issue No parameterless constructor defined for this object. Please let me know what when wrong? Regards Dom

    ASP.NET html help question

  • running subquery within the same table
    F firestoper

    Almost :) Thanks Mike

    Database database

  • running subquery within the same table
    F firestoper

    I know this q is very elementary but here it goes. I'm trying to run a subquery on this table to get the name from ReportsTo Column EmployeeID Name Hired reportsto 1 Ms. Davolio Nancy May 1 1992 2 2 Dr. Fuller Andrew Aug 14 1992 2 3 Ms. Leverling Janet Apr 1 1992 2 4 Mrs. Peacock Margaret May 3 1993 1 This query doesn't seem to work Select Name, (select name from employees where employeeid = reportsto) as 'ReportsTo' from employees Please advice

    Database database

  • regex doesn't allow tags
    F firestoper

    what will be the regex that doesn't allow < > tags? regards Dom

    ASP.NET html regex question

  • SQL db table limit
    F firestoper

    Thanks for the nice feed from you guys, I guess I'm going to push it through though just to see how it goes when hits a thousand sign ups (day dream mode). I'll let you know when things start to mash up (couple of years I guess). regards Dom

    Database database html

  • SQL db table limit
    F firestoper

    Hi Guru's I created a web application which is intended for multi users, I come up with an idea that every user who sign ups will have their own sets of tables instead of one row on the table with relations to other table, I'm just wondering whats the limit count of tables can a database (MSSQL2005) hold and is it a good advice to propagate table. regards Dom

    Database database html

  • Grouping session variables
    F firestoper

    Also was it a good practice to place class into a sessions? Regards Dom

    ASP.NET html question

  • Grouping session variables
    F firestoper

    Thanks, that would be a great idea.. hmm but are there any other object which I could explicitly group my session variable on the fly without creating another class? Dom

    ASP.NET html question

  • Grouping session variables
    F firestoper

    Hi Guru's I'm not good at organizing my sessions and I always find my self scratching my head when ever I'm looking from session variable I created. Is there any technique / way that I could organize my sessions into one holder, hmm something like what Enum can do? I always port my session variables this way Session("memberID") = memberID Session("memberName")= memberName Session("memberEmail")= memberEmail is there a way that I could group then and place the group to a session? like placing Enum into session, hmm but not that actually but the idea of placing it. e.g. Public Enum MemberInfo memberID = 1 memberName = "Name" end Enum Session("memberInfo")= memberIfo regards Dom

    ASP.NET html question

  • Problem writing Cookie
    F firestoper

    Thank you for the help Mircea, I've been using firefox sorry for that, I downloaded the app that you've gave and run the cookie page on IE browser. I checked on my cookie folder (that was shown on special folder location app) but can't find the cookie I created. To make sure I run a cookie checking script to see if there was a cookie generated, but it skipped the condition which means no cookie was created, below is my code: pageBookmarkcookie = Request.Cookies("pageBookmark") If pageBookmarkcookie IsNot Nothing Then For x As Integer = 0 To pageBookmarkcookie.Values.Count - 1 Response.Write(pageBookmarkcookie.Values(x)) Next else response.write("no cookie found") End If regards Dom

    ASP.NET sysadmin help question

  • Problem writing Cookie
    F firestoper

    I just place the page where calls the writing of cookie file, also I removed the path location, but no cookies was generation on the root folder. Does the page needed to be on a live webserver to generation cookies? or does this run on local web instance? huhu.. Dom

    ASP.NET sysadmin help question

  • Problem writing Cookie
    F firestoper

    Hmm the path points to where the cookie will be created bookmarkCookie.Path = Server.MapPath("../") I replaced it to more a specific location but nada.. no cookie :( bookmarkCookie.Path = Server.MapPath("../_cookies") What do you mean by Set the cookie from a page in the root folder are you suggesting that I should place the page that writes cookie to the root? Please advice Dom

    ASP.NET sysadmin help question

  • Problem writing Cookie
    F firestoper

    Thanks Mircea, I tried looking on the path you suggested but there seems to be no cookie folder, I also tried viewing hidden folders but still no luck, I don't know if its on the code although writing cookie is pretty straight forward. Dom

    ASP.NET sysadmin help question

  • Problem writing Cookie
    F firestoper

    Hi Guru's I'm having problem on writing cookie, not on the code but I can't seem to find the actual cookie file that was created, I also tried to placed the cookie path to my project folder but I still can't seem to find the cookie that was created. Below is my code for creating cookie. Am I doing something wrong? Please advice Dim bcap As HttpBrowserCapabilities Dim bookmarkCookie As HttpCookie bcap = Request.Browser If Not bcap.Cookies = True Then wc_header.setError("Cannot bookmark page, Cookie is not enabled in this browser") Return False Else bookmarkCookie = New HttpCookie("pageBookmark") bookmarkCookie.Path = Server.MapPath("../") bookmarkCookie("pageID" & pID) = CType(pID, String) bookmarkCookie.Expires = Now.AddDays(1) Request.Cookies.Add(bookmarkCookie) Return True End If

    ASP.NET sysadmin help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups