Questions tagged as 'c#'

1
answer

Change path linked table ms access

I have 2 databases that I use to copy them from the server to the user's local machine. Between these two banks I have a linked table, so when I copy to the local machine, I need to update the address of that linked table. I saw some forums w...
asked by 28.03.2017 / 20:39
1
answer

Is it possible to instantiate a connection to the database manually using the Entity Framework?

I would like to manage my connections manually, so that users could enter the server address, but Entity creates the connection string directly in the config file, the only way would be to change that file every time. But I wanted to do this...
asked by 09.08.2017 / 00:21
1
answer

The show () method in my wpf does not work

I made a tiny desktop application using wpf. I have a very simple login screen and this screen should call the main screen. I did so: Menu menu = new Menu(); menu.Show(); You're making a mistake in the show, saying it's not recognized. The...
asked by 08.08.2017 / 00:53
1
answer

Make a textbox visible by selecting a radiobutton

With the code below I can do this procedure however I have to click the button. It looks like it needs a refresh to work <asp:RadioButton ID="RadioButton1" runat="server" GroupName="pesquisa" /> Teste <asp:RadioButton ID="RadioButto...
asked by 09.08.2017 / 15:32
1
answer

Disable event scheduling for fullcalendar month

I have a program and have schedule events for the month and week, I'm using fullcalendar jQuery, I'd like to disable event scheduling for the month. And schedule only by the week.     
asked by 13.03.2017 / 15:23
1
answer

layered development c # (BBL, DAL, Model, GUI) [closed]

In my project I'm developing in C # using Form Form windows with the default Layer development I'm not sure if this form is correct? because I already researched a lot on layers, but I realize that each person develops in a way. Have the foll...
asked by 11.03.2017 / 22:11
1
answer

Value is not added to a variable within a function

I'm doing a simple quiz program with questions and answers, with punctuation. My problem is this: I made a function so that every time the answer is right, +1 is added to the punctuation variable. public static int pontu1 { get; set; } pu...
asked by 12.03.2017 / 15:49
1
answer

item listbox (UWP)

With this code I add items to listbosx with the amount of registration I have. How to have a check before to know if the item of that record has already been added and does not act item with the same none of id? private void button_Click(obje...
asked by 14.03.2017 / 12:19
1
answer

Read Tags with the same name in XML

I have the following sample XML file: <?xml version="1.0" encoding="UTF-8"?> <EnviarLoteRpsEnvio xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3....
asked by 15.03.2017 / 16:11
1
answer

Data in listview (uwp)

How to display information from a MySQL database record in a listview? I tried it like this but it did not work. using (_connection = new MySql.Data.MySqlClient.MySqlConnection("Database=teste; Data Source=192.168.0.17;User Id=RFID;Password...
asked by 14.03.2017 / 14:25