Questions tagged as 'c#'

0
answers

Save data grid view in internal variables

How can I save my dataGridView in an array of objects. Each row is an object where each column is an attribute of that object. I have my array sTcCnfArray of type sTcCnf . I do not know if doing it with a BindingSource...
asked by 12.02.2018 / 09:52
1
answer

What is the correct way to deal with / avoid sql TimeOut error?

I was developing an application in which I launch queries automatically, consecutively, always the same. The problem comes when the DB is slow to respond, in some way, without knowing why, perhaps due to the traffic or the amount of informati...
asked by 12.02.2018 / 09:26
0
answers

EWS Managed Api problems recovering a folder with XML

I am testing against an Exchange 2007 server and I am having problems retrieving the inbox folder with the Folder folder_root = Folder.Bind(exchangeService, WellKnownFolderName.Inbox); statement. For some reason, this instruction returns...
asked by 12.02.2018 / 11:23
1
answer

how to specify the path of a .dll in c ++ to import it in c #

[DllImport("Cannabis.dll", CharSet = CharSet.Ansi)] internal static extern void Entrenado_Casificador_SVM(string imagePath); for example: what path does Cannabis.dll have? How to change it?     
asked by 19.02.2018 / 16:22
0
answers

Separate CSV into several by filtering through a column

I'm doing software to separate a CSV file into several CSV files, filtering by a column. I import the file and put it in a GridView and then I want to choose the filter column (in the example "PartRemark2"). Then put all items with the same valu...
asked by 19.02.2018 / 18:24
0
answers

Xamarin - Pass data between pages

Hello friends here Ed learning with all of you, hear I want to pass data between views ... and what I read is very simple but I think something I'm not doing well .. this is my code: public void tryme() { string x = lbl_kyo.Text; try {...
asked by 14.02.2018 / 20:57
2
answers

Apply interfaces in C # to link to database

I have this big problem and it's that besides being new to programming, it's quite difficult. The subject is the following, I need to apply MVP to a small desktop program that I am developing and for this I need to completely unlink the view lay...
asked by 10.02.2018 / 21:08
1
answer

Answer json in c #

Json response with Postman: [ { "id": "1", "correo": "[email protected]", "clave": "123456", "numero": "+1 5412-2154" } ] Buton login: try { ASCIIEncoding encoding = new ASCII...
asked by 07.02.2018 / 23:33
1
answer

Validate registration and compare it with textbox, someone who can help me! Query1 is the same as TextBox1.Text but it does not validate it sends me else [closed]

protected void TextBox1_TextChanged(object sender, EventArgs e) { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["DBCafeteriaConnectionString"].ConnectionString); con.Open(); string Query1 = "select Id...
asked by 07.02.2018 / 22:46
0
answers

Fill and sort fields in Webbrowser c #

I have been carrying out a project with c #, using a webbrowser in which I fill fields automatically and there everything is fine, my question is that I can decide which field to fill first? Since I have 6 fields and so to speak I want to fill i...
asked by 09.02.2018 / 00:50