Questions tagged as 'winforms'

2
answers

How to list the last 7 days' birthdays with crystal reports and c # winforms

I am developing a church management system, and I need to get all the faithful registered in the system, whose birthday is in the last 7 days, counting with the current date. I have already created the following formulas: CDate ({FIEIS.DataNas...
asked by 13.12.2016 / 19:06
1
answer

How to write and block the textbox by clicking the button

I would like to know how to type a number in the textbox and block when the button is clicked private void button6_Click(object sender, EventArgs e) { textBox4.Enabled = false; } I was able to block it, but writing inside it coul...
asked by 16.11.2016 / 00:00
1
answer

Passing data from a DataGridView to TextBoxes in C #

Hello, I'm having a problem and I've even asked a similar question previously, but now I'm being more specific. I have two forms, one form has a DataGridView attached to one Database and the other form will serve as an edit for the data of th...
asked by 15.10.2016 / 02:16
0
answers

ReportViewer does not display object value?

I am trying to generate a report with ReportViewer on the items in a sale, the report is displayed but in the product column the #Erro appears instead of the product. My classes are all with [Serializable] but it still is not worki...
asked by 24.09.2016 / 16:33
1
answer

DataGridView Scrollbars C #

The option ScrollBars is as Both , but they are not appearing at all. I do not even have code to exemplify. Has anyone ever been through this? I'm loading a datagridview , but the scroll bars are not appearing.     
asked by 20.10.2016 / 20:07
1
answer

Select only one item in the middle of two listboxes

Oops! Gal, I wanted to select only one item in the middle of two listbox, imagining the listbox to be a radiobutton, if I select an item in one, it is no longer selected in the other. I tried it like this: private void listBoxQuestoesObjetivas...
asked by 20.08.2016 / 16:27
0
answers

In-app date warning

I'm developing an application in C # in Visual Studio. In this application there is a screen that tells you how many events the user has today, tomorrow and the day after tomorrow (green header). Follow the screen: Ineedacodethatcomparest...
asked by 08.08.2016 / 21:33
0
answers

How to make a grid with levels

Would anyone know how to do a two-level grid and WinForm? example below: Thank you.     
asked by 04.08.2016 / 14:49
1
answer

POST Error with Rest API - Windows Forms

I'm trying to make a POST this endpoint link (it's a simple API I've done with Django Rest) I'm using Windows Forms C # Follow the call: using (var client = new HttpClient()) { client.BaseAddress...
asked by 03.08.2016 / 01:02
1
answer

Find / select database with C #

I have a form with a button and a simple datagridView, but my problem is that I have to look for my file in ".mdb" (Access database) on the computer, so it can be shown in the datagridView then the question remains: When I click the button, I...
asked by 28.07.2016 / 15:39