4,588 Topics

Member Avatar for
Member Avatar for jitupatil_2007

Hi friends i want to read a csv file and then store it in sql server 2005 table , know how to read a file but i don't know how do i write it in the table. plz help me

Member Avatar for AITM_1
0
2K
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2010,Silverlight and coded in C#.Net. My requirement is i want to upload Image in my Imagebox control.As there is no PictureBox control in Silverlight im using ImageBox. I have a Imagebox,below that a Browse button. When the User clicks on Browse button,Dialogbox should open and …

Member Avatar for Marwen_1
0
3K
Member Avatar for bankerrajendra

Hi all!!!, Happy Friendship day So, please provide me help in the codding of Simple Login Page using asp.net(c#) with stored procedure. Thanx, With regds, Rajendra Banker

Member Avatar for Genc_1
0
3K
Member Avatar for Abdelaziz_1

Hey guys,now I have a listbox I need to add in it name of day and time and the program read each item in listbox auto and if the first item = my pc day and time show message and so on... But I got dat error when the program …

Member Avatar for Abdelaziz_1
0
177
Member Avatar for Nestory

private void button1_Click(object sender, EventArgs e) { SalesTransaction s1 = new SalesTransaction(0.06); listBox1.Items.Add(s1.ToString()); SalesTransaction s2 = new SalesTransaction("John Doe: ", 170000, 0.07); // 11900 // s2.SalesAmount = 210000; //The commission should be automatically adjusted. 14700 listBox1.Items.Add(s2.ToString()); SalesTransaction s3 = new SalesTransaction("Jane Doe: ", 200000); // 0 listBox1.Items.Add(s3.ToString()); SalesTransaction s4 = …

Member Avatar for Nutster
0
184
Member Avatar for Nestory

Craete an application named TestHockeyPlayer that instantiates and displays a HockeyPlayer object. The HockeyPlayer class contains fields for a player's name (a string), jersey number (an integer), and goals scored (an integer)

Member Avatar for Nutster
0
226
Member Avatar for nlanka

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Cities { class Hometown { public string City { get; set; } public string State { get; set; } public Hometown(string City, string State ) { this.City = City; this.State = State; } public Hometown() { } …

0
106
Member Avatar for kriwut.keawmit

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using MySql.Data.MySqlClient; //Add Mysql Library using System.Configuration; namespace MindLab { public partial class ImportFile : Form { MySqlConnection myConnect; MySqlCommand cmd; string strSQL = null; public ImportFile() { InitializeComponent(); //InitializeOpenFileDialog(); } private …

Member Avatar for Dawn2016
0
2K
Member Avatar for JermaneJermane

What I am trying to do is read the file shown below as an string array, the file is a bunch of months that are in order of the months in a year.This is done multiple times which correlate to another file that has years in. Now what i want …

Member Avatar for Suzie999
0
501
Member Avatar for mohamed_69

Hello, guys i am having a problem with the Printing some tickets i need to print each ticket in a different page beacause the printer i'm using can only print the size you customize it to print and my program can have different variations knwint that i import an Excel …

0
214
Member Avatar for mcloyd

Hello, is there any chance to filter a datatview to get the same results as you get with the where clausel like : "WHERE NOT IN" bla bla thanks MC

0
71
Member Avatar for geetalia

hey geet here.... i have one query please if any body know about then plz help me....... i m on trouble..... actually i am creating a project of online quiz ..and on that( question and answer section) but i dont knw how to do coding in admin section asp.net (c#) …

Member Avatar for hericles
0
128
Member Avatar for screenedcreamy

I have a c# application which needs to call few c++ APIs (c++dll) what would be the most efficient way to achieve this?

Member Avatar for Mr.M
0
137
Member Avatar for Haider85

I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …

Member Avatar for rproffitt
0
384
Member Avatar for Hameed_2

Hi. How can i populate asp:treeview only child populate with database query like "select databasename from databse where user_id="45" " and show these database in child treeview.Here is image [image]( tinypic.com/view.php?pic=15cyaew&s=9) I want "Database" remain same and blow child "Database Name",,only 1st 3 records replace with "Database Name" shown just,Kindly …

0
143
Member Avatar for Kyungwon

Given a typed List collection of int values named dueDays that has already been sorted, write the code to retrieve the index of the element with the value 30 and store the result in an int variable named dayIndex. Given a typed List collection of int values named dueDays that …

Member Avatar for AleMonteiro
0
397
Member Avatar for mpdph09

I am working with C# windows application. I am using split container to display image in picture box in the first panel(with scroll bar(50% of the the picture can be seen only by scrolling down)) and data entry fields in the second panel. One field will always be at the …

0
314
Member Avatar for prpasim1

Picture problem:- I have an html image that has been uploaded into "fileupload". Now, I want to show this exact image on another page when the user presses 'submit'. Note: the fileupload has the image path. Any help?

Member Avatar for rproffitt
0
179
Member Avatar for jatin24

Hi, Im trying to include the feature of automatically generating a word document through C# using a pre-defined template. Im able to insert 'mailmerge' fields in the word template documents at specific locations, and accessing these through the code in C#. I can update the values of these fields, no …

Member Avatar for vnikitha
1
3K
Member Avatar for Tashia_1

I am making an application that will automatically fetch information from database and display it on a textbox based on date. So for example i want to fetch a latest article on feb 25,2016. How do i do that? i need help cus im kinda new to c# Any help …

Member Avatar for Tashia_1
0
659
Member Avatar for James_43

Hi all, I am doing some basic experimenting with ENCOG ANN, but am having issue following a simple walthough. At this stage I am simply trying to grab data from a CSV and normalise it. My code is: string filename = "spots.csv"; var format = new CSVFormat(',', ' '); IVersatileDataSource …

Member Avatar for Christian_7
0
488
Member Avatar for Tashia_1

OleDbConnection cn = new OleDbConnection(); cn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\`Hp\Desktop\PROGRAM1\notificationSystem\notificationSystem\Database.accdb"; OleDbCommand cmd = new OleDbCommand(); cmd.Connection = cn; //reg(); cn.Open(); cmd.CommandText = "select article from news where npublished = '" + metroDateTime1.Text + "' AND ntime = '" + label4.Text + "'"; //AND ntime = '" + label4.Text + "' //Scalar …

Member Avatar for Tashia_1
0
247
Member Avatar for Kennedy_3

I have to create a program that accepts the number of tile as input from the keyboard, and returns the number of tiles to the main method. It has to accept the number of tiles and calculates the cost of each tiles. The method has to return the cost to …

Member Avatar for Kennedy_3
0
307
Member Avatar for rpv_sen

Hi I am trying to create a service in c#, if i click start in service it has to execute the run.bat file. if i click stop in service it has to execute the stop.bat file can any one please help me to fix the code. using System; using System.Collections.Generic; …

Member Avatar for tobyITguy
0
328
Member Avatar for alvoryx

Hi, I fail removing some carriage return, (\n\r i guess) from a god file which brings that the software where i'm exporting to is crying.. if i manually remove the CR from notepad, no problem i'm googling around for nearly 3 hours now on every possible way i can imagine …

Member Avatar for Ahmad_13
0
9K
Member Avatar for mpdph09

HI, I am new to C# programming, I am trying to populate data from databse using adatpter and dataset. I am missing some part in my code, that fails to update selected item at selectindexchnaged. Same part works fine at every form_load. DataSet sdnew = new DataSet(); SqlConnection conn01 = …

0
166
Member Avatar for Sanjaykp1973

Copy images to folder and save path to database and also rename image with id

Member Avatar for rproffitt
-1
136
Member Avatar for brittney_2

I need to convert the findWithinHorizon method to C#, is there anything equivalent to this?

Member Avatar for hericles
0
322
Member Avatar for mpdph09

I am trying to get data from the SQL database with stored procedure using dataset and populate that data in combobox. It gives error as cannot find table 0. SqlConnection conn = new SqlConnection(); conn.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["dbConnection"].ConnectionString; SqlCommand cmd2 = new SqlCommand("GetBatch", conn); cmd2.CommandType = CommandType.StoredProcedure; cmd2.CommandText = "usp_CAMR_GetBatch_Status"; cmd2.Connection …

Member Avatar for tinstaafl
0
630
Member Avatar for Veexe

I'm a beginner to programming and need sites books literally anything that might help me learn more would be amazing. thanks.

Member Avatar for pritaeas
0
85

The End.