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.
i have not been doing win apps for a while now , but that is how its done.
My point is that need to create that form first and show it later.
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
Windows services don't interact with the user using UI.In fact they are "background" processes and it's not not safe to control the UI outside of the default drawing pool.If you need to control the service programatically
define your own custom commands and send them to the service using ServiceController.ExecuteCommand method.See this sample.And if you need to report for some errors use the event log.