Search results

  1. Kodo

    Deleting a Asterisk from a string

    yikes! that's overkill. Just do this var=replace(strVal,"*","")
  2. Kodo

    Desktop Remote Connection With XP Home

    oops, sorry bout that, I missed that in your post; that's what I get for skimming :p RealVNC is a decent option but the free version doesn't encrypt the session. ( http://www.realvnc.com/faq.html#security ) just an FYI. :)
  3. Kodo

    Desktop Remote Connection With XP Home

    www.logmein.com
  4. Kodo

    Best practice for adding new record?

    that's cool, but you should know about it anyway :) I tell you I had a hard time moving from ASP to .NET as well because I had direct interaction with everything displayed. I miss that in a sense but the interaction level has been moved into a control object and once you get a hang of the...
  5. Kodo

    Best practice for adding new record?

    when you changed it to a template, it should have put <%#Bind("NewsDt")%> for the text value. If you go to the insert item template edit view in the designer, and you click on the text box for the NewsDt field you should see a little black arrow on the top right corner of the textbox control...
  6. Kodo

    Best practice for adding new record?

    that means it can't find the control in the FindControl method because you're using a bound field. Make that field into a template column and and set the ID to NewsDt and then try the code again.
  7. Kodo

    Best practice for adding new record?

    for classes, take a look at my examples in the VB.NET forum. As for default values for the FormDetail you'll need to go into code to do this. Protected Sub FormView1_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs) Handles FormView1.PreRender Dim ThisControl As...
  8. Kodo

    Best practice for adding new record?

    ok, lets say you have a registration page (there is a control for this but lets pretend otherwise). You can make a class that has all the properties of the registration and when you submit, it creates an object and populates these properties and then sends this object to a data layer which...
  9. Kodo

    limits on number of variables

    a lot of what you're questioning has to do with server configuration, software requirements and software archtecture. If you have lots of RAM , then you have more leeway, However, if you have say 1Gig of RAM and you have 1000 users on your site with 15 session objects, each with 100kb of data...
  10. Kodo

    How To: Use binding source object to bind to a custom object

    (VB.NET 2.0) This demonstration builds off the last demonsration (xml serialization) and uses the same People class. In this demonstration you will see how to use the binding source object to bind to an instantiated People object and bind the data to a GridView as well as binding text boxes to...
  11. Kodo

    Best practice for adding new record?

    Bingo.. and It would be difficult to explain without writing a short essay on it. Better to watch than to have me re-write it :)
  12. Kodo

    Best practice for adding new record?

    grab some coffee and a bagel http://www.microsoft.com/events/series/essentialaspnet.mspx These videos are much better than me typing it all out.
  13. Kodo

    Asking for help in developing project

    .NET isn't something you just start doing. There's a lot to learn about it and the curve is steep if you have no experience in programming OOP. You will need the VS.NET IDE. You can download an express (free) version (legal!!!) from MS here...
  14. Kodo

    Put back VB.NET Forum

    WOOOOT!!! *gets out bucket and shovel*.. Time to go play in the sandbox! :)
  15. Kodo

    How To: Serialize an object into XML

    VB.NET 2.0 This example written in VB.NET will show you how to take data from a form, instantiate and populate an object and then serialize the data into an well formed XML Document. It will display the raw xml in a text box and then load the xml data into a dataset which will be bound to a grid...
  16. Kodo

    Forms Authentication

    that's what I'm saying. Your logout "section" is within the layer that is being protected with FormsAuth. You need to remove it from being protected by FormsAuth for it to do what you're asking. So, have the link go to a Logout.aspx page that does the logging out for you. so. click LOGOUT...
  17. Kodo

    Forms Authentication

    well, that logic won't work because if the session expired then they are already "logged out" so to speak so if you have a logout page that requires authentication to get to (which appears to be the case) then you should change your forms auth so that the logout page does not require...
  18. Kodo

    Passing CSV to Stored procedure

    you're execing a string try SET @SQL = 'SELECT tblClient.Country, dbo.tblClient.cName, dbo.tblClient.clientID, dbo.tblClient.Wholename, dbo.tblClient.TelNumberG, dbo.tblClient.TelNumberD, dbo.tblClient.City FROM dbo.tblOrders INNER JOIN dbo.tblClient ON...
  19. Kodo

    Passing CSV to Stored procedure

    that's a big one.. here's another one that's a little more organized CREATE FUNCTION dbo.fn_Split (@text varchar(8000), @delimiter varchar(20) = ' ') RETURNS @Strings TABLE ( position int IDENTITY PRIMARY KEY, value varchar(8000) ) AS BEGIN DECLARE @index int SET @index =...
  20. Kodo

    Return Number of Rows affected by a Select statement

    yes, select count(*) does have much overhead. I used the sproc in the link I gave and expanded on it to include more flexibility in the sproc for grouping etc. I was able to use this to build a gridview class for classic ASP that works quite well and the query is fast as it only selects the...
Back
Top Bottom