Questions tagged as 'c#'

0
answers

PrintDocument: Printing taking too long in IIS

I'm having an Automation project (Web Service) where one of the functions is to print a text file (plain) server side. This Web Service calls a dll composed of a "PrintDocument" object and after adding some lines via "e.Graphics.DrawString",...
asked by 10.04.2016 / 01:19
0
answers

Display class relationship in DataGridView?

I'm trying to display a class relationship in the DataGridView but I'm not getting it. I have 3 classes Produto and Unidade and ItemVenda , the Unidade class refers to the product unit if it is KG / LT / UN etc ... In...
asked by 10.04.2016 / 15:31
0
answers

Dynamic Flow Chart C #

I have a program for creating block flowcharts, each block with multiple inputs and multiple outputs. Within each block (object) I have a sequence of mathematical operations, which use the input defined by the user to generate the output, which...
asked by 11.04.2016 / 21:45
0
answers

Perform a SELECT through C # to an Access database

private void button1_Click(object sender, EventArgs e) { OleDbConnection Con = new OleDbConnection(); Con.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source='|DataDirectory|\CALL_CENTER.accdb';Persist Security Info=True";...
asked by 14.05.2016 / 02:46
0
answers

How to distribute a project in C # that uses "LocalDB" to a "other computer"?

I have a College project in C # to finish. The application works and all functionality has been implemented. I'm using LocalDB v12 of Visual Studio 2015 in conjunction with the Entity Framework. The teacher has promised extra points for an...
asked by 03.05.2016 / 19:14
0
answers

Create Web service that receives strings [closed]

I have to create a serviço web , which in this service will receive two Strings , a phone number and a message, that should be "pasted" into a C# that I have to fire a message .. That is, through another app I have would be...
asked by 21.03.2016 / 14:50
1
answer

ENTITY FRAMEWORK - add-migration New Project without renaming old tables

I want to share a database with some projects. I've already done the first project with the bank and it's ok. I copied the project to create a similar one, changed the initial prefix of the Ex tables: project1_client, project2_client and so t...
asked by 30.03.2016 / 20:57
0
answers

Problem with paging on account of loading GridView and DropDownList in same Page.PostBack

Next, I have a gridview that it needs to be inside a postback in order to run an update when selecting a checkbox. The problem is that I have a filter using a DropDownList , if I leave my PopularGVDuplicatas() within the same...
asked by 13.03.2016 / 20:50
0
answers

Crystal Reports CSV Export Filtering by Date (C # MySQL)

I have a Crystal Report object that is bringing the records of a View from a MySQL database. I need these records to be exported to a CSV file and I got this with the following code: private void btnExportarCSV_Click(object sender, EventArgs e...
asked by 28.03.2016 / 00:17
0
answers

How to leave a semi-static [closed]

IcreatedatrackBarwith2thumbsfortheusercontrol,butinform.designifIdragthecomponentchangingthewidth,messupthetrackbar,Iwantedtotakethatdragoptiontotheside,justleaveitavailableupanddownliketheotherscomponentsthatalreadyexistinthetoolbox.     
asked by 23.03.2016 / 18:03