Normal
0
false
false
false
EN-IN
X-NONE
HI
...
Thursday, June 26, 2014
Wednesday, June 25, 2014
Color conventions in c# of to and fro conversion(HTML to C# and C# to HTML)
Introduction
In this
article I explain how to convert the HTML colors to the c# colors because in c#
we have only limited number of colors like example red, green, blue etc…. If
you want to display the color some shaded color and RGB color mixing process
you can use this methods to overcome this functionalists
Write the
below code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using...
Tuesday, June 24, 2014
Sending Mail from Asp.Net c# with Attachment
Introduction
This post
will explain you how to sending the mail from the asp.net along with file
attachment
Note:- You
can send even though you company having Gmail access
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
using System.Net.Mail;
...
Sending Mail from Asp.Net c#
Introduction
This post will explain you how to sending the mail
from the asp.net
Note:- You can send even though you company having
Gmail access
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;
namespace SampleTestingCodes
{
public partial class SendingMailFromAsp :...
Wednesday, June 18, 2014
Examples of LINQ and LABDMA expression examples, functions and usages for collection types
Write the
below code and execute
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeBehind="LinqAndLambdaExpressions.aspx.cs"
Inherits="SampleTestingCodes.LinqAndLambdaExpressions"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>...
Sunday, June 15, 2014
How to bind the Asp.Net grid with selected data using Lambda Expressions
Write the
bellow code for and execute
In
Design Side
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeBehind="LinqAndLambdaExpressions.aspx.cs"
Inherits="SampleTestingCodes.LinqAndLambdaExpressions"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></tit...
Wednesday, June 11, 2014
Find the 1’s Compliment for the binary number in the SQL SERVER
Example :-1
1’s
Complete Example
Declare @MainChar Varchar(Max)='0101010101'
set @MainChar=replace(replace(replace(@MainChar,'1','a'),'0','1'),'a','0')
select @MainChar
output
1010101010
Example :-2
1’s
Complete Example
Declare @MainChar Varchar(Max)='000000'
set @MainChar=replace(replace(replace(@MainChar,'1','a'),'0','1'),'a','0')
select @MainChar
output
111111
Example :-3
1’s
Complete Example
Declare @MainChar Varchar(Max)='11111'
set...
Find the 2’s Compliment for the binary number in the SQL SERVER
2’s
Complete Example
Declare @MainChar Varchar(Max),@ReveL Varchar(Max),@ReveR Varchar(Max)
set @MainChar='0010010010'
if(len(replace(@MainChar,'0',''))>0)
begin
set @MainChar=replace(replace(replace(@MainChar,'1','a'),'0','1'),'a','0')
set @MainChar=REVERSE(@MainChar)
set @ReveL=replace(replace(replace(SUBSTRING(@MainChar,1,CHARINDEX('0', @MainChar)),'1','a'),'0','1'),'a','0');
set @ReveR=SUBSTRING(@MainChar,CHARINDEX('0', @MainChar)+1,Len(@MainChar)-(CHARINDEX('0', @MainChar)))
select...
Convert Textbox in the Custom Language Transliteration in ASP.Net
Create on
sample we page and write this code below
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeBehind="LanguageTextBox.aspx.cs"
Inherits="SampleTestingCodes.LanguageTextBox"
ClientIDMode="Static"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
...
Subscribe to:
Posts (Atom)