4,588 Topics
| |
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 | |
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 … | |
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 | |
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 … | |
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 = … | |
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) | |
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() { } … | |
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 … | |
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 … | |
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 … | |
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 | |
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#) … | |
I have a c# application which needs to call few c++ APIs (c++dll) what would be the most efficient way to achieve this? | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 = … | |
Copy images to folder and save path to database and also rename image with id | |
I need to convert the findWithinHorizon method to C#, is there anything equivalent to this? | |
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 … | |
I'm a beginner to programming and need sites books literally anything that might help me learn more would be amazing. thanks. |
The End.