blah blah blah is here! blah blah » Close

0
votes
1 answers

Generate C# Class Code for Table in Visual Studio

Hi Friends! I have multiple tables in my Server Explore database file. I want to generate auto code of Classes for tables, so all classes with their attributes, constructor and getter setter methods automatically generate. Kindly tel ...

0
votes
1 answers

What data type would be best for storing the money formatb of data in C#?

Hi, I am working on a website which is supposed to deal with users bank transactions. As it is going to deal with money on a higher scale. I want to know what will be the best fit data type for storing the money values in C# language such ...

0
votes
1 answers

help me all for microsoft visual c#

Hi all I m getting problem in c# classes even i didnt have the basics of visual c# so needs some basic examples for classes inheritence & multi level inheritence also give it in simple way I am an beginner not master.

0
votes
1 answers

ASP.NET in C# code for how to display table values in textbox while dropdownlist is clicking

ASP.NET in C# code for how to display table values in textbox while dropdownlist is clicking

1
votes
1 answers

how to use a for each to determine whether each list item is checked

[code]List<string> checks = new ListBox<string>(); foreach (Control c in this.panAll.Controls) { if (c is ListItem) { if (((ListItem)c).???? == checked))) { checks.add(&quo ...

0
votes
3 answers

c# code for Merging two sorted arrays

please help me to write a code in c# for merging two sorted integer arrays.for example Input: A = 5 3 6 9 1 B = 4 7 2 6 0 Output 0 1 2 3 4 5 6 7 9 I need a code witout using inbuilt functions because one interviewer asked to ...

1
votes
2 answers

C Sharp Combination

Hi everyone I'm trying to create all possible combinations without repetitions. I need to create 3 numbers with values from 1-10 with no repetitions. Ex: 1-2-3 1-3-4 1-2-4 1-3-5 2-3-5 and so on..... I need a ...

0
votes
1 answers

Different color for each listbox item

Howdy, Please help me. I wonder how to give a different color for each listbox item. I've try to make a short line of code to handle that but it was failed. [code] if(this.listBox1.InvokeRequired==true){ this.listB ...

0
votes
2 answers

C# Database Connection String for Server

MySqlConnection myConn = new MySqlConnection("server=192.168.1.103;database=productcatalog;uid=root;password=12345678"); // where 192.168.1.103 is the PC's IP address. above code does not give me any problem. but when I have ...

0
votes
1 answers

Free FTP library for C#

Howdy...I would like to know if there is any free FTP library. I've been using ChilkatDotNet2 but sadly the trial period is over. Thank you.

1
votes
8 answers

Check for existence of file, incremental filename till loop of 65535

I want to do something like this: (1) Check for existence of file with certain extension ".txt" in a directory D:\test (2) If a file does not exist, create a initial one, write something to it, and name it test_1.txt (2) If a ...

0
votes
0 answers

One dataGridView for many different tables from same database?

it seems to me that for one dataGridView, it can only be used to display for only ONE table from a database, is it true? I want to implement something such that when user press different buttons, it will display on the dataGridView differen ...

0
votes
1 answers

Testing for textbox Focus

I am trying to test if my textbox has focus in visual C#. Does anybody know how I could do this? it would really help, I'm trying to make it so that when you press enter while the textbox has focus, It will preform the same command as press ...

Feedback