Questions tagged as 'c#'

1
answer

reports c # and postrgres

Good evening in advance thank you very much for any contribution, I'm doing a project and at the time of making the reports I stumble with Npgsql not link to the ReportViewer any suggestions? or maybe a editor of reports defirentes...
asked by 24.10.2016 / 07:46
1
answer

Why does this error occur? Input string was not in a correct format in c #?

Good morning: Peace with everyone ...    Error Searching in textbox is not controlled FromException, Input string was   not in a correct format. the folio is numeric type, when searching in my textbox if it does, but when you remove every...
asked by 23.09.2016 / 14:29
1
answer

error: Object reference not set to an instance of an object. Genexus ev1

Good afternoon I am developing an application with GeneXus X evolution 1 in a web environment (.NET) but when creating a web panel, Web Component or simply modifying something in an event and trying to save or compile I get it:    "error: O...
asked by 26.10.2016 / 21:06
1
answer

Classes Name using LINQ to SQL

When using LINQ to SQL when I put the tables in the dbml classes come in Plural, is there any way to put them in the singular?     
asked by 01.11.2016 / 18:35
1
answer

Object is not an object instance in DataGridView

I'm trying to bring a SQL list and load it into a grid. After that, some fields of that grid must be of DataGridViewComboBoxColumn , so that the user can select options according to the combos. This is the code that I have made: public a...
asked by 01.11.2016 / 21:44
1
answer

Overwrite event of a control

I have created a base form which has a control, so the forms that inherit from this base form must overwrite the Click event of this control. Event of a control of the Base Form: public partial class CustomFormBase : Office2007Form {...
asked by 28.11.2016 / 05:09
3
answers

Error when wanting to pass a gridview to an excel file

I have my gridview defined as well <asp:GridView ID="GridView1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1" Width="976px"> </asp:GridView> and I'm trying to pass the data to an excel in the following...
asked by 23.11.2016 / 05:29
1
answer

Restart Session on asp.net and json

I hope you can help me with this topic, I am working on a project with asp.net c #, the problem is that I need to click on a label to execute a Json and it ends the session. I explain to you what I did. I have a VSesion class that has seve...
asked by 23.11.2016 / 12:56
1
answer

How to access a file in the bin directory of my WCF service?

I have a service wcf which is responsible for sending emails with a template html as a base, which I try to read as shown below, so far I can not read it. My service is hosted on IIS 7.5 What I am trying to do is the following: s...
asked by 14.09.2016 / 22:34
1
answer

Ignore the null parameter in a Linq query

Hi, I have a Json in a controller that filters my view, the issue is that sometimes receives some of the parameters in Null and does not return records as I could do to ignore me if the parameter enters as null? This is the code: public Jso...
asked by 08.11.2016 / 01:26