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
J

jcrussell

@jcrussell
About
Posts
97
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Return Name of a Function
    J jcrussell

    Just worked it out: System.Reflection.MethodBase.GetCurrentMethod.Name

    Jason

    Visual Basic csharp asp-net help question

  • Return Name of a Function
    J jcrussell

    I'm trying to log errors to a log file and I want to write the name of the function/sub where the error message occurs to the text file. eg private sub DoOperation() . . . if errorOccured then LogError(subName) end if end sub is this possible? I'm using VB.NET writing an ASP.NET Application with .NET 2.0 (VS2005)

    Jason

    Visual Basic csharp asp-net help question

  • dateandtimepicker in vb.net 2003
    J jcrussell

    the code you want is frmNewBooking.txtDateOfPerformance.TEXT = dtpPerformDate.Text you're reading the text out of the DateTimePicker and then you need to assign it to the Text Property of the Textbox. Textboxes are more than just text - they have other properties available

    Jason

    Visual Basic csharp

  • datatable.columns.add(datacolumn, index)
    J jcrussell

    so how is this done? I already have my datatable (tblMergedContactsAndCompanies). I want to add a new column at index 0 and then read through all the rows in my datatable and assign an icon depending on Type (Contact or Company) and then display this in a datagrid. I can add the icon column to my datatable, but when I display it in my datagrid, it is at index(datatable.columns.count).

    Dave Kreskowiak wrote:

    In order to do this, you'll have to create all your columns, in the order you want, and add them to the grid.

    Are you saying that I have to create a new datatable, read the columns from my original datatable in, and then read the data in? :doh:

    Jason

    Visual Basic database tutorial question

  • datatable.columns.add(datacolumn, index)
    J jcrussell

    I'm setting it as my datagrid datasource. I'm reading data from several sources in my database. Based on the type of data I'm reading (whether it is Contact data or Business data etc) I wanted to add an icon column to my datagrid. This works fine, except the icon is the last column in my datagrid, I want it to be the first. I assumed that I would do this at the datatable level, not at the datagrid level.

    Jason

    Visual Basic database tutorial question

  • datatable.columns.add(datacolumn, index)
    J jcrussell

    I have a datatable that I have retrieved from a database (w00t!) now I am trying to add a column to this datatable, but the add command only allows me to add a datacolumn to the end of the datatable collection :| I want to add my new datacolumn to the start of the datatable (or potentially at any index :~ ) and I haven't been able to figure out how to do this. Any hints? Thanks in Advance,

    Jason

    Visual Basic database tutorial question

  • Windows.Forms webviewer
    J jcrussell

    ok, I found one that seems usable There doesn't seem to be a .NET 1.1 version of a web browser, but there is a Microsoft Web Browser COM component that I can add that does what I want. Thanks for your help Christian :-D

    Jason

    Visual Basic tutorial question

  • Windows.Forms webviewer
    J jcrussell

    is this a standard control? I can't find it in my toolbox. I am using VS2003 and .NET 1.1 (thanks for the quick response! :cool:)

    Jason

    Visual Basic tutorial question

  • Windows.Forms webviewer
    J jcrussell

    Hi all, How would I go about viewing a website inside a windows form? I don't want to launch Internet Explorer because I need to control the toolbars displayed, without affecting a user's settings. Is there a built in tool for this, or a free third party tool, or a tutorial or a technique that I can use? Thanks for anything you give me

    Jason

    Visual Basic tutorial question

  • Reload
    J jcrussell

    are you talking about the one in SQL Server Reporting Services? when a report is loading? Jason

    The Lounge javascript html com

  • Date Format Issue ?
    J jcrussell

    use Cultures Jason

    Web Development help question

  • Hide a listView column
    J jcrussell

    it doesn't have to be recursive: if the size of the column is not 0, then resize the column if the size of the column is 0, then exit the function Jason

    Visual Basic

  • OLEDbCommand Locks entire Access Db
    J jcrussell

    Hi All I've created a pretty basic update command that uses oledbparameters that runs successfully. However, it locks the entire database (ie: no one else can use the Access database while the query is running) Also, if the database is open in MS Access, my query fails because the "file is already in use" what can I do to stop this. Can I specify a level of locking to use - optimistic, pessimistic, etc Thanks for any advice Jason

    Visual Basic database announcement

  • whitespace around css background
    J jcrussell

    Chetan.visodiya wrote:

    in every table tag

    just put that into your css file. Saves you having to put it all over the place Jason

    Web Development csharp php css graphics question

  • Input Text Mask
    J jcrussell

    This is perfect :) It is even case sensitive :cool: Thanks alot Jason

    Web Development javascript regex help question

  • Print to client PC's printer
    J jcrussell

    This is cool. Although I suppose you would actually want to navigate to a printer-friendly page before you print, then on page.load you would call window.print(); ? Jason

    ASP.NET csharp question asp-net

  • MS Access
    J jcrussell

    My version of Access 2003 has become corrupt. I tried to uninstall just that section of office and reinstall it. No luck. Tried to uninstall office, and reinstalled, but no luck there either. All my settings and presets were restored with the reinstall so I suspect the problem lies there. Everytime I try and open a .mdb file (any mdb file) Access crashes and asks whether I wish to repair the database. Repairing the database does nothing. Any suggestions\hints - other than a reformat\reinstall, which I can ill-afford at the moment. Jason

    The Lounge database help announcement

  • Input Text Mask
    J jcrussell

    Hey all I have a textbox with a max length of 5 the first three chars must be uppercase letters between [A-Z] the final two chars must be between [0-9] I am trying to do this as a regex function in the onChange Event using Javascript, but my Regular Expressions aren't very good. currently I split the textbox.text into two string variables str1 = orgID.substr(0,3); // first three chars str2 = orgID.substr(4,5); // last two chars Then I run a (very) simple regex expression on each of these substrings. How would I do this formatting without breaking orgID into 2 substrings? Thanks for help Jason -- modified at 20:23 Monday 10th April, 2006

    Web Development javascript regex help question

  • XPath not working with xmlns attribute
    J jcrussell

    you have to use a namespacemanager. xmlns stands for XML Namespace. Once you add the value to the namespacemanager then you can use xpath.

    dim namespaceManager as XmlNamespaceManager 
    namespaceManager = new XmlNamespaceManager(xmlDocument.NameTable)
    namespaceManager.AddNamespace("oasis", "urn:oasis:names:tc:DSML:2:0:core")
    

    Then when you use xPath, you have to use your custom namespacemanager, and everything should work fine. Jason

    ASP.NET help xml asp-net question

  • Speaking of CP membership count
    J jcrussell

    I love being an Aussie - we are the only possible people who could get away with calling that place a 'shack' :-D /jason

    The Lounge html database com
  • Login

  • Don't have an account? Register

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