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 Chris Miller 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: *

  • Users: stathread
  • Order by date
  1. stathread

    Adding Digits of a Whole #

    Ha! I didnt see you respond!
  2. stathread

    Adding Digits of a Whole #

    This is for others. for (int i=0;i<subscriberid.Length;i++) { string str = new string(subscriberid.ToCharArray(i,1)); integer = Convert.ToInt32(str)+integer; } textBox1.Text= integer.ToString();
  3. stathread

    Adding Digits of a Whole #

    Got it nevermind. lol
  4. stathread

    Adding Digits of a Whole #

    pretty easy I would think, I will most likely figure it out after I ask but I will ask anyways. My number: 123456789 Id like to split it up and add the digits:1+2+3+4+5+6+7+8+9 I tried to put it in a loop and do a substring then convert it back to a number but im having problems :( Thanks in...
  5. stathread

    Data Grid, Multiple Data Sets?

    Thanks for all of your help. I however took a diff approach and cloned & copied the data to a new datatable then viewed it. Thanks again.
  6. stathread

    Data Grid, Multiple Data Sets?

    how would I go about doing this, this is what im working on so far. rsadapter.Fill(sqldataset, rsconnect); dataGrid1.DataSource = sqldataset.Tables[rsconnect]; dataTable = sqldataset.Tables[dataTable] + sqldataset.Tables[a]; //This part is not working I am trying to add data to the datatable
  7. stathread

    Data Grid, Multiple Data Sets?

    Ok I will give the down low of what im trying to accomplish. I can view data with the datagrid like anyone else, but what im trying to do is loop through a listbox of server names and fill just one datagrid with the results from each server. For example, server will be each server in the...
  8. stathread

    Having Trouble Adding Class To Project

    http://blogs.msdn.com/shawnfa/archive/2005/05/17/418891.aspx I have a project im working with and id like it to tell my main form that the user logged off. How would I go about adding what is in the link above to my project. I have been trying to do this for over 2 hours now. Thanks.
  9. stathread

    Windows ScreenSaver And Locking Workstation.

    I have an application which will activate a windows screen saver yet the problem I am having even after i set ScreenSaverIsSecure = 1 and ScreenSaveTimeOut = 60 is that the screensaver lock still does not come up when you come back after 1 minute. I just need to figure out how to lock the...
  10. stathread

    FireFox &amp; Internet Explorer

    I have created a site in ASP.Net and when a user goes to the site using Internet Explorer it looks fine, but when a user goes to the site with Firefox it looks garbled. What is the way to fix this, I looked around and didnt see anything. Thanks.
  11. stathread

    Not C# related so much, but can a Setup file be decompiled?

    Try this, but you will have to install your software to see exactly whats being installed. http://www.sysinternals.com/Utilities/Filemon.html
  12. stathread

    C# &amp; SQL Process's

    During the running of my application it connects to sql launches some code and then I close the connection, but as long as my application is running, SQL still has a process for it which is sleeping but id like to clear this out. Is there a way to do this without closing the application.
  13. stathread

    Combining Lines

    Is there a way to combine lines of a text file? For example, id like to make this.. Bill Joeny 12 Deer Street Orlando Fl, 32333 Josh Joeny 122 Deer Street Orlando Fl, 32333 This.. Bill Joeny 12 Deer Street Orlando Fl, 32333 Josh Joeny 122 Deer Street Orlando Fl, 32333 Thanks.
  14. stathread

    Splitting Data

    Thanks for all of your help though!
  15. stathread

    Splitting Data

    Ok back on track its still a lil confusing but i used letters this time. Item Count Split Truck 6 a Car 4 c Truck 6 a Car 4 c Bus 2 f Bus 2 e Truck 6 a Car 4 d Car 4 d Truck 6 b Truck 6 b Truck 6 b
  16. stathread

    Splitting Data

    I am confusing myself. :)
  17. stathread

    Splitting Data

    so the finished output would look like this.. Item Count Split Truck 6 1 Car 4 2 Truck 6 1 Car 4 2 Bus 2 3 Bus 2 3 Truck 6 1 Car 4 2 Car 4 2 Truck 6 1 Truck 6 1 Truck 6 1
  18. stathread

    Splitting Data

    Sorry, Here is the input data Item Car Truck Car Bus Bus Truck Car Car Truck Truck Id like to add a field called Count and input how many there are in the list this way I can split it with your above code. Item Count Truck 6 Car 4 Truck 6 Car 4 Bus 2 Bus 2 Truck 6 Car 4 Car 4...
  19. stathread

    Splitting Data

    So I have a field with items and add a column to my table named count. How would i go about placing the count of each item in the count field. for example select distinct item,count(*) from my table item count cars 200 trucks 350 planes 500 ^^ how can i add a field with these values?
  20. stathread

    Splitting Data

    Thank you but what if i dont have a field with the count of how many apples or banannas there are?

Part and Inventory Search

Back
Top