Posts by Ronivaldo Roner • 159 points
16 posts
-
0
votes1
answer16
viewsA: Paging combobox error while doing Reload.
Problem solved, when load in the store responsible for filling the combobox I just changed the function of store.load(); for store.loadPage(1);
extjsanswered Ronivaldo Roner 159 -
0
votes1
answer16
viewsQ: Paging combobox error while doing Reload.
I have a combobox with pageSize: 20 pagination. And I have a checkbox that serves to filter some records from the combobox. The error occurs when before marching the checkbox I navigate between the…
extjsasked Ronivaldo Roner 159 -
1
votes4
answers1976
viewsA: Remove numbers at the end of a Regex string C#
A hint is to use a character as a separator and use the function. slip() turning your string into an array, so you have freedom to pick up the name, or just the number at any time with ease.…
-
1
votes3
answers97
viewsA: Group repeated values of Dropdownlist fill sql statement
Try to use the .Distinct(), I believe it will solve your problem.
-
3
votes3
answers608
viewsA: Lists repeating last added item
Try to add the items this way. I believe it will solve your problem. list.Add(new item{ nome = "GPU" }); list.Add(new item{ nome = "Livro" });
-
3
votes0
answers40
viewsQ: JS error regarding Piechart NVD3, I cannot identify the problem
After updating the version of nv.d3.min.js for version 1.8.6, when I hover over Chart shows countless errors in function return, and the tooltip stopped working too, read various manuals and…
-
1
votes1
answer44
viewsQ: How to place event click on Donutchart NVD3 chart?
I have a Donut Chart that I need to put click function and I’ve read a lot, but nothing has helped yet. Any help is welcome. var nvd3Charts = function() { var myColors = ["#06A705", "#F7A818",…
-
0
votes2
answers880
viewsA: select name in bank with C#
I imagine the error is in the parameter passage for the query. Try this way. public DataTable Consultar(string nome) { try { conexao = new MySqlConnection(conecta_db); MySqlCommand comando = new…
-
0
votes1
answer16
viewsA: Restarting indexes for each new client
From what I understand, for this to work you would have to create two columns of indexes, one to be the primary key, and one to be the code of the associate. So the associate code can always start…
-
0
votes5
answers1583
viewsA: How to read data from the Mysql database of an application in c#?
If you want to fetch more than one information the sql statement should be sqlCommand selectTable = new SqlCommand("SELECT * FROM nomeTabela WHERE nick = '@nick';", conexao); and to load the data…
-
1
votes4
answers590
viewsA: Interaction between forms?
//To call a form simply do. protected void btnChamaForm2_OnClick(object sender, EventArgs e) { Form2 form2 = new Form2(); form2.show(); //e fecha o form atual assim this.visible = false; ou…
-
0
votes2
answers1339
viewsQ: Field check Combobox, Textbox Maskedtextbox
How to create a method to check that all "Combobox, Textbox Maskedtextbox" fields are filled in? Mine does not work public bool CampoVazio() { bool ok = false; foreach(Control ctrl in this.Controls)…
-
0
votes2
answers169
viewsA: Hide menu on login screen C#
You can try to change the property of the element (Design), and according to login make change in the code. In property go to Behavior, find the Enabled option and put false. in the code where you…
-
0
votes2
answers1605
viewsA: How to configure the Connection String in App.config?
I solved the problem in another way. I did not create the Connection String on XML app.Config, created it directly in the class responsible for making the connection. That way my string looked like…
-
1
votes2
answers1605
viewsQ: How to configure the Connection String in App.config?
I would like to mount using saved String: InstanciaSQLServer, UserSQL and PWSQL, it is possible that? Example of my app.config <configSections> <sectionGroup name="userSettings"…
-
3
votes3
answers847
viewsQ: How to create Login and User in SQL Server passing command line through Visual Studio passing parameters?
public void CriaUsuarioSystem(string userSystem, string pwSystem) { try { conexao = new SqlConnection(conexao_BD); SqlCommand creatUserSystem = new SqlCommand("CREATE LOGIN @login WITH PASSWORD =…