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
L

Leandrao

@Leandrao
About
Posts
14
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Listbox and Collection
    L Leandrao

    Go, Sub One() - called onLoad Dim colVOLEndereco As Collection colVOLEndereco = objBLLEndereco.fnListar If colVOLEndereco.Count > 0 Then lstEnderecos.DataSource = colVOLEndereco lstEnderecos.DataTextField = "pstrNome" lstEnderecos.DataValueField = "pstrIDEndereco" lstEnderecos.DataBind() end if End Sub Sub Two() - Called on postback Dim colVOLEndereco As Collection colVOLEndereco = lstEnderecos.SelectedItem End sub In sub two, the object selected isn't got. I'd like to put the selected object in colVOLEndereco. OK?

    ASP.NET question

  • Listbox and Collection
    L Leandrao

    It dont work.

    ASP.NET question

  • Listbox and Collection
    L Leandrao

    Hi group, I'm using a listbox and the datasource is a collection of the objects. My code is: lisbox.Datasource = collection it's ok. I'd like to get the object selected in listbox, but i'm not getting. How I do it? Sorry my bad English. Thanks,

    ASP.NET question

  • Losing Session in IIS
    L Leandrao

    Hi Pete, I've already discovered the error. The error was caused because name resolution in domain. My code was correct and IIS too, but the network's configuration was wrong. Thanks my friend!!! :-D

    ASP.NET help csharp asp-net windows-admin debugging

  • Session lost!!
    L Leandrao

    Hi, My app is works correct when I access app with http://localhost/app. The session is sotored. When I access app with http://machineName/app, the session doesn't sotored. I believe that It is a configuratio, but where is?? IIS, Proxy, Web.config? Thanks, Sorry for my bad english!!!

    ASP.NET windows-admin question

  • Losing Session in IIS
    L Leandrao

    People, I'm caming back because session in my app isn't working correctly. I did a simple code: in load method : session("test")= "hello world" in click button response.write (session("test")) What can I do?

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    I created a new page and used simple code testing session with string ("its my text"). The error ocurred. I'm thinking to myself that this error is in IIS!! Because it isn't ocurring in deployment!!!

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    Hi, The problem is continuing!!! I don't know like solve it. Thanks,

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    Ok, I'm going to see it. Thanks

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    I'm Sure, When select item in listbox1, session is losed!! Why is ocurring?? Is needin some configuration in IIS or asp.net 2.0?:confused: Thanks,

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    Ok, Let's go... Code: the first moment, this code is called in load method **************************************** dim ds as dataset ds = obj.list ' the method return a dataset of products listbox1.DataSource = ds listbox1.DataTextField = "Name" listbox1.DataValueField = "ID" listbox1.DataBind() Session("ds") = ds **************************************** the second moment, this code is called in detail method, when select a item in listbox1 **************************************** ds = Session("ds") Dim dr() As DataRow = ds.Tables(0).Select("ID = " & listbox1.SelectedValue) txtName.Text = dr(0)("Name") txtDescript.Text = dr(0)("Descript") lblNameSystem.Text = dr(0)("NameSystem") **************************************** The Error: Object not istance. I identified that error is ocurring in Session("ds"), but is ocurring only IIS 5.1., in debug it isn't ocurrign. Did you understand me? Thanks,

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    Ok, Let's go... Code: the first moment, this code is called in load method **************************************** dim ds as dataset ds = obj.list ' the method return a dataset of products listbox1.DataSource = ds listbox1.DataTextField = "Name" listbox1.DataValueField = "ID" listbox1.DataBind() Session("ds") = ds **************************************** the second moment, this code is called in detail method, when select a item in listbox1 **************************************** ds = Session("ds") Dim dr() As DataRow = ds.Tables(0).Select("ID = " & listbox1.SelectedValue) txtName.Text = dr(0)("Name") txtDescript.Text = dr(0)("Descript") lblNameSystem.Text = dr(0)("NameSystem") **************************************** The Error: Object not istance. I identified that error is ocurring in Session("ds"), but is ocurring only IIS 5.1., in debug it isn't ocurrign. Did you understand me? Thanks,

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    Thanks, i'm going to tray!! In few minutes i'll aswer!!

    ASP.NET help csharp asp-net windows-admin debugging

  • Losing Session in IIS
    L Leandrao

    Hi Friends, I created a app in asp.net 2.0 and i published app in IIS 5.1. Both are in my machine. I've had a problem with session, but this problem is ocurring onlyu IIS 5.1. This problem doesn't ocurring when i debug the app. The sessions are losing is postback and in other cases. But only IIS 5.1, in the asp.net 2.0 it dosoen't ocurr. I've already tried all ways, but a I've not had success. Can you help me? Sorry form my English, but I brazilian guy and i'm improving my English. Thanks!!

    ASP.NET help csharp asp-net windows-admin debugging
  • Login

  • Don't have an account? Register

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