dotnetfrommanila.blogspot.com
dotNet From Manila: Simplest Way To Copy Any File From Your Computer Going To FTP Server in C#
http://dotnetfrommanila.blogspot.com/2014/08/simplest-way-to-copy-any-file-from-your.html
My name is Harold Javier. I am an independent Microsoft .NET Trainer and Developer from the Philippines. Simplest Way To Copy Any File From Your Computer Going To FTP Server in C#. Protected void btnUpload Click(object sender, EventArgs e). FtpUpload("ftp:/ 100.89.90.23", "myUserName", "myPassword", @"C: ForUpload myFile.txt");. Private static void FtpUpload(string ftpServer, string userName, string passWord, string fileName). Using (var client = new WebClient(). Posted by Harold Javier. Convert GridView...
dotnetfrommanila.blogspot.com
dotNet From Manila: Converting String To Integer Properly
http://dotnetfrommanila.blogspot.com/2015/02/converting-string-to-integer-properly.html
My name is Harold Javier. I am an independent Microsoft .NET Trainer and Developer from the Philippines. Converting String To Integer Properly. If I have a string myNumber = '21' and I want it to convert to an integer, the proper way to do this is to use TryParse like this:. Int32TryParse(myNumber, out x);. By using TryParse, it won't throw exceptions if in case your string (text) is non-numeric. Posted by Harold Javier. Subscribe to: Post Comments (Atom). Want to know more about Harold Javier.
dotnetfrommanila.blogspot.com
dotNet From Manila: Uploading Excel File to SQL Server Database
http://dotnetfrommanila.blogspot.com/2014/05/uploading-excel-file-to-sql-server.html
My name is Harold Javier. I am an independent Microsoft .NET Trainer and Developer from the Philippines. Uploading Excel File to SQL Server Database. Protected void btnSave Click(object sender, EventArgs e). String saveFolder = @"C: MyFolder";. String filePath = Path.Combine(saveFolder, FileUpload1.FileName);. String strConnection = "Data Source=hack3r;Initial Catalog=eLogisticsDb;Integrated Security=True";. Create Connection to Excel work book. Create OleDbCommand to fetch data from Excel. The ObjectCon...
dotnetfrommanila.blogspot.com
dotNet From Manila: Exporting Data from Database To Text File in C#
http://dotnetfrommanila.blogspot.com/2014/08/exporting-data-from-database-to-text.html
My name is Harold Javier. I am an independent Microsoft .NET Trainer and Developer from the Philippines. Exporting Data from Database To Text File in C#. Public override void VerifyRenderingInServerForm(Control control). Protected void btnExport Click(object sender, System.EventArgs e). String connectionString = WebConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString;. Using (SqlConnection connection = new SqlConnection(connectionString). Foreach (DataRow row in table.Rows).
dotnetfrommanila.blogspot.com
dotNet From Manila: How To Update Only The First Row Of The Table With Duplicate Column Value
http://dotnetfrommanila.blogspot.com/2015/02/how-to-update-only-first-row-of-table.html
My name is Harold Javier. I am an independent Microsoft .NET Trainer and Developer from the Philippines. How To Update Only The First Row Of The Table With Duplicate Column Value. For instance, you have a multiple rows with 3 columns (myName, myAge, myExpertise) like. Harold 12 ASP.NET. Now if you just want to update the 2nd column (myAge) of the first row, one solution that should work is the following:. Posted by Harold Javier. Subscribe to: Post Comments (Atom). Want to know more about Harold Javier.
geeksociety.blogspot.com
GeekSociety: IT Security - Prevent Cisco Router Leakage
http://geeksociety.blogspot.com/2009/04/it-security-prevent-cisco-router.html
I am geek. i live in geeksociety. IT Security - Prevent Cisco Router Leakage. One of the issues we encounter with Cisco routers are this "leakage" that attackers used to compromise the router. To avoid it, we suggest you to do the following:. 1 Block TCP/UDP ports 69, 79, 161, 256, 257, 258, 520, 1080, 1745, 1999, 9001. 2 Use static routing "only". 3 Avoid using RIP instead use OSPF. 4 Always use "service password-encryption". 5 Block responding to IP unreachable messages.
geeksociety.blogspot.com
GeekSociety: IT Security - Backdoor Countermeasure
http://geeksociety.blogspot.com/2009/04/it-security-backdoor-countermeasure.html
I am geek. i live in geeksociety. IT Security - Backdoor Countermeasure. Are programs that hackers installed in your computer once the hacker had an access in your machine. Most backdoors CANNOT be detected by an AntiVirus. Once, your computer was hacked, ALWAYS assume that it has a "hidden" backdoors installed in it. The best thing to solve this is to install an anti-rootkit program or a backdoor scanner. Or else, re-format your harddrive and re-install your operating system. Start - Run - type "cmd".
geeksociety.blogspot.com
GeekSociety: IT Security - Securing Your Windows XP
http://geeksociety.blogspot.com/2009/04/it-security-securing-your-windows-xp.html
I am geek. i live in geeksociety. IT Security - Securing Your Windows XP. Here are the steps that I recommend to secure your Microsoft Windows XP. 1 Install the latest Service Pack by running Windows Update. Start - Windows Update. 2 Disable the Guest account in your computer. Start - Settings - Control Panel - User Accounts - Guest. 3 Create a Password for your account. Start - Settings - Control Panel - User Accounts - “Your Account” - Create a password. 4 Always enable the built-in Firewall.
dotnetfrommanila.blogspot.com
dotNet From Manila: Create A Simple DropDownList in MVC
http://dotnetfrommanila.blogspot.com/2013/12/create-simple-dropdownlist-in-mvc.html
My name is Harold Javier. I am an independent Microsoft .NET Trainer and Developer from the Philippines. Create A Simple DropDownList in MVC. You can create a DropDownList in Controller using the following script. The purpose of this is to simply give you an idea how to easily create a DropDownList in MVC. First, create a class like this:. Public int Id { get; set; }. Public string Name { get; set; }. Public IEnumerable SelectListItem Names { get; set; }. Next, create an ActionResult like this:. Unable t...
SOCIAL ENGAGEMENT