blah blah blah is here! blah blah » Close

0
votes
1 answers

Why can I only show 50 characters in my C# application?

I have a multiline textbox that I am using to display the results of a couple thousand items I am placing into a SQL database during its runtime; Using a background worker to add all data in. The return value is often greater than 50 cha ...

0
votes
2 answers

C# textbox MultiLine problem

I'm having a problem with MultiLine in Textbox as i stumbled upon this problem... I simply cant figure out how to sum numbers which are separated by newline (/r/n) and then divide them with the number of them in array so that I can get thei ...

0
votes
0 answers

Access Database Table field into a textbox

Hi there. I am completely new to C# so i don't really know what i am doing. i have got a form with a combo box that is linked to a database table. and I've also got 6 text boxes. what i would like to happen is when the user changes th ...

0
votes
0 answers

How to Update a TextBox (in WPF) From a WCF Service?

I understand that to update a control from a non-GUI thread, I need to do some kind of thread-marshal that data from a worker thread to the UI thread, so as to avoid any deadlock. But I am not sure in detail how to do it. I am able to sh ...

1
votes
3 answers

Texbox autocomplete

Hi, I have a question about winforms textbox. I'm using c#. I am trying to develop autocomplete function in my application using a textbox and I have a problem. I'm fetching data from database. In my database I have the following va ...

1
votes
1 answers

Time string in textbox.

Hi. I have an application that I need the user to enter a time in this format: "1700" (five o'clock in the afternoon). I have two textboxes and first the user inputs the time started and then the time finished. So it is somethi ...

0
votes
4 answers

numbers only in text field

I know this has been posted here before but without the search feature I can't find it. I need to make sure that the user can only enter numbers in a textbox and don't want to build a full class for one textbox. I've seen something here ...

0
votes
3 answers

TextBox updates

AK01
15

Hi! i don't know if that's a feature... but the thing is that as I click rows in a ListView the corresponding updates of TextBoxes go a bit slow. Here is that I mean: 1. I have a Listbox with 2 columns 2. I have 2 Textboxes which filled ...

0
votes
1 answers

1 - 100 textbox

Hi all, I'm making a program in which I need a textbox (hundred_txt) that the user can only type in the numbers 1 to 100. Thanks in advance.

1
votes
1 answers

Compare textbox text to datagrid text

On my form i have a comboBox and a textBox and a datagridview, on button click i'm trying to compare the text from the combobox and textbox agaisnt the 2 columns in the datagridview, if it matches do a function. Now the below code i've c ...

1
votes
1 answers

Really simple question about text box

Dear All, I have a question about textbox in c sharp. I want to add a "-" after I type 2 characters inside a text box, the thing is if I use textBox1.Text += "-", the type pointer returns to the beginning. Any idea on ...

0
votes
2 answers

show the cursor in a readonly WPF textbox

hello, I'm learning development in WPF for my applications as some of the programs I design are used by disabled people who use alternative access technology, and WPF/UIA are supposed to really help this along. I've come across one major s ...

0
votes
2 answers

Masked Text Box for Hexadecimals

Dear All, Is it possible to make a masked text box for hexadecimal. It means that it is between 0 - 9 and A - F. How also to limit/set the length of char to put inside a textbox. For example there are a trackbar with numbers, if we selct ...

0
votes
1 answers

C# - Converting a string to a double with textboxes

in my program I am using a database containing a product name and product cost that is associated with the product. On my form I have several comboboxes for several categories of products , with a textbox beside each combobox. When I select ...

0
votes
2 answers

MessageBox with inputs

Dear All, Is it possible to make messagebox with text boxes and buttons (more than 1) so that we can receive inputs from the user with it? Kindest Regards, E

Feedback