0
votes
1answer
11 views

Compare SHA2_512 C# and SQL Server

I want to compare password when user logins from ASP.NET Site to One I generated for him in SQL Server. So, I generate password field in SQL server like this: insert into users select 'username', ...
4
votes
4answers
3k views

Data is Null. This method or property cannot be called on Null values

I'm working on an application where one can get information on movies from a database as well as add, update and delete the movies. In the database I have three tables (Movie, Genre and MovieGenre ...
0
votes
2answers
28 views

Finding the identity of someone logged on a website through WCF

I have a website running with ASP.Net membership database, and it's working fine. I also have a WCF service running which is supposed to act as an API for applications implemented onto the website (in ...
1
vote
1answer
28 views

Image uploading in images folder issue in Asp.net

I am trying to upload JPG file to a folder I have created in my project. The image does not get saved in the images folder. It displays my image when I upload but the image itself is not present in ...
0
votes
2answers
93 views

How I can make a div draggable if this have the runat=“server” attribute

I want to make my div block draggable and it works but if I use the runat="server" Attribute for my div block that I can use the visible="false" Attribute than I don't can use the draggable. Here my ...
1
vote
2answers
34 views

ASP.NET Routing: predict which route will be executed

I have a RouteCollection and a string with an URL. Has anybody an idea how can I get the name of the route that would be executed? Some method like RouteCollection.PredictRoute(url) that will return ...
-4
votes
0answers
39 views

Different with IIS and WebDeveloper [closed]

I create a web site with asp.net (vs 2010) this web site working with Web Developer but when upload on server then it's not working. i execution this web site on IIS i have same problem. This is my ...
0
votes
4answers
65 views

How to use string.IsNullOrEmpty in Textbox?

I'm trying to display null value only if the textbox is empty. In my case even if i'm giving input in the textbox, it won't detect as null value. Kindly help me to solve my error please. protected ...
9
votes
6answers
11k views

C# Shortest Way to Check for Null and Assign Another Value if Not

I am pulling varchar values out of a DB and want to set the string I am assigning them to as "" if they are null. I'm currently doing it like this. if (IsNullOrEmpty(planRec.approved_by) == true) ...
0
votes
0answers
12 views

ASP.NET MVC Proxy module

I am working on a system where a separate web site and database has been created for every client that has come onboard. I don't want to get into whether this is right or wrong because I think it is ...
0
votes
0answers
48 views

what are the important concepts to be considers when we learn Dot.Net? [closed]

I am planning to start learn Dot.Net so could you suggest some ideal source and key concepts to get through in learning ? Thanks in Advance.
0
votes
0answers
12 views

How to execute an add-in in visual studio by right clicking on a file and selecting it

I am working on an Add-In in Visual Studio 2010 to run on asp.net websites. Though by default the add-in wizard adds the button under the tools menubar, I have changed it where I can right click on a ...
-1
votes
0answers
26 views

Export to Excel within user control in sharepoint 2007 iis 6.0 not working

I am trying a simple thing, Export datatable to excel inside a user control in sharepoint 2007 using WSS 3.0, iis 6 and Windows Server 2003. Here's my code: public void ...
0
votes
1answer
30 views

Response.AddHeader not working in IE

I have a problem when I use Response.AddHeader. Firefox and Chrome work fine (They show the popup and download the file), but not in IE, where it only opens a blank popup and not do anything like ...
0
votes
2answers
2k views

The GridView ' ' fired event RowUpdating which wasn't handled. C# code behind asp.net

There are similar questions on Stackoverflow and other websites, but I seem to miss something. I have a GridView bound to a DataTable which comes from a database. My goal is to update the one row at ...

1 2 3 4 5 4129
15 30 50 per page