This function allows you to upload a Microsoft Word file and put it on the server using ASP.NET.
Normal 0 Add the following controls to the aspx file, inside a form tag:Cookies are widely used in majority of web applications. They are used in login forms, shopping cart, or simply to track users. This example demonstrates how to write, read values using a cookie using C#.
{CODE brush: cpp;}
//To Write to a cookie
HttpCookie userCookie;
UserName="admin";
userCookie = new HttpCookie("UserName") ;
cookie.Values.Add(UserName, UserName) ;
Response.Cookies.Add(userCookie);
// To read from a cookie
HttpCookie userCookie;
userCookie = Request.Cookies["UserName"];
String UserName = userCookie.Value;
{/CODE}
That's it!
]]>
MySql is a free open-source database server. Thus, many people would like to use it with in
ASP.Net pages to cut the cost of their projects.
It’s pretty easy to connect ASP.Net pages to MySQL database. First you have to have MySQL
database and the MySQL ODBC Driver.