Questions tagged as 'c#'

1
answer

How to make a foreign key in SQlite.net from c #

Hello friends I am working on a project of c # I am new to this and I can not find the way to declare a foreigner from a class with c # code I clarify that I am using the MVC model but I give you one of my classes class producto { [SQLite...
asked by 04.04.2016 / 23:16
1
answer

COMException error. Use DLL - Type Mismatch

Friends Good afternoon! Please help her with the following. I have been given a DLL which I have no idea what language was programmed and I'm not sure it's an object to use in .NET environments. This dll is encrypted, but the idea is to use a...
asked by 06.05.2016 / 18:07
1
answer

Entity Framework Code First

When I work with code first when I have a navigation property and work with Map, is that navigation property just for the code? Another question, my primary key is a ProviderId string, how do I tell EF that my PK is not identity? public cla...
asked by 31.03.2016 / 23:50
4
answers

activity Splash Screen only vertical, login activity start vertically by default

I have two activities: It's my splash screen It's my login I need my splash screen (activity 1), only handle the vertical position, it lasts 5 seconds my splash screen. Immediately after the login starts (activity 2) but I need th...
asked by 01.04.2016 / 04:08
3
answers

Problems separating csv file using comma as a separator

I have an application that exports the result in a csv file. I'm using commas as a column separator, but the problem is that in one of the output parameters item.SN the content contains commas to separate the name then the file creates co...
asked by 08.03.2016 / 21:01
2
answers

How can I save the userInput in Windows Form

I would like to know what is the best way to save the information that a user enters in different textBox in a Windows Form application. I have read several forums recommending to save the whole in an XML file. What I'm looking to do is ev...
asked by 08.04.2016 / 16:47
1
answer

How can I access a control from a child form

I am working on a Windows Forms app. The problem is the following: I have a main form in which I have a panel where I call my forms which are user control. Starting from there, when I have a form in the panel I call a form (forms) and from th...
asked by 29.07.2016 / 16:39
1
answer

Add image to RadAlert Telerik

How can I add an image to a RadAlert? I try this but it does not work for me .. RadWindowManager1.RadAlert("SuccessFully Autenticated", 200, 100, "Access Avaliable", null, "~/View/Imagenes/exito.JPG");     
asked by 31.07.2016 / 17:33
1
answer

How to export to a txt file the REPEATED rows of a [Duplicated] DataGridView

I need to export everything that contains a DataGridView to txt files (each row a file) but in the case that a cell of a given column has the same value, those two rows must be exported in a single file. At the moment I export the files tha...
asked by 29.02.2016 / 23:00
1
answer

Loggin to a website from my program

I'm making a console application in basic C #. The idea is to logge to a site (which already have the necessary headers), and store in variables the data entered by the person. Is there any "simple" way to achieve this? I was watching GET / POST...
asked by 04.08.2016 / 04:01