Search

You searched for the word(s): userid:687023

Matching Posts

  • Re: dropdownlist filter on gridview

    Regarding using a text value to denote the various items in your dropdownlist, typically what I do is create a "lookup" table within my database. The lookup table would have two colums in your case: one for the identity value (integer), and one for the text value that describes the lookup item. Your datasource can then return both columns, and you can then bind on both columns. ie - DataValueField="status_completed" and DataTextField="status_description". GL
    Posted to Data Presentation Controls (Forum) by tysonh28 on 10/7/2008
  • Questions regarding impersonating

    Here's my setup: 1) Website called FolderWebEx 2) File server called FileHost Additional Info: 1) The website FolderWebEx uses various System.IO libraries (e.g. - System.IO.DirectoryInfo) to navigate the folder structures on the file server FileHost. 2) FolderWebEx uses windows authentication to authenticate it's users. It also uses impersonation to grant user priviledges to file server FileHost (in theory, anyway). Scenario #1 - (debugging locally) When hosting FolderWebEx from VS 2005,
    Posted to Security (Forum) by tysonh28 on 10/7/2008
  • Quickest way to search through a file?

    I have a directory of files and I want to search each of these files for a given phrase. What would the quickest way to do this be? I'm leaning towards just opening each file with a stream reader in binary, and then writing my own algorithm that essentially will iterate through the binary and compare it against the given phrase. I'm sure that I could write an algorithm to do just that, but is there a faster way to do it? Thank you in advance for any suggested ideas.
    Posted to Getting Started (Forum) by tysonh28 on 10/3/2008
  • Re: Why no delete button in my detailsview?

    Just a shot in the dark, but it makes me think of a caching issue, since you can see it in design view.
    Posted to Data Presentation Controls (Forum) by tysonh28 on 10/3/2008
  • Re: GRIDVIEW ONLY SORT IN ONE DIRECTION....

    protected void gvSubevents_Sorting( object sender, GridViewSortEventArgs e) { if (ViewState[ "SortColumn" ] != null ) { if (ViewState[ "SortColumn" ].ToString().CompareTo(e.SortExpression) == 0) { if (ViewState[ "SortDirection" ].ToString().CompareTo( "ASC" ) == 0) ViewState[ "SortDirection" ] = "DESC" ; else ViewState[ "SortDirection" ] = "ASC" ; } else { ViewState[ "SortColumn" ] = e.SortExpression; ViewState
    Posted to Data Presentation Controls (Forum) by tysonh28 on 10/3/2008
  • Re: how to read gridview all cell value

    After binding the GridView component. foreach ( GridViewRow gvr in gvBlah.Rows) { foreach ( TableCell tc in gvr.Cells) { // business logic goes here } }
    Posted to Data Presentation Controls (Forum) by tysonh28 on 10/3/2008
  • Re: Button in user control doesn't trigger onclick event

    Ascertain that the aspx for the button has an OnClick event. In other words - <asp:Button id="btnFoo" runat="server" onclick="btnFoo_Click" /> If you're doing this in VS 1.1, then it's possible that the wireup for the onclick has been lost from the codebehind. 1.1 was infamous for this bug. I've heard of a similar bug happening in VS 2, but never seen it myself.
    Posted to Web Forms (Forum) by tysonh28 on 9/25/2008
  • Re: How to download binary data in WebService?

    Never done it myself, so I googled and found some useful info here that dealt with your topic: http://www.devhood.com/messages/message_view-2.aspx?thread_id=52898
    Posted to Getting Started (Forum) by tysonh28 on 9/19/2008
  • Re: Gridview functions.

    DataControlRowType .DataRow
    Posted to Web Forms (Forum) by tysonh28 on 6/27/2008
  • Re: What is the Microsoft standard for web page layout?

    Excellent article on the pro's and con's of using tables or divs. http://www.devarticles.com/c/a/Web-Style-Sheets/DIV-Based-Layout-with-CSS/ The "correct way" to do it still a matter of opinion, but the web developing community seems to favor div tags, or so it seems to me.
    Posted to Web Forms (Forum) by tysonh28 on 6/27/2008
Page 1 of 21 (210 items) 1 2 3 4 5 Next > ... Last »