- Strength to Increase Rep
- +14
- Strength to Decrease Rep
- -3
- Upvotes Received
- 339
- Posts with Upvotes
- 312
- Upvoting Members
- 135
- Downvotes Received
- 22
- Posts with Downvotes
- 20
- Downvoting Members
- 13
... I only want to learn programming decently!
That`s about it.
- Interests
- tennis, football, skiing, karting
Hello, I'm trying to write data to an INI file, I've got some code to read it: [http://pastebin.com/Jpwf8XJM](http://pastebin.com/Jpwf8XJM). I've tried to modify this code to get it to be able to write to INI files, but I haven't had much success. I know there are DLL's designed for this, but … |
|
Hi there folks, kinda new too C# and want too show or hide a button using a checkbox and after trying i just gave up haha so here is the quastion! how do you do that because i am really lost here.. would show you the code. but i kinda … |
|
I have this small monitoring system which monitors customers on daily, weekly, and monthly payments. How do i sum all the numeric values in the "type of payment column"? How do i delete the current record selected by the user? IE, i select a name, then hit delete, deletes all … |
|
hello :) i wanted to know, how can i change the shutdown mode of my Windows Form Application, @ MS Visual studio 2010. i.e, my application should exit only when i close my last form.. & not when the main form is closed.. i remember, in .NET 2003 windows form … |
|
how can i limit a user to enter 10 digit no like telephone no in textbox without using regular expressions????? |
|
I was working on C# windows application as front end and SQL as back end I have display my sql table data in dtatgridview. [B]I want to display the data in textbox whatever row i select in datagridview.[/B] I have write some code but its not showing data in textboxes. … |
|
I've looked around this forum, and the rest of the internet, but my code is not working. Here is the problem: I read XML files that are in en-US culture. The decimal separator is a dot ".". Given the string "123.45", I want to convert the separator from a dot, … |
|
what i need is call the 'buttonclick event' for a button on form2,from form1 or call 'perform_click' for the button on form2,from form 1. i am able to call PERFORMCLICK when the button is in the same form..but when it ison a different form,nothing happens.. please help me with this.. … |
|
|
I managed to get the value of an enum via reflection. I have to use reflection since I have different objects with enums in them. But how do I get the name of the enum? Let's say I have [CODE] enum MyEnum { A, B } [/CODE] I can get … |
Hello, I am creating a winform app in C# to store formatted text from a rich text box to MySQL database, which can be retrieved back to the rich text box. The database field is a VARCHAR and my code is something similar to below. But I'm getting "file not … |
|
hello what is the code of if scroll bar of listbox move i somethins like this ? [CODE] if listbox1.scrollmove then textbox.text="" end if [/CODE] |
|
How to close main form i. e login form after login and it should not close application |
|
[B]Retreving images from sql to datagrid View windows Forms[/B] Hi i have two colums in table, id and image i have stored my images in the Table ImgTB but the problem is while retreving the images. I just get a red cross.It would be great if some one can help … |
|
Hi... does someone know how to CONVERT NUMBERS INTO WORDS IN VISUAL BASIC 2008 until millions by using recursion??? if yes... can you please share to me the code??? thanks a lot!!! |
|
Hello everyone, I'm new around here and yes, I've checked the forum before posting this thread :) I'm having big troubles with an app (developed for Windows Mobile phones) that has, basically, to control the temperature of a room and send a message to the phone if something's wrong... Well, … |
|
|
Hi guys, I'm really stuck on this. I am not completely familiar with getters and setters so I am having great trouble with this. Firstly, I am using a windows form application and I have initialised a list within the 'Form1' class. I want to be able to use that … |
hi, i would like to change the row color in a data grid view at runtime. i made this code but it didn't work [code] foreach (DataGridViewRow dgvr in dgvReservations.Rows) { string status = dgvr.Cells[10].Value.ToString() ; if (status == "Canceled") { dgvr.DefaultCellStyle.BackColor = Color.Red; } } [/code] not even this … |
|
|
Hello Guys, Am having a new assignment and a new problem. I should make C# application witch shows drive letters in combo box, directories and only .txt files in tree view, and I should be able to open text file from tree view in text box using Open button. I … |
I wanted to know how to send all the entered user information from the textboxes on my form to one text file. I was thinking I need to say MessageBox.Show("each textbox), but I don't think that is right. All of this is is login information plus other user data so … |
|
I have designed Random number guessing game in windows form application. after user enters guessed number,hits button. for button click i entered code: private void buttonEnter_Click(object sender, EventArgs e) { string invalue; int number; Random r = new Random(); int target = r.Next(0, 100); invalue = textBox1.Text; counter++; label4.Text = … |
|
Hi Everone, Can You please let me know how I can add icon(image) before items in a listbox.I have a simple code for listing database elements in a listbox and I would like to add icon for each element.For example a table icon before tables(like MS Access Table List or … |
|
what is the difference between list and arraylist in c#? |
|
I'm imitating progressbar value change like: [CODE]private void playAnimation() { for(int i=1;i<=100;i++) { this.progressBar1.Value = i; System.Threading.Thread.Sleep(20); percent = i; } }[/CODE] At the same time I try to run another thread, to update label text like "...% completed". Of course I couldn't change text of label that was created … |
|
I am trying to establish a connection with sql server but i am not able to do so. Can some one help me out? |
|
Hello all, It has been long since i am facing this problem. I want to convert my datagridview data to pdf format. I have searched a lot but couldnt find any. Need your help. Regards, Ajinkya |
|
Hi , I m using VS2008 with SQL server 2008 at the backend. I m creating a windows application in which I have 2 listboxes.the data is being retrieved from SQL server database in listbox1.i want to select few itms from this listbox and add them to second one through … |
|
Okay so I know how to close the application completely but when I have multiple forms it tends to mess up my main form and cause bugs when I close my secondary forms. Can anyone help me with this problem? [CODE]// The bug I get is in Program.cs and it … |
|
Hi..all I'm newbie in VB.net Please Help me.. How to search data by textbox and datetimepicker access 2003 database in VB.net Exp : I want to search for data based on the Part name and two datetimepicker I try with code like this but the results are not in line … |
|
I have teo form form1 and form2 i want to pass form1 textbox1 text in form2 textbox1.text whae i click a button of form1.(Its for windows application) Plz give me some help...... |
|
Hello Experts Here is my connection string [CODE] string con = "Data source =YS-8462BA359936;Initial Catalog = Schooldata;Integrated Security = True";[/CODE] and my store procedure is [CODE] SqlConnection objCon = new SqlConnection(con); objCon.Open(); SqlCommand cmd = new SqlCommand("Studentinsertadmission", objCon); cmd.Parameters.Add(new SqlParameter("@Studentid",Convert.ToInt32( studentid.Text))); cmd.Parameters.Add(new SqlParameter("@StudentName", firstname.Text)); cmd.Parameters.Add(new SqlParameter("@Image", image.image )); cmd.CommandType = … |