Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

Learning C#

Hi all,I am starting to learn C# and i'm up to chapter 6 of a book i purchased and im getting concerned its not the best to learn from. i have learnt another language before (very primitive one...

View Article


Reading Database Field Names as Variable Names

I'm working on a C# project which will read a single record from a MySQL database and do some work based on that information. I was thinking of building my SELECT statement with the names of about 30...

View Article


Image may be NSFW.
Clik here to view.

A Better Solution To My charToString Method?

Hiya, Please look at my code and tell me if there is a solution that is better, more consice, not cluncky like;public static string charToString( int Count, BinaryReader BR ) { int j; char[] eBuff =...

View Article

how to dispose array

Hi,I have this function that should be called multimple times.And i want to make sure that int[,] arrays be disposed / they dont use any memory at the end of the function.privatebyte[,] sobel(byte[,]...

View Article

Build Excel 2010 Pivot Table from template on Server

Greetz!I need some input on a solution to take an excel 2010 spreadsheet that contains a large pivot table which is currently being built via odbc connections and VBA code and build it using C#. The...

View Article


Image may be NSFW.
Clik here to view.

Consuming a Java Web Service with a .NET Client

My english very bad. Help please.successful soapUImy c# code  private void button1_Click(object sender, EventArgs e) { ServiceReference1.XXTG_AP_COMMON_WS_PKGClient soap = new...

View Article

searching of data within the date in date time picker

void FillCombo() //link data to dropdown list        {            string ConnectionString =                "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + _excelFilePath + ";Extended...

View Article

Image may be NSFW.
Clik here to view.

About multi-window program

If I have already opened my application, and I want to open it again.So I've click to open new window. but it won't open.How can I fix it?Thanks

View Article


How to rename a string/column ID from Entity Framework generated classes?

Hey guys, I currently have a generated code from Entity Framework. My table is called "Authors", but I am trying to change my column names to become more clean and professional. For example I want to...

View Article


Kinect Explorer WPF C# read depth data from the file and conversion to skeleton

Hello,I am using Kinect sensor to do some research on biometrics. Since it is impossible to find people to collect some samples, I would like to use samples from the TUM - GAID database, where there...

View Article

Connect to OLEDB database connection

I am trying to pull data from a PivotTable in Excel but I would imagine the best way to do this would be to access the data source directly.  In Excel, it appears that the connection string...

View Article

Display visual image of data fields c# Visual studio

I would like to display a visual representation of car park spaces that are/ are not available on each day of the year. I am having difficulty doing this. I am using c# in visual studio and at the...

View Article

text in my own voice

i am a beginner in c# and have come across voice recognition programme in c# where we can hear the text in computer's voice and we can also write text in textbox by speaking. But i want to make a...

View Article


Authentication/Autiorization - using token sso/and SQL server hosted web app...

Im in a very large enterprise organization where communication is filtered thru many mgmt layers, so being able to find out who to talk to is one thing, and having them give answers in another.  We...

View Article

Return value from a Method in Class

Hi, in the following code snippet public class myLookupClass { public LookUpData GetLookUpData() { string myConn = "server=MyServer;database=MyDatabase;Integrated Security=SSPI"; LookUpData lookUp =...

View Article


C# Web Service response from XMLA (using BW SAP) returns french Accent...

I am using .Net Framework 4 C# web service project.  I am connecting with XMLA service (using as web reference) in my C# project. The issue seems to be able to handle the French characters once i am...

View Article

deleting rows from Datatable causes error

I am trying to remove rows that are not needed from a DataTable. Basically, there may be several rows where theitemID is identical. I want to find the rows where the column "failEmail" = "fail", and...

View Article


Open text file in child form

I am using Visual C# and would like to create an 'Open' menu option on the parent form to open a text file in a new child form. How do I do this?

View Article

FileStream

I want to use FileStream to register(save) account and then on next form login by checking if entered name and password are equls to the one i savedThis is Form1tring tname = txtName.Text; string tpass...

View Article

multiple objects arary to array

In the following code, I read each line of a file and parse the columns to an object. each object has three elements info1,info2 and info 3. I add all the objects to a list and then convert the list to...

View Article
Browsing all 31927 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>