Questions tagged as '.net'

2
answers

if I enter the textbox "fa fa-android" change the icon to which that class belongs with JQuery or Js

I have an HTML list where I have several icons that are options from the list, because these working with .NET I have added a textbox to facilitate the sending of data to my BD, in that textbox according to the icon you select send the class "fa...
asked by 06.12.2017 / 21:08
1
answer

upload file to server and save path in BD with .NET

I have a web form within which one of its fields the function is to upload a file to the server (I already have a folder where the files are stored) and the path to save it in a BD. How can I do so that with just the button to send the form you...
asked by 22.11.2017 / 02:50
1
answer

How to extract a String number from a DataGridView C #

What I want is to take the numerical value of a string for example IMP_5, take only 5 that would be in the last row of a DataGridView. The last row of records of all you have. Someone can help me.     
asked by 13.11.2017 / 02:58
1
answer

Create Data Groups with Linq

I have a question with linq. here I consult a group of users, in this case 250 arrive. var usuarios = _db.usuariosmv10.Where(x => x.campana.Equals(id)).ToList(); So, in the users variable I have a list of 250 users, now that's what I nee...
asked by 29.09.2017 / 19:43
2
answers

executenonquery in C #

Greetings, I would like to know what value returns me executenonquery in case I do not affect any field, example string respuesta = ""; SqlConnection SqlConexion = new SqlConnection(); try { SqlConex...
asked by 31.10.2017 / 12:54
2
answers

Create image with what is in a tab control c # [closed]

Hi, I wanted to know how I could create an image with everything inside a Tab Control, inside this I have several pictureboxes and the idea would be to create an image that shows all those pictureboxes I do not know if I made myself understand...
asked by 07.09.2017 / 16:26
1
answer

DLL, its methods and / or classes do not appear in reference

Add a dll reference of a project Lybrary asp Core in another project for tests but I do not see the classes that were implemented or adding namespace using (Visual studio 2017), how to see those classes? or does the compiled have something to do...
asked by 27.07.2017 / 16:04
1
answer

App.config .NET Core console application on Linux

In Windows for a console application I use the App.config , section appSettings to store some configuration parameter, see the example: <Configuration> <AppSettings> <Add key="param1" value="value1 "/>...
asked by 19.08.2017 / 15:10
1
answer

Retrieve the value of an ASP.Net text box [duplicated]

I have a textbox with id TextBox and I have a JavaScript function function prueba() { var hotel = document.getElementById("titulo").innerHTML; $('#MainContent_TextBox1').val(hotel); } Now in the codebehind I wa...
asked by 14.06.2017 / 23:02
1
answer

Error converting from String to Int in TextBox

I have a GridView and inside this I have the function RowUpdating and when I want to change the data, I throw a conversion error.    Input string was not in a correct format. In the way I want to convert the TextBox i...
asked by 23.05.2017 / 14:03