Bind Data to GridView From Different Data Sources

Views: 295 Introduction:  In this Article, I have tried my best, to create  different data source and bind it to the grid view. Since datasource and grid view are very much important to work in any application. In the future, if I have found any another datasource will append it …

900 total views, no views today

Fix to FileUpload Control is Not Working in Update Panel

Views: 157 Reason for Problem File upload control will not work in the Partial (asyn) Post back and it requires full post back. Solution for Problem Just add marked three lines of code like the below screen shot, Sample snag it, Before Fix AfterIt’s Fixed 181 total views, no views today

181 total views, no views today

How to Log an Exception With a Simple Example in asp.net C#

Views: 45 Introduction In this article, I have shared how to log an exception in a text document so that it will be stored permanently in the database. I have attached the source code in the attachment section. Write the following code in catch block of any event:

  …

141 total views, no views today

Asp.net Ways Of Determining If A Word/String Is a Palindrome

Views: 39 Introduction In the below content, you will find simple, different, yet important ways to find whether a string /word is palindrome or not. Way 1 : Using Array. Reverse () Method using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProgrammingInterviewFAQ.Palindrome {     class UsingReverseMethod {         static void Main() {             Console.WriteLine(“Enter the String to check:”);             String input = Console.ReadLine();             string output = string.Empty;             char[] inputtochar = input.ToCharArray(); // this line converts the string to char for reversing             Array.Reverse(inputtochar); // this line actually reverse the Converted CharArray             output = new string(inputtochar); //this line converts the ReversedcharArray back to string             if (input == output) {                 Console.WriteLine(“Palidrome”); …

396 total views, no views today