What is the most standard encryption technique used in sql server for asp.net c# enterprise level application? . i am talking with respect to standards like md5 or sh1 etc, hashing
My asp.net web app is hosted on this URL on my local machine:
http://localhost:45433/
I want to access the same application from a different computer on the network. I tried replacing the localhost with my IP but it did not work.
any ideas!
UPDATE 1:
Now, I am getting this error:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
Hi all,
How can i use the acrobat driver to covert web page to pdf , i have a icon on my browser. How can i use that in ASP.NET to convert the web page to pdf pro grammatically.
Hi, how can I remove specific rows and columns from an excel file using only classic ASP? For example, given the excel file
col1 col2 col3
one two three
four five six
I want to be able to programmatically delete the first row and second column to produce
one three
four six
Thanks!
Is there a standard way to create unique web page address in ASP.NET? I'm sending surveys to customers and will be including a link to the web page. For example:
http://www.mysurveypages.foo/survey/UniqueID
I would then customize the survey based on who I sent it to. I know it can be done by passing in a unique parameter to a page but I curious about doing it this way.
I am writing a help page with sections - What I want to do is allow navigation to a particular section (depending on what page they clicked help from) rather always landing at the top of the page.
My web app is written in ASP.NET, Can anyone point me in the direction of how to set this up?
Thanks!
I have a list of strings where by each string is a url to a pdf document. All I want to do is cycle through this list and display each url as a hyperlink on my page. I've seen this done before in MVC where the collection is made avaliable to the view and you can just do a foreach etc etc but I don't know how to do it on a normal asp.net page...
Any help appreciated, cheers!
IEnumerable<Department> myQuery = (from D in myContext.Departments orderby D.DeptName select D);
var myQuery = (from D in myContext.Departments orderby D.DeptName select D);
What is the difference between these two statements above? In my little asp.net/C#/ EF4.0 app I can write them either way, and as far as how I want to use them, they both work, but there has to be a reason why I would choose one over the other?
In hosts file I have added following line
127.0.0.1 test
When I call Request.Url.Host in Asp.Net application still get "localhost". How do I get "test" ?
I want to create a asp.net application which can show directions in a layout from room A to room B. So layout would be a grid of rooms and if the user wants to get directions from room A to room B the application to highlight the path in blue.
I have no idea how to begin with this? What can i use to create a floor layout and then highlight the required path. Any pointers ? Thanks.
<asp:TextBox ID="txtDate" runat="server" Value="<%= DateTime.Today.ToShortDateString() %>" />
Value="<%= DateTime.Today.ToShortDateString() %>" does not write date in txt field but whole string. What i am doing wrong?
I'd like the user to specify a RSS feed address and serialize the information from it. I am not interested in the XML format, but populate a strongly typed object from the XML. My question is, is there a standard that all RSS feeds support (Do all of them have date, title etc)? If so, is there a XSD that describes this. If not, how do I handle serializing a RSS feed to an object in ASP.NET?
My asp.net 4 website url format is http://www.somesite.com/ShowProduct.aspx?ID=3330
but it sometimes gets changed to
http://www.somesite.com/(S(ghtef0vy5fgfdjgdfgderd55)X(1))/ShowProduct.aspx?ID=3330
or
http://www.somesite.com/ShowProduct.aspx?ID=3330&AspxAutoDetectCookieSupport=3330
How can i prevent this. I want all url's to be of this format only
http://www.somesite.com/ShowProduct.aspx?ID=3330
Hi,
I would like to create a calendar that displays a year from today(everyday) and allows the user to select the multiple dates.
I tried to use the asp:calendar without any success
I am developing in C# .NET
any suggestion
Can somebody suggest a good book on ASP.NET projects?
It should give an idea of practical problems (I mean professional life) and how to deal with them, things like database handling, caching, n-tier architecture, etc.
I am trying to implement my custom route in ASP.net MVC 3 but I get this error:
The resource cannot be found.
global.asax
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"mycontroller", // Route name
"{controller}/{name}", // URL with parameters
new { controller = "MyController", action = "Search" } // Parameter defaults
);
}
MyController.cs
public class MyController : Controller
{
public ActionResult Search(string name)
{
return Content(name);
}
}
Hi
Below ASP code have some error in 'Dim MonthNum=Month("Ctxtdatefrom") '
Can help to solve this.
......
If session("cmbLeaveType")=2 then
set rs2 = objconn.execute("select * form Particulars where empid='" & session("empid") & "'")
if ChildNationality = ABC then
Dim MonthNum=Month("Ctxtdatefrom")
Dim MonthNum2=Month("ctxtdateto")
If(MonthNum=5 and monthnum2=5)
if tdays1 then
else
set rs = objconn.execute("insert into leavebank (empid, datesubmit, datefrom, dateto....
END IF
END IF
END IF
END IF
Hi Guys,
I am new to web development, I am coding some ASP.NET,
I watched many videos about using LINQ to SQL, I am happy I learned something,
but is it the good way of using is: dragging and dropping and that's done???
what are the best practices to use LINQ to access Database ( my database is not only SQL server..MYSQL..)
Thanks
hii
i m trying to send mail through coding of asp
is there any external APIs to send mail like JAVA
give some hints
if possible sample code!!
I m using vs 2005 as well as vs 2008
Hello guys....
I have a full system working in IIS 5.1 ...
I migrated to IIS 7.0 with pipeline mode classic all works fine, but with pipeline Integrated my images/css are not loaded...
I´m using ASP.NET 3.5 with a Web Application...
Any help?
i have a textbox in asp.net form.... if i entered numbers not like 7 or 8 or 9, then script function should be araised with alert message.... how to achieve this.... that 7 or 8 or 9 are first digits in my texbox...
i want to upload an excel file from the client to the server using asp .then it shud check the field name of the file with the oracle database table and then save its content in the database.
can somebody help me with this....??