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();
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...
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
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...
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.
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...
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.
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.
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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.