No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Re: Have you tried this If (e.KeyChar < "0" OrElse e.KeyChar > "9") AndAlso e.KeyChar <> ControlChars.Back Then 'cancel keys e.Handled = True End If | |
Hello Everyone So i have this flowlayoutpanel that contains checkboxes, so what It does is if a select a checkbox the text of that checkbox will be passed to the ProblemTextBox  My main problem is that I am able to add new checkboxes to the ProblemTextBox, but when … | |
Hello everyone, I've been programming in VB.Net since i started and now i want to do everything in C#, but i ran in to some trouble in VB.Net is really easy If(form1.Visible=true)Then { form1.Textbox1.Text = Textbox1.Text //And So on for any field that i wanted } But in C# I'm … | |
Re: I Solved my Issue In MainForm i added a this method public void GetFamilia(){ familiaTextBox.Text = Properties.Settings.Default.fam_id.ToString(); label2.Text = Properties.Settings.Default.fam_desc.ToString(); } And of the SubForm i added this method on the CellClick private void AceptarSeleccion(object sender, DataGridViewCellEventArgs e) { if (Articulos.ActiveForm.Visible == true) { Properties.Settings.Default.fam_id = int.Parse(idTextBox.Text); Properties.Settings.Default.fam_desc = familiaTextBox.Text; … | |
Re: Hi King03 Maybe this will help, i fixed the code and left you a little video example: System.Data.SqlClient.SqlConnection connection = new System.Data.SqlClient.SqlConnection(); System.Data.SqlClient.SqlCommand command = new System.Data.SqlClient.SqlCommand(); System.Data.SqlClient.SqlDataAdapter adaptador = new System.Data.SqlClient.SqlDataAdapter(); DataSet dataset = new DataSet(); int count; try { connection.ConnectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User Instance=True"; command.CommandText = "SELECT … |
The End.