Questions tagged as 'c#'

0
answers

What is the difference between LINQ search forms? [duplicate]

What's the difference between: var query = from s in db.DetailsRaWeb where s.cod_cli.Equals(Cod_Cli) && s.tag.Equals(TAG) select s; and this: query = query.Where(s => s.cod_cli.Equals(Cod_Cli) &...
asked by 25.07.2017 / 16:56
0
answers

How to get part of an image using bitmap C # [closed]

Well, I'm studying bitmaps, and I downloaded a pdf which said that an image was an array of pixels. Since it is an array (which is quite logical) there is how to define points within the image, mark a region so to speak. The bitmap class as well...
asked by 24.07.2017 / 13:25
1
answer

How can I intercept link click within WebView?

In my Android application, I have a webview that opens several different websites. Everything works in compliance, however when you have a link on the page, and the user clicks on that link, the browser opens. I wonder if there is any clic...
asked by 20.07.2017 / 14:24
0
answers

Error connecting to MySql database using C # application in Visual Studio [closed]

Hello, I created the registration form and at the time I am going to save the text box items in the database the following error 'Host' DESKTOP_R70LLO is not allowed to connect to this MySql server '. By my diligence to try to solve the error an...
asked by 19.07.2017 / 23:04
0
answers

Open GridView2 by selecting a GridView1 field

Hello. I am trying to make every time I select a specific field within GridView1 , it opens related data in an Access Database in GridView2 . This is the code for my page. <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPage...
asked by 19.07.2017 / 15:58
1
answer

Error connecting to the database [WinForm / C # / SQL Server]

My C # course teacher taught a new technique for us today, one need not tell ConnectionString itself, the program would go to the documents folder and get the .mdf file (SQL Server) and open the connection with it, but I have the following error...
asked by 20.07.2017 / 01:08
0
answers

ObjectCache - Removing all content after some refresh

I have been working with ObjectCache for some time and I have had some problems with users who disconnected after some time of use. What is happening that ObjectCache is removing the cache after some updates in the browser, is h...
asked by 16.08.2017 / 01:26
0
answers

Error generating migration after changing a relationship

I'm having an error changing a many to many relationship in the entity framework I had 3 classes: Policy 1-n Normative Policy n-1 Normative I did not want to map this auxiliary table in the hand, so I deleted the class PoliticalNor...
asked by 29.08.2017 / 14:37
1
answer

Change TabIndex

How do I get the TabIndex from a Form to a given position? I tried using this.ActiveControl.TabIndex = 0; , but it did not work.     
asked by 16.08.2017 / 14:27
0
answers

How the "macros" of the Umbraco cms work [closed]

I'm developing some functionality in a site with Umbraco Cms , I already did some templates and document types, I created a basic site with some functionality already, I just saw a developer section that contained a field with the word Macr...
asked by 11.07.2017 / 19:30