Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SteenBray

    Datagrids and XML

    If you are using DataSet1.ReadXml( "dataset.xml" ), it's going to read in 4 seperate tables. If you take out the Parent Employees & Sites, and just have the instances of the Employees and Sites, it will read in 2 tables, Employee (with 2 records) and Site (1 record). From there, you can set...
  2. SteenBray

    Datagrids and XML

    Hi SiJP A couple of things (you probably know this but I'll mention it anyways)... 1.)The XML you posted is incorrect. You are missing the '/' on the closing Employees tag. 2.) Assuming you have read in the Xml so there are 2 tables in the dataset (Employees and Sites), you can adjust the...
  3. SteenBray

    My First program in VB.net

    Hey Henpat, When you rename your module, you need to go into you project properties and change your startup object to reflect the name of your new module. To do this, right click your project in your solution explorer and click properties. Change the startup object to the name of the module...
  4. SteenBray

    Need solution for cuting path from the filename's in array?

    I learn something new everytime I come on here... I always do it this way, seems a little less eloquent than regular expressions mind you // using LastIndexOf sFileName = arrFilename[0].Substring((arrFilename[0].LastIndexOf( "\\" ) ) + 1 ); I haven't used the Path class, but that seems like a...
  5. SteenBray

    Find time in a given range...

    Hi There, It's really late, so I'm not sure if this is going to work out of the box. I can't remember off the top of my head if the operators work on the Timespan objects, but try this out. You may have to use the Compare methods of the Timespans to test the values, but this should be along the...
  6. SteenBray

    ASP.Net ODBC Connection to local Access 2000 fails under impersonation

    Hi Stueyh, The first thing that I would check is to make sure that impersonated account has read/write permissions to the directory that the Access DB is located. The Write permission is key because of the ldb file that Access creates. HTH, Steen Bray...
  7. SteenBray

    Getting Info from Dataset

    Hey rahmanjan, Looping through a dataset is rather straightforward using the foreach structure. Here is a quick example of how to set your controls with a foreach loop. // assuming all objects are properly filled foreach( DataRow r in ds.Tables[0].Rows ) { label1.Text =...

Part and Inventory Search

Back
Top