No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Hi guys, i want to call a data from a database.. here is my code [CODE] string selectuser = "Dior"; string dbconnection = Application.StartupPath + "\\Database1.mdf"; SqlConnection conn = new SqlConnection(dbconnection); conn.Open(); SqlCommand command = new SqlCommand("select username, nick from [user] where username=@user", conn); command.Parameters.AddWithValue("username", selectuser); SqlDataReader reader = command.ExecuteReader();[/CODE] … | |
Hey guys, I want to ask whether in C# I can take a values from a textbox words like in C++ console.readline.. Example : user : What is Apple application will take the last word of it which is apple. and will reply apps: Apple is a fruit is it … | |
Hey guys.. is it possible if i wanna save a textbox value in a variable using timer? for example string text when timer interval is 10s { textbox1.text = text textbox1.text = newline } when timer2 interval is 15s { textbox1.text = "" } or something like that.. its like … | |
Hi everyone, i have some question regarding my project.. I am currently work on a MP3 player project.. And i came out with a problem.. Here is my code [code] private void mediaPlayer_PlayStateChange_1(object sender, AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e) { if (e.newState == 3) { double dur = mediaPlayer.currentMedia.duration; currentSongProgress.Maximum = (int)dur; } … | |
Okay.. Currently i already had this code for my registration form [CODE] 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.Sql; using System.Data.SqlClient; namespace Thesis { public partial class Registration : Form { Form formParent = null; public Registration(Form par) { … | |
i am currently work on mp3 player application, but every time the song ended, this error always pops out.. Value of '282' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Parameter name: Value here's my code: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … | |
I am currently working a registration project and here is my code.. [CODE]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.Sql; using System.Data.SqlClient; namespace Thesis { public partial class Registration : Form { Form formParent = null; public Registration(Form par) { … |
The End.