Questions tagged as 'c#'

0
answers

Enter data to DropDownList from an sql query

I have a problem when entering data in a DropDownList, because I have the code, but at the time of logging in as a user does not show me information in the DropDownList and I do not know why, because Reviewed my query and it's fine. I leave the...
asked by 28.05.2018 / 15:39
1
answer

Problem adding the units, tens and hundreds of each element of the vector

I have a problem adding the units, tens and hundreds of a vector. Showing it in an example: vector [0] = 123 vector 1 = 456 vector [2] = 78 And that in units there are 17, in tens 14 and in hundreds 5. Adding in vertical line. for (int...
asked by 26.05.2018 / 02:07
0
answers

implementation of a dropDownList

I'm doing dropDownList in cascade but at the time of deploying it only the first one shows the information and when selecting some element it is supposed the second one would update the list but it does not compile it I have reviewed it for hour...
asked by 25.05.2018 / 22:57
0
answers

How can I open a User Control from another User Control with a LinkLabel?

I have a program in which from a user control of login (control 1) which is the default, another user control of password recovery opens > (control 2). Both are on the same window. the question is, how can I open through a LinkLabel in Co...
asked by 26.05.2018 / 02:00
0
answers

Modify records of several tables in an API 2

I have the following code, what I want is to modify the Student Name field, the Teacher Name field and the Class Name field public IHttpActionResult CreateExamen(Alumno alumno, Maestro maestro, Clases clases) { if (!ModelState.IsValid)...
asked by 25.05.2018 / 22:50
1
answer

Filter search in listbox textbox

I need to filter the data that is displayed in a listbox. In a textbox I write the number that I need, the problem is that in the listbox it only shows me the value when I write it the same, I need to do a search that compares the numbers as it...
asked by 28.05.2018 / 20:52
0
answers

Send data from a beginform to controller of 3 different dropdown

Hello Developers I have a doubt of knowledge turns out that it makes three dropdown that they requested to me and the thing is that I have to do that it sends the information by means of a button to the controller in MVC 2 here the aspx code...
asked by 28.05.2018 / 20:46
1
answer

Are there more ways to call a partial view from the view?

Is there a way to call from the view to Partial View as a Url.Action or otherwise? Since I have a method in my controller that renders a partial view, but I need to call that method from my view, for example @Html.Partial("Contr...
asked by 28.05.2018 / 20:05
1
answer

show across the width within Reportviewer

how do I occupy Width of the whole page of all my reportviewer that I have run by default I get the whole page I'm working on windows form it shows me this way by default: I want it to come out by default this way    ...
asked by 25.05.2018 / 15:14
1
answer

Delete Control With Click In WindowsForms C #?

I need to click on a button, "select" that button, and by clicking on an erase button, that control will be deleted. How could I do that ?.     
asked by 24.05.2018 / 01:19