Questions tagged as 'windows-forms'

0
answers

Separate and save information from a scrapbook

I am creating an application that reads the following information from a notebook    STATUS, No., DATE TIME, AMOUNT       Enter the floor, 11, 2/15/2018 5:21:58 PM, 1       It leaves floor, 11, 2/15/2018 5:26:39 PM, 1 and so already dep...
asked by 02.05.2018 / 22:51
0
answers

how to save a square image when the original image is rectangular?

I'm trying to store in a folder called Photos only square images but I can not do it, any ideas? private void btnFoto_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDial...
asked by 29.03.2018 / 18:23
1
answer

Submit an Object to a WCF Service

I would like to know if there is any way to send an object to a WCF service the program you send is in WindowsForm c # who receives this in asp.net c # OleDbConnection connection = MSAConnection.getConnection();...
asked by 20.03.2018 / 15:34
1
answer

Problem loading a table with SQL data in c #

I'm creating a web page and I want to show a table with saved data from that same table on a SQL server. For now I have this: public partial class historyTable : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e)...
asked by 19.03.2018 / 22:04
2
answers

Access query with c #

I'm doing an Access query in windowsForm I get an error when changing the fixed dates by dateTimePicker how can I make the date the right way, that it works p> OleDbDataReader read = MSAConnection.read(@" select p.cod,...
asked by 16.03.2018 / 17:02
0
answers

Error on the remote server: (414) Request-URI Too Long. C #

private void Send() { string sql = @"SELECT cod, Format(fecha, 'Short Date') as fecha, Format(hora, 'Short Time') as hora, Num, 1 as Tipo FROM Contro...
asked by 13.03.2018 / 15:50
0
answers

How to create a scaling of a windows form C #? Without using anchor or dock

I have the need to create a scaling in a windows form application which should be adjusted: the form, the controls and the letter to any screen resolution and without using neither anchor nor dock. And I can not adjust. I would greatly appreciat...
asked by 12.03.2018 / 21:17
2
answers

How can I create several global variables in Winforms C #?

I mean, for example, that you have a variable called "A" in a form 1 and that you can change the value of "A" from form 2 or 3 (all)     
asked by 12.03.2018 / 18:37
0
answers

Save text using savefiledialog and open it with openfiledialog in different textbox?

What I need is for my application to save 2 textbox data and a datetimepicker (with savefiledialog) and that if it is opened (with openfiledialog) it is written in different textbox and datetimepicker respectively.     
asked by 12.03.2018 / 19:35
1
answer

be done and deserializar json then load it in DataGridView

I'm serializing and I want to undo a datagridview inside and I can not find the way .. private void Json() { string sql = @"SELECT cod, Format(fecha, 'Short Date') as fecha,...
asked by 12.03.2018 / 15:43