i am trying to collect all the items of an html dropdownlist and put them in my combobx in vbet but i am getting an error that index was out of range.I have checked the id of the dropdownlist but it ...

How can I store the database password securely in my ASP.NET MVC5 application? Why is it not good to put it in the connection string?
I do not host my website in Azure, so I need a general solution.
...

Details:I have a Function in PostgreSQL that has return type 'refcursor'. i'm using this Function in Entity Framework by using Add Function Import.ThenI am getting error in Entity Framework 4.0 that
...

I'm creating a website that'll contain a news section. The news will be uploaded to a database from which i will present the data to the users. The news table consists of the columns ID, Title, Data ...

I want to pass class to SqlParameter, but I don't know how to do it.
In this class (SqlParameter) should pass key and value, is it possible to convert class to namevaluecollection then pass it to this ...

I had changed the CSS within my styles.css, I'm using Visual Studio and when I run the website and inspect element it shows the old CSS is being used, however I've changed the CSS completely to have ...

I'm trying to set up my queries using parameterized queries instead of the vulnerable method and I'm having a issue trying to change over a certain WHERE clause from my UPDATE statement. Any help is ...

I have an ASP.NET MVC 5 web app. I have connected to a database on localDB ("MyWebAppDatabase"), which already contains many tables. I am accessing this using ADO.NET Entity Framework, and this is all ...

I'm in a asp.net c# project. I want to print employees card with bar code. So I write a html tag in string variable call htmlCon and it will bind a DIV tag in client side (get all employees and loop ...

I have an asp page with vb.net code behind that works in localhost.
Once filled the data by user, and after button click, my algorithm in code behind store some information in mysql database.
Now I ...

I am attempting to use the range validator to set a minimum date using minimumValue as I do not need a maximum value and the error comes up saying System.Web.HttpException: The MaximumValue cannot be ...

i have ASP.NET website with several pages in it.
some of the page have button with some action for example mail sent , database update/insert..
i want to add loading animation or some page with GIF ...

My website users are simple and can't manage to use compression and re-sizing tools, so I'm trying to automate the process. but large sized pictures (2-10 MB) are compressed to be 1MB which is still ...

I have two radio button in an udpate panel. The first radio button does not have postback while other one has. The first time the page loads the first radio button is selected and when selecting the ...

I need to create a nested tab as the below design (such as a tree control). But I could not find satisfied solution by google. Can anyone suggest me a solution?
If you think this is impossible, I'll ...

i want to use Cassette to bundle the Embedded resource script of a webcontrol in a webforms project.
I start this way:
1) a library called MyWeb in which i have the CassetteConfiguration class with ...