Questions tagged as 'c#'

0
answers

How to transport datagridview information to a textbox in another form? [duplicate]

I have the following question in my application. I have form1 and in this form1 I have two textbox, txt_cod.text and txt_fornec.text and a search button, when I click the search button on this form1, I call form2 which brings me a populated da...
asked by 01.08.2017 / 13:41
1
answer

How to set the height of an Excel row in NPOI?

I'm trying to create a line in an excel file through the NPOI library. The problem is that I do not know how to set a size for the line. Currently, the line is capping the content of the text. How can I set the height of the line (if possib...
asked by 21.07.2017 / 16:47
1
answer

Xamarin Method 'Plugin.Geolocator.Abstractions.IGeolocator.GetPositionAsync' not found

This is returning me an error:    "Method 'Plugin.Geolocator.Abstractions.IGeolocator.GetPositionAsync'   not found " In the IOS version this is working fine, however on Android could someone give me a hint? It's my first app on Xamarin...
asked by 21.07.2017 / 21:40
1
answer

How to use Segmented Controls in Xamarin Forms

Galera, One help, I need to use a Segmented Controls type in my Xamarin Forms. But it does not exist. I have seen that to use Native per platform, but I have not found any example or documentation guide for this. Has anyone done anythin...
asked by 21.07.2017 / 19:13
1
answer

Popular GridView with Access Data

I've been able to do this in VB.NET , but now I need to do this in C# and I can not turn the code correctly. I have this GridView: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="BatchID...
asked by 20.07.2017 / 19:37
3
answers

How to copy a piece of data from a string?

I'm starting in the programming area and I'm developing a serial communication application, where, I get data strings with some information in which I need to separate them by categories, for example: A connection string: STX8abcdefETX<...
asked by 24.07.2017 / 21:25
0
answers

Align Bar Chart, c # using Novacode

How can I align my bar chart in the center of my docx document? My code: using Novacode; //adquirido na extensão DocX namespace WF_TermograFacil { private void button1_Click(object sender, EventArgs e) {...
asked by 25.07.2017 / 02:40
0
answers

Save a byte array in the sql from a Datatablereader

In one of the system tasks, I need to query a Sql Server database, which returns me a Datatable , in this Datatable , one of the data is of type Byte[] So, to read Datatable I use a DataTableReader , which give...
asked by 19.07.2017 / 22:26
1
answer

How to check if an item has already been entered in a list in C #

Classes list exists Within this list I put class objects Each object has (string) nameTurma.Text & a numerical value (int) numericUpDown1.Value I use the addTurma method to place the objects in the groups list pub...
asked by 29.07.2017 / 21:22
1
answer

c # Pick up text and insert over the image

I have a pictureBox, and I need the user to be able to "mark" the image. For example, the image is a human body, I need the user to click on the photo where the arm is, for example, there is a drawing drawn written "arm". When you click on the l...
asked by 31.07.2017 / 20:36