i have two value. one value price. and i want update price. but i need update price while all records change remainders. like this; (newprice-oldprice)+ all customers remainders. but iam update only one record price. i hope explanation my problem thnx.
I am creating a mp3 player through C#.Net I have kept a CheckBox that shows the play list. I have created the player such that it when ever the user cicks on the selection on checkbox the player play the corresponding song. so the user has to click on the next song to play the next song once the previous song is finished.
Now I would like to know is it possible for the player to automatically play the next song once the previous song is finished? If so how do I go about doing this on C#.Net
I am using a program to insert values in a table in an SQLEXPRESS database. My program tells me that the queries are being executed but when I check on the Database Explorer in Microsoft Visual Studio 2005, I do not see the values.
you have read just inserting code on particular event
public partial class NewEmployee : Form
con = new SqlConnection("Data source=JBB-F906306D8CC\\SQLEXPRESS;Initial Catalog=Hotel;Integrated Security=SSPI");
private void btnBrowseImagePath_Click(object sender, EventArgs e)
OpenFileDialog op = new OpenFileDialog();
if (op.ShowDialog() == DialogResult.OK)
txtBrowseImagePath.Text = op.FileName;
private void btnSubmitRecord_Click(object sender, EventArgs e)
da = new SqlDataAdapter("Select * From EmployeeDetails", con);
cmdb = new SqlCommandBuilder(da);
ds = new DataSet("EmployeeDetails");
I created Windows Service in C#.net
In this Windows Service I successfully connect to local sql server 2000 install in My PC.Then I retrive data from local sql server 2000 and fill that data into one dataset.Now I Want to connect to remote sql server 2000 to insert that data into database of that sql server 2000.