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
P

patt

@patt
About
Posts
8
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Access web page text from C#
    P patt

    Maybe you can be a little more specific about the "data" you are looking for. I'm assuming you need the items displayed in the 6 column result table on the page ? Patt

    C# csharp html com help question

  • Access web page text from C#
    P patt

    Try System.Net.Webrequest .. to create a request for the page, and if you're not sure of a correct response, use WebResponse.GetResponseStream() to process the response Patt

    C# csharp html com help question

  • determine length Response.OutputStream
    P patt

    Dear Sandeep, Thank you for your response. Unfortunately WebRequest and WebResponse are not part of the context here. I'm way up the ASP.NET Stack intercepting the Http response. Patt

    ASP.NET html question

  • determine length Response.OutputStream
    P patt

    hello, I'm trying to intercept the Response.OutputStream in a HttpModule. Since Response.OutputStream is write-only I tried to filter it using the Filter property, but without success. I need to find a way to modify the stream if it's an image in the BeginRequest or EndRequest event. All I've seen is examples where ppl modify the HTML by filtering. Since my response contains only image data this doesn't work for me. I've been at it for days now X| Ideas anyone ? tia. Patt

    ASP.NET html question

  • ObjectDatasource Deletemethod w custom Business Object [modified]
    P patt

    That worked. Thanks. Eh, you wouldn't know how to keep it working even if I set the ID field readonly ?

    ASP.NET business tutorial question

  • problem with expressions in switch statement
    P patt

    The frustrating thing is that you will have to use if statements in C# to do this....

    ASP.NET help csharp

  • How to handle a click of a hyperlink
    P patt

    As far as I can tell there's no click event associated to the Hyperlink webcontrol. There is a ServerClick event for the HtmlAnchor control however, that will qualify for what you're trying to do. Personally I'd try to work with the Attributes collection of the HyperLink or the Style collection of the table cell. Hope this helps, Patt

    ASP.NET csharp html graphics tutorial

  • ObjectDatasource Deletemethod w custom Business Object [modified]
    P patt

    Hi, I've tried to create a business object that can fully bind to the ObjectDatasource to be used in a DetailsView object for example. Everything works f X| ine here, but I cannot seem to get the deletemethod to do anything. This is the testobject I created: public class BO { private int _id = 0; public int Id { get { return _id; } set { _id = value; } } private string _Field = string.Empty; public string Field1 { get { return _Field; } set { _Field = value; } } private string _Field2 = string.Empty; public string Field2 { get { return _Field2; } set { _Field2 = value; } } public BO() { } public BO(string fld1, string fld2) { Field1 = fld1; Field2 = fld2; } public BO LoadMe() { return (HttpContext.Current.Session["bo"] != null)?(BO)HttpContext.Current.Session["bo"]:new BO(); } public void AddMe(BO bo) { HttpContext.Current.Session["bo"] = bo; } public void DeleteMe(BO bo) { BO InMem = (HttpContext.Current.Session["bo"] != null) ? (BO)HttpContext.Current.Session["bo"] : new BO(); if (InMem.Id == bo.Id) // Why is bo empty ?? HttpContext.Current.Session["bo"] = new BO(); } I created a page with an objectdatasource, selecting LoadMe as the SELECT method, AddMe() as the INSERT method, and DeleteMe() as the DELETE method. The odd thing is that DeleteMe() fires, but the parameter bo is passed with just empty values.. Does anyone know what I'm doing wrong (if I'm doing something wrong) ? Never mind the working of the object, I just need the Delete method to work. tia, Patt -- modified at 10:37 Thursday 22nd June, 2006

    ASP.NET business tutorial 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