Questions tagged as 'c#'

1
answer

String a bold / Italic

I am trying to split a query string by intros, and after that check if there are Bold or Italica tags, if there are any that string will become Bold / Italic depending on the situation. I do it but it does not work, can someone tell me why? T...
asked by 24.03.2017 / 15:04
2
answers

Get values in javascript of a session array in c #

Hi, I would like to know how I can get the javascript values of a Session variable of c# that contains an array of strings. The code is the following: C# : if (Session["PolizasClientes_RowID"] != null) { Session.Remove("Polizas...
asked by 24.03.2017 / 20:26
1
answer

Passing gridview data to a Texbox on asp.net c #

Could you help me I want to pass the data from a GRIDVIEW TO A TEXBOX PLEASE. I can not pass the data I would like you to help me. MY CURRENT CODE IS THIS IS MISTAKE here: GridViewRow row = DtgVerGestiones.Rows [0]; protected voi...
asked by 30.03.2017 / 22:49
1
answer

Show content a specific data to another page in a gridview asp.net c #

I would like you to help me by doing a list in your GRIDVIEW but at the end there is a see, that is, when I select I want to to show each record on another page. my code is this: protected void DtgGestiones_SelectedIndexChanged(object...
asked by 30.03.2017 / 20:37
1
answer

Does my program send me an error with the DataTable? C #

I have a form that contains 2 textbox, a datagridview and 2 buttons. (btn1 and bt2 in a textbox I put the name of the excel sheet that I want to look for and with button 1 it opens the document search engine and I select the excel sheet that I w...
asked by 31.03.2017 / 16:55
2
answers

Generate an Excel file from c #

I have an information in a datagrid that I load directly from the SQL database, I need to generate an excel file with the previously loaded information including the headers. How could I do it?     
asked by 31.03.2017 / 19:54
1
answer

Send messages to telegram using TLSharp C #

Hi, I'm doing a small program to send messages to a telegram but the problem is that I do not receive the messages. The code is as follows: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thre...
asked by 18.03.2017 / 15:05
1
answer

consume an asp.net service and import data into a sql table

I have a service which when entering a number of an invoice brings me some fields and information, what I need to do is insert those same fields with the information to a sql table I am what I have, the moment only brings me the data, but I d...
asked by 01.04.2017 / 07:15
1
answer

HTTP Error 404.0 - Not found - IIS

When I make a AJAX request, the strange thing is that when I run it locally it works perfectly but when I upload it to IIS it throws me the following error.    HTTP Error 404.0 - Not Found       Details:       Module: IIS Web Core   No...
asked by 23.03.2017 / 17:02
0
answers

Scope in C # to extract information from a computer using the WMI class

Trying to connect me to another computer sends me "Connection failure". I do not know if it's a credential error, but I sent a ping to the computer and if it responds the same with remote connections. This is my code: using System...
asked by 22.03.2017 / 17:55