ASP.net returning value from sql proc in an if statement
i have a login box on my form with a submit button , on submit im passing the value through to sql to return a simply yes or no.
i have a login box on my form with a submit button , on submit im passing the value through to sql to return a simply yes or no.
I have a 2 Dimensional string array(5*2) like this: string[,] data= new string[5, 2] {{"F1","LINK1"}, {"F1","LINK2"}, {"F2","LINK3"}, {"F3","LINK4"}, {"F3","LINK5"}}; i want to group and merge the values into new array. Output : {"F1","LINK1,LINK2"}, {"F2","LINK3"}, {"F3","LINK4,LINK5"} The output array 3*2. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers … Read more
I have two webpages, the first has a dropdown that allows the person to select a project & a button. When the button is submitted, it takes them to the manage users webpage and sends the Projectname to the webpage as well. The manage users webpage allows the person to assign a user to the project they selected on the previous webpage. There is a button as well, and when submitted it sends an api call with post values to my controller. The controller accepts a dto and then binds these values to the AssignUserDto. It then finds the entity associated w/ the dto username, and then maps the values from the dto to the entity so that the user has a Projectname associated with it.
I have a new MVC project that I am working on that is basically a CMS that I intend to use in other projects, the structure is the following
I have a list that returns all status values except the exported one, however, I would like a list that returns all values except the exported and the authorized one (2 Status) // Getting all status except the exported one // GetStarusApontamento is a IEnumerable var listStatus = this._apontamentoAppService.GetStatusApontamento().Where(x=>x != StatusApontamento.Exported).ToList(); How would I do … Read more
I have a project that allows users to create a new project. The UI has some textboxes and a submit button. It sends data through a POST request to an api call, which then creates a new project entity in the database. I deleted my migrations and then added a new migration since I wanted to fix some code, but now the post action no longer works. I see the following error message in the console –
I have a view, which contains this snippet:
I’ve created a model that has its own class:
pleas help I’m working in WinForms form app and I’m trying to send whatsapp messages to client.
I installed twilio api package in my project but when i’m trying to import twilio name space I can’t