<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4402715403748333106</id><updated>2024-10-17T23:43:01.950-07:00</updated><title type='text'>.NET</title><subtitle type='html'>Hi,This is vamsi krishna ,Iam a .Net programmer ,Iam working in Seanergy Softech ,I will post Tough tasks in .Net.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-558232476653025516</id><published>2010-06-23T22:54:00.000-07:00</published><updated>2010-06-23T22:54:05.430-07:00</updated><title type='text'>How to build Multi-Language Web Sites with ASP.NET</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/10419795/LocalizationDemo.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/558232476653025516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2010/06/how-to-build-multi-language-web-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/558232476653025516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/558232476653025516'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2010/06/how-to-build-multi-language-web-sites.html' title='How to build Multi-Language Web Sites with ASP.NET'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-7784900636002095362</id><published>2010-06-11T04:14:00.000-07:00</published><updated>2010-06-11T04:14:48.545-07:00</updated><title type='text'>GridView Column- MultiLine Label</title><content type='html'>This is aspx page&lt;br /&gt;
&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; color: #000000; background-color: #eee;font-size: 12px;border: 1px dashed #999999;line-height: 14px;padding: 5px; overflow: auto; width: 100%&quot;&gt;&lt;code&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; CodeFile=&amp;quot;Default.aspx.cs&amp;quot; Inherits=&amp;quot;_Default&amp;quot; %&amp;gt;

&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;
&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;div&amp;gt;
        &amp;lt;asp:GridView ID=&amp;quot;GridView1&amp;quot; runat=&amp;quot;server&amp;quot; AutoGenerateColumns=&amp;quot;false&amp;quot; 
            onrowcreated=&amp;quot;GridView1_RowCreated&amp;quot; onrowdatabound=&amp;quot;GridView1_RowDataBound&amp;quot;&amp;gt;
            &amp;lt;Columns&amp;gt;
                &amp;lt;asp:TemplateField HeaderText =&amp;quot;Id&amp;quot; ItemStyle-Height =&amp;quot;100%&amp;quot; ItemStyle-Width =&amp;quot;100%&amp;quot;&amp;gt;
                    &amp;lt;ItemTemplate&amp;gt;
                        &amp;lt;asp:Label ID =&amp;quot;TextBox1&amp;quot; runat =&amp;quot;server&amp;quot; Text =&#39;&amp;lt;%#Bind(&amp;quot;id&amp;quot;) %&amp;gt;&#39;&amp;gt;&amp;lt;/asp:Label&amp;gt;                        
                    &amp;lt;/ItemTemplate&amp;gt;
                &amp;lt;/asp:TemplateField&amp;gt;
            &amp;lt;/Columns&amp;gt;
        &amp;lt;/asp:GridView&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

&lt;/code&gt;&lt;/pre&gt;This is aspx.cs page&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Web;&lt;br /&gt;
using System.Web.UI;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
using System.Data;&lt;br /&gt;
public partial class _Default : System.Web.UI.Page &lt;br /&gt;
{&lt;br /&gt;
    protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        GridView1.DataSource = _sampleuserdata;&lt;br /&gt;
        GridView1.DataBind();&lt;br /&gt;
    }&lt;br /&gt;
    public DataTable _sampleuserdata&lt;br /&gt;
    {&lt;br /&gt;
        get&lt;br /&gt;
        {&lt;br /&gt;
            DataTable dt = new DataTable();&lt;br /&gt;
            dt.Columns.Add(new DataColumn(&quot;id&quot;, typeof(string)));&lt;br /&gt;
            dt.Rows.Add(new object[] { &quot;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&quot; });&lt;br /&gt;
&lt;br /&gt;
            return dt;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        if (e.Row.RowType == DataControlRowType.DataRow)&lt;br /&gt;
        {&lt;br /&gt;
            ((Label)e.Row.Cells[0].FindControl(&quot;TextBox1&quot;)).Attributes.Add(&quot;style&quot;, &quot;word-break:break-all;word-wrap:break-word&quot;);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
    protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        if (e.Row.RowType == DataControlRowType.DataRow)&lt;br /&gt;
        {&lt;br /&gt;
            ((Label)e.Row.Cells[0].FindControl(&quot;TextBox1&quot;)).Width = new Unit(150);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/7784900636002095362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2010/06/gridview-column-multiline-label.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/7784900636002095362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/7784900636002095362'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2010/06/gridview-column-multiline-label.html' title='GridView Column- MultiLine Label'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-1933911674074835607</id><published>2010-04-15T22:24:00.000-07:00</published><updated>2010-04-15T22:28:09.033-07:00</updated><title type='text'>Java Script Validations</title><content type='html'>This simple program will guide how to do client side validation of Form in JavaScript.&lt;br /&gt;
&lt;br /&gt;
In this just make a form as follows:&lt;br /&gt;
&lt;br /&gt;
Name : &amp;lt;asp:TextBox ID=&amp;quot;txtName&amp;quot; /&amp;gt; &lt;br /&gt;
Email : &amp;lt;asp:TextBox ID=&amp;quot;txtEmail&amp;quot; /&amp;gt; &lt;br /&gt;
Web URL : &amp;lt;asp:TextBox ID=&amp;quot;txtWebUrl&amp;quot; /&amp;gt; &lt;br /&gt;
Zip : &amp;lt;asp:TextBox ID=&amp;quot;txtZip&amp;quot; /&amp;gt; &lt;br /&gt;
&amp;lt;asp:Button ID=&amp;quot;btnSubmit&amp;quot; OnClientClick=&amp;quot; return validate()&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Submit&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now on the source code of this form in script tag write the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
function validate()&lt;br /&gt;
{&lt;br /&gt;
      if (document.getElementById(&amp;quot;&amp;lt;%=txtName.ClientID%&amp;gt;&amp;quot;).value==&amp;quot;&amp;quot;)&lt;br /&gt;
      {&lt;br /&gt;
                 alert(&amp;quot;Name Feild can not be blank&amp;quot;);&lt;br /&gt;
                 document.getElementById(&amp;quot;&amp;lt;%=txtName.ClientID%&amp;gt;&amp;quot;).focus();&lt;br /&gt;
                 return false;&lt;br /&gt;
      }&lt;br /&gt;
      if(document.getElementById(&amp;quot;&amp;lt;%=txtEmail.ClientID %&amp;gt;&amp;quot;).value==&amp;quot;&amp;quot;)&lt;br /&gt;
      {&lt;br /&gt;
                 alert(&amp;quot;Email id can not be blank&amp;quot;);&lt;br /&gt;
                document.getElementById(&amp;quot;&amp;lt;%=txtEmail.ClientID %&amp;gt;&amp;quot;).focus();&lt;br /&gt;
                return false;&lt;br /&gt;
      }&lt;br /&gt;
     var emailPat = /^(\&amp;quot;.*\&amp;quot;|[A-Za-z]\w*)@(\[\d{1,3}(\.\d{1,3}){3}]|[A-Za-z]\w*(\.[A-Za-z]\w*)+)$/;&lt;br /&gt;
     var emailid=document.getElementById(&amp;quot;&amp;lt;%=txtEmail.ClientID %&amp;gt;&amp;quot;).value;&lt;br /&gt;
     var matchArray = emailid.match(emailPat);&lt;br /&gt;
     if (matchArray == null)&lt;br /&gt;
    {&lt;br /&gt;
               alert(&amp;quot;Your email address seems incorrect. Please try again.&amp;quot;);&lt;br /&gt;
               document.getElementById(&amp;quot;&amp;lt;%=txtEmail.ClientID %&amp;gt;&amp;quot;).focus();&lt;br /&gt;
               return false;&lt;br /&gt;
    }&lt;br /&gt;
    if(document.getElementById(&amp;quot;&amp;lt;%=txtWebURL.ClientID %&amp;gt;&amp;quot;).value==&amp;quot;&amp;quot;)&lt;br /&gt;
    {&lt;br /&gt;
               alert(&amp;quot;Web URL can not be blank&amp;quot;);&lt;br /&gt;
               document.getElementById(&amp;quot;&amp;lt;%=txtWebURL.ClientID %&amp;gt;&amp;quot;).value=&amp;quot;http://&amp;quot;&lt;br /&gt;
               document.getElementById(&amp;quot;&amp;lt;%=txtWebURL.ClientID %&amp;gt;&amp;quot;).focus();&lt;br /&gt;
               return false;&lt;br /&gt;
    }&lt;br /&gt;
    var Url=&amp;quot;^[A-Za-z]+://[A-Za-z0-9-_]+\\.[A-Za-z0-9-_%&amp;amp;\?\/.=]+$&amp;quot;&lt;br /&gt;
    var tempURL=document.getElementById(&amp;quot;&amp;lt;%=txtWebURL.ClientID%&amp;gt;&amp;quot;).value;&lt;br /&gt;
    var matchURL=tempURL.match(Url);&lt;br /&gt;
     if(matchURL==null)&lt;br /&gt;
     {&lt;br /&gt;
               alert(&amp;quot;Web URL does not look valid&amp;quot;);&lt;br /&gt;
               document.getElementById(&amp;quot;&amp;lt;%=txtWebURL.ClientID %&amp;gt;&amp;quot;).focus();&lt;br /&gt;
               return false;&lt;br /&gt;
     }&lt;br /&gt;
     if (document.getElementById(&amp;quot;&amp;lt;%=txtZIP.ClientID%&amp;gt;&amp;quot;).value==&amp;quot;&amp;quot;)&lt;br /&gt;
     {&lt;br /&gt;
               alert(&amp;quot;Zip Code is not valid&amp;quot;);&lt;br /&gt;
               document.getElementById(&amp;quot;&amp;lt;%=txtZIP.ClientID%&amp;gt;&amp;quot;).focus();&lt;br /&gt;
               return false;&lt;br /&gt;
     }&lt;br /&gt;
     var digits=&amp;quot;0123456789&amp;quot;;&lt;br /&gt;
     var temp;&lt;br /&gt;
     for (var i=0;i&amp;lt;document.getElementById(&amp;quot;&amp;lt;%=txtZIP.ClientID %&amp;gt;&amp;quot;).value.length;i++)&lt;br /&gt;
     {&lt;br /&gt;
               temp=document.getElementById(&amp;quot;&amp;lt;%=txtZIP.ClientID%&amp;gt;&amp;quot;).value.substring(i,i+1);&lt;br /&gt;
               if (digits.indexOf(temp)==-1)&lt;br /&gt;
               {&lt;br /&gt;
                        alert(&amp;quot;Please enter correct zip code&amp;quot;);&lt;br /&gt;
                        document.getElementById(&amp;quot;&amp;lt;%=txtZIP.ClientID%&amp;gt;&amp;quot;).focus();&lt;br /&gt;
                        return false;&lt;br /&gt;
               }&lt;br /&gt;
     }&lt;br /&gt;
     return true;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/1933911674074835607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2010/04/java-script-validations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/1933911674074835607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/1933911674074835607'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2010/04/java-script-validations.html' title='Java Script Validations'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-5917067667133119463</id><published>2010-01-25T02:56:00.000-08:00</published><updated>2010-01-25T02:56:18.232-08:00</updated><title type='text'>Grid View edit,insert,update,delete</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/8317472/gridview.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/5917067667133119463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2010/01/grid-view-editinsertupdatedelete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5917067667133119463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5917067667133119463'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2010/01/grid-view-editinsertupdatedelete.html' title='Grid View edit,insert,update,delete'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-3971633391931910909</id><published>2010-01-18T22:12:00.000-08:00</published><updated>2010-01-18T22:12:27.694-08:00</updated><title type='text'>Dynamically Templated GridView With Edit,Delete and Insert Options</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/8226882/DynamicallyTemplatedGridView.zip.html&quot;&gt;Download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/3971633391931910909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2010/01/dynamically-templated-gridview-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/3971633391931910909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/3971633391931910909'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2010/01/dynamically-templated-gridview-with.html' title='Dynamically Templated GridView With Edit,Delete and Insert Options'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-4683370375018489059</id><published>2009-12-12T05:41:00.000-08:00</published><updated>2009-12-12T05:42:42.556-08:00</updated><title type='text'>Sql Server Data Base Back Up Using C#</title><content type='html'>private void btnBackUp_Click(object sender, EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
&lt;br /&gt;
            bool bBackUpStatus = true;&lt;br /&gt;
            Cursor.Current = Cursors.WaitCursor;&lt;br /&gt;
            &lt;br /&gt;
            string path=&quot;D:\\SQLBackup&quot;;&lt;br /&gt;
            //string path = Environment.GetFolderPath(System.Environment.SpecialFolder.System);&lt;br /&gt;
&lt;br /&gt;
            string path1,path2=path ;&lt;br /&gt;
&lt;br /&gt;
            string date = System.DateTime.Today.Day.ToString() + System.DateTime.Today.Month.ToString() + System.DateTime.Today.Year .ToString();&lt;br /&gt;
            &lt;br /&gt;
            string backupname = &quot;\\wcBackUp1.bak&quot;;&lt;br /&gt;
            if (Directory.Exists(@path))&lt;br /&gt;
            {&lt;br /&gt;
                path = path + &quot;\\&quot; + date;&lt;br /&gt;
                path1 = path + &quot;\\&quot;;&lt;br /&gt;
                if (Directory.Exists(@path))&lt;br /&gt;
                {&lt;br /&gt;
                    path = path + &quot;\\&quot; + backupname;&lt;br /&gt;
                }&lt;br /&gt;
                else&lt;br /&gt;
                {&lt;br /&gt;
                    Directory.CreateDirectory(@path);&lt;br /&gt;
                    path = path + &quot;\\&quot; + backupname;&lt;br /&gt;
                }&lt;br /&gt;
&lt;br /&gt;
                //if (System.IO.File.Exists(@path))&lt;br /&gt;
                //{&lt;br /&gt;
                //    if (MessageBox.Show(@&quot;Do you want to replace it?&quot;, &quot;Back&quot;, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)&lt;br /&gt;
                //    {&lt;br /&gt;
&lt;br /&gt;
                //        System.IO.File.Delete(@path);&lt;br /&gt;
                //    }&lt;br /&gt;
                //    else&lt;br /&gt;
                //        bBackUpStatus = false;&lt;br /&gt;
                //}&lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                Directory.CreateDirectory(@path2);&lt;br /&gt;
                path = path + &quot;\\&quot; + date;&lt;br /&gt;
                path1 = path + &quot;\\&quot;;&lt;br /&gt;
                if (Directory.Exists(@path))&lt;br /&gt;
                {&lt;br /&gt;
                    path = path + &quot;\\&quot; +backupname;&lt;br /&gt;
                }&lt;br /&gt;
                else&lt;br /&gt;
                {&lt;br /&gt;
                    Directory.CreateDirectory(@path);&lt;br /&gt;
                    path = path + &quot;\\&quot; +  backupname;&lt;br /&gt;
                }&lt;br /&gt;
&lt;br /&gt;
                if (System.IO.File.Exists(@path))&lt;br /&gt;
                //@&quot;c:\SQLBackup\wcBackUp1.bak&quot;))&lt;br /&gt;
                {&lt;br /&gt;
                    scount++;&lt;br /&gt;
                    //if (MessageBox.Show(@&quot;Do you want to replace it?&quot;, &quot;Back&quot;, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)&lt;br /&gt;
                    //{&lt;br /&gt;
&lt;br /&gt;
                    //    System.IO.File.Delete(@path1);&lt;br /&gt;
                    //}&lt;br /&gt;
                    //else&lt;br /&gt;
                    //    bBackUpStatus = false;&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
            if (scount == 0)&lt;br /&gt;
            {&lt;br /&gt;
                //Connect to DB&lt;br /&gt;
                SqlConnection connect;&lt;br /&gt;
                string con = Helper.ConnectionString.ToString();&lt;br /&gt;
                connect = new SqlConnection(con);&lt;br /&gt;
                connect.Open();&lt;br /&gt;
                //----------------------------------------------------------------------------------------------------&lt;br /&gt;
                //Execute SQL---------------&lt;br /&gt;
                SqlCommand command;&lt;br /&gt;
                command = new SqlCommand(@&quot;backup database HealthManagement to disk =&#39;&quot; + path + &quot;&#39;&quot;, connect);&lt;br /&gt;
                command.ExecuteNonQuery();&lt;br /&gt;
                //-------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
                connect.Close();&lt;br /&gt;
                MessageBox.Show(&quot;The support of the database was successfully performed&quot;, &quot;Back&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information);&lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                MessageBox.Show(&quot;BackUp Already Taken For Today&quot;,&quot;Back&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information);&lt;br /&gt;
                &lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
        }</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/4683370375018489059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/12/sql-server-data-base-back-up-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4683370375018489059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4683370375018489059'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/12/sql-server-data-base-back-up-using-c.html' title='Sql Server Data Base Back Up Using C#'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-4037354015364079538</id><published>2009-12-04T02:02:00.000-08:00</published><updated>2009-12-04T02:33:07.492-08:00</updated><title type='text'>Dynamic Crystal Report  using C#</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7599989/Dynamic_Crystal_Reports.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Create a C# project or add a Form to your existing project.  Now you can add Checkboxes that correspond to columns of a particular table that should be displayed in the Crystal Report and CrystalReportViewer control to the form. &lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;img alt=&quot;Screenshot - pic4.jpg&quot; border=&quot;0&quot; height=&quot;184&quot; hspace=&quot;0&quot; src=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic4.jpg&quot; width=&quot;320&quot; /&gt;  For this demonstration, I have created a database called &lt;i&gt;db1.mdb&lt;/i&gt; (in &lt;i&gt;bin\Debug&lt;/i&gt;) using Access and created a table called &lt;code&gt;Customer&lt;/code&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Screenshot - pic5.jpg&quot; border=&quot;0&quot; height=&quot;166&quot; hspace=&quot;0&quot; src=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;Add a &lt;code&gt;DataSet &lt;/code&gt;(&lt;i&gt;*.xsd&lt;/i&gt; file) to your project using add -&amp;gt; New Items in solution explorer. After that, add a &lt;code&gt;DataTable &lt;/code&gt;to the &lt;code&gt;DataSet&lt;/code&gt;.  &lt;br /&gt;
Add columns to &lt;code&gt;DataTable &lt;/code&gt;and name them &lt;code&gt;Column1&lt;/code&gt;, &lt;code&gt;Column2&lt;/code&gt;, and so on. The number of columns depends on how many columns should be displayed in the Crystal report. &lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Add a Crystal Report into the project and using the Report Wizard, choose ADO.NET &lt;code&gt;DataSet&lt;/code&gt;s of the Project data source as the data source of the Crystal Report and select &lt;code&gt;Customer &lt;/code&gt;data table of &lt;code&gt;DataSet1 &lt;/code&gt;as the selected table of the Crystal Report. Then select fields to be displayed in your report. Then remove &lt;code&gt;Column1&lt;/code&gt;…, &lt;code&gt;Column5 &lt;/code&gt;objects in Section 2 of the Crystal Report.&amp;nbsp; &lt;br /&gt;
&lt;img alt=&quot;Screenshot - pic8.jpg&quot; border=&quot;0&quot; height=&quot;251&quot; hspace=&quot;0&quot; src=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic8.jpg&quot; width=&quot;320&quot; /&gt; &lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Now add parameters called &lt;code&gt;col1&lt;/code&gt;, &lt;code&gt;col2&lt;/code&gt;… &lt;code&gt;col5 &lt;/code&gt;(the number of parameters should be equal to the number of columns displayed in the Crystal Report.) using Field Explorer.  &lt;img alt=&quot;Screenshot - pic9.jpg&quot; border=&quot;0&quot; height=&quot;196&quot; hspace=&quot;0&quot; src=&quot;http://www.codeproject.com/KB/cs/Dynamic_Crystal_Report/pic9.jpg&quot; width=&quot;320&quot; /&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt; Add the following method to your Form for Create SQL SELECT query and assign values to parameters of the Crystal Report according to user selected columns that should be displayed on your report. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;SmallText&quot; id=&quot;premain0&quot; style=&quot;cursor: pointer; width: 100%;&quot;&gt;&lt;img height=&quot;9&quot; id=&quot;preimg0&quot; preid=&quot;0&quot; src=&quot;http://www.codeproject.com/images/minus.gif&quot; width=&quot;9&quot; /&gt;&lt;span id=&quot;precollapse0&quot; style=&quot;margin-bottom: 0pt;&quot;&gt; Collapse&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre id=&quot;pre0&quot; lang=&quot;cs&quot; style=&quot;margin-top: 0pt;&quot;&gt;/// &amp;lt;summary&amp;gt;
/// This method is used to 
/// 1. create SELECT query according to the selected column names and 
/// 2. create parameters and assign values for that parameter
/// that correspond to the crystal report.
/// NOTE: This parameter is used to display Column names of the 
/// Crystal Report according to the user selection.
/// &amp;lt;/summary&amp;gt;
/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/pre&gt;&lt;pre id=&quot;pre0&quot; lang=&quot;cs&quot; style=&quot;margin-top: 0pt;&quot;&gt;private string CreateSelectQueryAndParameters()
{
ReportDocument reportDocument;
ParameterFields paramFields;
    
ParameterField paramField;
ParameterDiscreteValue paramDiscreteValue;

reportDocument = new ReportDocument();
paramFields = new ParameterFields();
               
string query = &quot;SELECT &quot;;
int columnNo = 0;                

if (chbCode.Checked)
{
columnNo++;
query = query.Insert(query.Length, &quot;Code as Column&quot; +
columnNo.ToString());

paramField = new ParameterField();
paramField.Name = &quot;col&quot; + columnNo.ToString();
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = &quot;Customer Code&quot;;
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);
}
if (chbFirstName.Checked)
{
columnNo++;
if (query.Contains(&quot;Column&quot;))
{
query = query.Insert(query.Length, &quot;, &quot;);
}
query = query.Insert(query.Length, &quot;FirstName as Column&quot; +
columnNo.ToString());
        
paramField = new ParameterField();
paramField.Name = &quot;col&quot; + columnNo.ToString();
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = &quot;First Name&quot;;
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);
}
if (chbLastName.Checked)
{
columnNo++; //To determine Column number
if (query.Contains(&quot;Column&quot;))
{
query = query.Insert(query.Length, &quot;, &quot;);
}
query = query.Insert(query.Length, &quot;LastName as Column&quot; +
columnNo.ToString());
                       
paramField = new ParameterField();
paramField.Name = &quot;col&quot; + columnNo.ToString();
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = &quot;Last Name&quot;;
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);
}
if (chbAddress.Checked)
{
columnNo++;
if (query.Contains(&quot;Column&quot;))
{
query = query.Insert(query.Length, &quot;, &quot;);
}
query = query.Insert(query.Length, &quot;Address as Column&quot; +
 columnNo.ToString());
                       
paramField = new ParameterField();
paramField.Name = &quot;col&quot; + columnNo.ToString();
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = &quot;Address&quot;;
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);
}
if (chbPhone.Checked)
{
columnNo++;
if (query.Contains(&quot;Column&quot;))
{
query = query.Insert(query.Length, &quot;, &quot;);
}
query = query.Insert(query.Length, &quot;Phone as Column&quot; +
columnNo.ToString());

paramField = new ParameterField();
paramField.Name = &quot;col&quot; + columnNo.ToString();
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = &quot;Phone&quot;;
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);
}

//if there is any remaining parameter, assign empty value for that 
//parameter.
for (int i = columnNo; i &amp;lt; 5; i++)
{
 columnNo++;
 paramField = new ParameterField();
 paramField.Name = &quot;col&quot; + columnNo.ToString();
 paramDiscreteValue = new ParameterDiscreteValue();
 paramDiscreteValue.Value = &quot;&quot;;
 paramField.CurrentValues.Add(paramDiscreteValue);
 //Add the paramField to paramFields
 paramFields.Add(paramField);
 }
           
 crystalReportViewer1.ParameterFieldInfo = paramFields;
    
 query += &quot; FROM Customer&quot; ;
 return query;
 }
//&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt; Add the following method to the button click event to display a report when the user presses the button: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;SmallText&quot; id=&quot;premain1&quot; style=&quot;cursor: pointer; width: 100%;&quot;&gt;&lt;img height=&quot;9&quot; id=&quot;preimg1&quot; preid=&quot;1&quot; src=&quot;http://www.codeproject.com/images/minus.gif&quot; width=&quot;9&quot; /&gt;&lt;span id=&quot;precollapse1&quot; style=&quot;margin-bottom: 0pt;&quot;&gt; Collapse&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre id=&quot;pre1&quot; lang=&quot;cs&quot; style=&quot;margin-top: 0pt;&quot;&gt;using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;

using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Shared;
using CrystalDecisions.Windows.Forms;

namespace app5
{
public partial class Form1 : Form
{
CrystalReport1 objRpt;

public Form1()
{
 InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
  objRpt = new CrystalReport1();

  string connString = &quot;Provider=Microsoft.Jet.OLEDB.4.0;&quot; +
        &quot;Data Source=|DataDirectory|\\db1.mdb&quot;; 
           
 //Get Select query String and add parameters to the 
 //Crystal report.
 string query = CreateSelectQueryAndParameters();

 //if there is no item select, then exit from the method.
 if (!query.Contains(&quot;Column&quot;))
  {
   MessageBox.Show(&quot;No selection to display!&quot;);
   return;
   }

 try
 {
  OleDbConnection Conn = new OleDbConnection(connString);

  OleDbDataAdapter adepter = 
  new OleDbDataAdapter(query, connString);
  DataSet1 Ds = new DataSet1();

  adepter.Fill(Ds, &quot;Customer&quot;);
                
  objRpt.SetDataSource(Ds);
  crystalReportViewer1.ReportSource = objRpt;
  }
 catch (OleDbException oleEx)
  {
  MessageBox.Show(oleEx.Message);
  }
 catch (Exception Ex)
  {
  MessageBox.Show(Ex.Message);
  }
  }&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/4037354015364079538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/12/dynamic-crystal-report-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4037354015364079538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4037354015364079538'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/12/dynamic-crystal-report-using-c.html' title='Dynamic Crystal Report  using C#'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-4784517479768257490</id><published>2009-12-04T01:31:00.000-08:00</published><updated>2009-12-04T01:47:52.168-08:00</updated><title type='text'>Sending Mail in Asp.net using C#</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7599786/mail.zip.html&quot;&gt;DOWNLOAD &lt;/a&gt;&lt;br /&gt;
using System.Net;&lt;br /&gt;
using System.Net.Mail;&lt;br /&gt;
public partial class _Default : System.Web.UI.Page &lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MailMessage msgobj;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SmtpClient serverobj = new SmtpClient();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverobj.Credentials = new NetworkCredential(TextBox1.Text, TextBox2.Text);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverobj.Port = 587;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverobj.Host = &quot;smtp.gmail.com&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverobj.EnableSsl = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgobj = new MailMessage();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgobj.From = new MailAddress(TextBox1.Text, &quot;hi&quot;, System.Text.Encoding.UTF8);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgobj.To.Add(TextBox3.Text);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgobj.Subject = TextBox4.Text;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgobj.Body = TextBox5.Text;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // msgobj .Attachments .Add (new Attachment (MapPath (&quot;pocketpc.gif&quot;));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgobj.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverobj.Send(msgobj);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label5.Visible = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label5.Text = &quot;Mail send Successfully&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label5.Visible = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label5.Text = &quot;mail sending failed&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/4784517479768257490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/12/sending-mail-in-aspnet-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4784517479768257490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4784517479768257490'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/12/sending-mail-in-aspnet-using-c.html' title='Sending Mail in Asp.net using C#'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-8004400706200119930</id><published>2009-11-03T22:46:00.000-08:00</published><updated>2010-01-26T21:05:09.211-08:00</updated><title type='text'>date time picker in grid view</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7213442/CS.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/8004400706200119930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/date-time-picker-in-grid-view.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/8004400706200119930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/8004400706200119930'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/date-time-picker-in-grid-view.html' title='date time picker in grid view'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-2085984009681341101</id><published>2009-11-03T21:29:00.000-08:00</published><updated>2009-11-03T21:29:55.478-08:00</updated><title type='text'>Sql Helper and Helper Class</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7212590/HelperClass.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/2085984009681341101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/sql-helper-and-helper-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/2085984009681341101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/2085984009681341101'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/sql-helper-and-helper-class.html' title='Sql Helper and Helper Class'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-2333061893630218664</id><published>2009-11-03T21:21:00.000-08:00</published><updated>2009-12-04T01:52:51.597-08:00</updated><title type='text'>Complete Project On All Controls in Asp.net(2)</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7212492/ASPNET_Data_Tutorial_75_CS.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/2333061893630218664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/complete-project-on-all-controls-in_03.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/2333061893630218664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/2333061893630218664'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/complete-project-on-all-controls-in_03.html' title='Complete Project On All Controls in Asp.net(2)'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-4183937620777154422</id><published>2009-11-03T21:19:00.000-08:00</published><updated>2009-11-03T21:19:06.773-08:00</updated><title type='text'>Complete Project On All Controls in Asp.net(1)</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7212450/ASPNET_Data_Tutorial_59_CS.exe.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/4183937620777154422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/complete-project-on-all-controls-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4183937620777154422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4183937620777154422'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/complete-project-on-all-controls-in.html' title='Complete Project On All Controls in Asp.net(1)'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-5930881722966415809</id><published>2009-11-03T21:11:00.001-08:00</published><updated>2009-11-03T21:11:27.424-08:00</updated><title type='text'>sitemap and menu with masterpage</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7212296/navigating.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/5930881722966415809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/sitemap-and-menu-with-masterpage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5930881722966415809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5930881722966415809'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/sitemap-and-menu-with-masterpage.html' title='sitemap and menu with masterpage'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-6899494531490532585</id><published>2009-11-03T20:42:00.000-08:00</published><updated>2010-01-26T07:28:39.867-08:00</updated><title type='text'>Stunning Mirror Control</title><content type='html'>&lt;a href=&quot;http://www.ziddu.com/download/7212023/Mirror.zip.html&quot;&gt;DOWNLOAD&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/6899494531490532585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/stunning-mirror-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/6899494531490532585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/6899494531490532585'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/stunning-mirror-control.html' title='Stunning Mirror Control'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-5360344605686800819</id><published>2009-11-02T00:49:00.000-08:00</published><updated>2010-01-26T07:26:02.008-08:00</updated><title type='text'>Repeater control with paging</title><content type='html'>public partial class _Default : System.Web.UI.Page &lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public int PageNumber&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ViewState[&quot;PageNumber&quot;] != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Convert.ToInt32(ViewState[&quot;PageNumber&quot;]);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ViewState[&quot;PageNumber&quot;] = value;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected override void OnInit(EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; base.OnInit(e);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptPages.ItemCommand +=&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new RepeaterCommandEventHandler(rptPages_ItemCommand);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!Page.IsPostBack)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadData();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private void LoadData()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlConnection cn = new SqlConnection(&quot;Data Source=AJTECH4;Initial Catalog=vamsi;Integrated Security=True&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn.Open();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataAdapter da = new SqlDataAdapter(&quot;select * from repeatertask&quot;, cn);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataTable dt = new DataTable();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; da.Fill(dt);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn.Close();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PagedDataSource pgitems = new PagedDataSource();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataView dv = new DataView(dt);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pgitems.DataSource = dv;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pgitems.AllowPaging = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pgitems.PageSize = 3;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pgitems.CurrentPageIndex = PageNumber;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (pgitems.PageCount &amp;gt; 1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptPages.Visible = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArrayList pages = new ArrayList();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; pgitems.PageCount; i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pages.Add((i + 1).ToString());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptPages.DataSource = pages;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptPages.DataBind();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptPages.Visible = false;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptItems.DataSource = pgitems;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rptItems.DataBind();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; void rptPages_ItemCommand(object source,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RepeaterCommandEventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PageNumber = Convert.ToInt32(e.CommandArgument) - 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadData();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/5360344605686800819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/repeater-control-with-paging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5360344605686800819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5360344605686800819'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/11/repeater-control-with-paging.html' title='Repeater control with paging'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-5493038488955259666</id><published>2009-10-29T23:35:00.000-07:00</published><updated>2010-01-26T07:25:20.742-08:00</updated><title type='text'>Adding ComboBox to datagrid view in windows</title><content type='html'>&lt;blockquote&gt;&lt;/blockquote&gt;&amp;nbsp;dataGridView1 .AutoGenerateColumns =false ;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlConnection con = new SqlConnection(&quot;User Id=sa; Password=server;Database=vamsi&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SqlDataAdapter da = new SqlDataAdapter(&quot;Select * from details&quot;, con);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSet ds = new DataSet();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; da.Fill(ds, &quot;details&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataGridView1.DataSource = ds.Tables[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataGridViewColumn column1 = new DataGridViewComboBoxColumn();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column1 .DataPropertyName =&quot;No&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column1 .Name =&quot;Number&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column1.ReadOnly = true;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataGridView1 .Columns.Add (column1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataGridViewColumn column2 =new DataGridViewTextBoxColumn();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column2.DataPropertyName =&quot;Name&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column2.Name =&quot;Name&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataGridView1 .Columns.Add (column2);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataGridViewColumn column3 =new DataGridViewTextBoxColumn();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column3.DataPropertyName =&quot;Age&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column3.Name =&quot;Age&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataGridView1.Columns.Add (column3);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataGridViewColumn column4 =new DataGridViewTextBoxColumn();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column4.DataPropertyName =&quot;City&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; column4.Name =&quot;City&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataGridView1 .Columns.Add (column4);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this .Controls.Add (dataGridView1);</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/5493038488955259666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/adding-combobox-to-datagrid-view-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5493038488955259666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/5493038488955259666'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/adding-combobox-to-datagrid-view-in.html' title='Adding ComboBox to datagrid view in windows'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-113817544972323842</id><published>2009-10-29T23:06:00.000-07:00</published><updated>2010-01-26T07:24:49.891-08:00</updated><title type='text'>passing multiple values using query string</title><content type='html'>&lt;asp:hyperlink &amp;nbsp;=&quot;&quot; id=&quot;HyperLink2&quot;&gt;&lt;asp:hyperlink id=&quot;HyperLink2&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NavigateUrl=&#39;&amp;lt;%# &quot;MyTest.aspx?id=&quot; + DataBinder.Eval(Container.DataItem, &quot;id&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&quot;&amp;amp;AssignedTask=&quot;+ DataBinder.Eval(Container.DataItem,&quot;assignedtask&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&quot;&amp;amp;WorkStatus=&quot;+ DataBinder.Eval(Container.DataItem,&quot;workstatus&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&quot;&amp;amp;description=&quot;+ DataBinder.Eval(Container.DataItem,&quot;description&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&quot;&amp;amp;remarks=&quot;+ DataBinder.Eval(Container.DataItem,&quot;remarks&quot;) %&amp;gt;&#39; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Runat=&quot;server&quot; EnableTheming=&quot;False&quot;&amp;nbsp; Font-Underline=&quot;False&quot; ToolTip=&#39;&amp;lt;%# DataBinder.Eval(Container.DataItem,&quot;id&quot;)+&quot; &quot; %&amp;gt;&#39;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ForeColor=&quot;Black&quot; Text=&#39;edit&#39; Font-Bold=&quot;False&quot; Font-Strikeout=&quot;False&quot;&amp;gt;&lt;/asp:hyperlink&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/asp:hyperlink&gt;</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/113817544972323842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/passing-multiple-values-using-query.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/113817544972323842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/113817544972323842'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/passing-multiple-values-using-query.html' title='passing multiple values using query string'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-8478332493329548595</id><published>2009-10-26T03:25:00.000-07:00</published><updated>2010-01-26T07:24:25.029-08:00</updated><title type='text'>Inserting images into database and retrieving images</title><content type='html'>public partial class Form1 : Form&lt;br /&gt;
{&lt;br /&gt;
MemoryStream ms;&lt;br /&gt;
DataSet dsRetrieve = new DataSet();&lt;br /&gt;
DataSet dsBindData = new DataSet();&lt;br /&gt;
string strUrl = &quot;&quot;;&lt;br /&gt;
&lt;br /&gt;
private void Form1_Load(object sender, EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
BLDataSave objBLDataSave=new BLDataSave ();&lt;br /&gt;
dsBindData = objBLDataSave.DataBind();&lt;br /&gt;
gvDataBind.DataSource = dsBindData.Tables[0].DefaultView;&lt;br /&gt;
}       &lt;br /&gt;
&lt;br /&gt;
private void btnSave_Click(object sender, EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
MLDataSave objMLDataSave = new MLDataSave();&lt;br /&gt;
objMLDataSave.sno = int .Parse (txtSno.Text);&lt;br /&gt;
objMLDataSave.sname = txtSname.Text;&lt;br /&gt;
objMLDataSave.classess = int .Parse (txtClass.Text);&lt;br /&gt;
ms = new MemoryStream();&lt;br /&gt;
pictureBox1.Image.Save(ms,ImageFormat.Jpeg);&lt;br /&gt;
byte[] data = new byte[ms.Length];&lt;br /&gt;
ms.Position = 0;&lt;br /&gt;
ms.Read(data, 0, Convert.ToInt32(ms.Length));&lt;br /&gt;
objMLDataSave.photo =  data ;           &lt;br /&gt;
if (btnSave.Text == &quot;Save&quot;)&lt;br /&gt;
{&lt;br /&gt;
BLDataSave objBLDataSave = new BLDataSave();&lt;br /&gt;
if (objBLDataSave.DataSave(objMLDataSave) &amp;gt; 0)&lt;br /&gt;
{&lt;br /&gt;
MessageBox.Show(&quot;inserted successfully&quot;);&lt;br /&gt;
Form1_Load(sender, e);&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
MessageBox.Show(&quot;insertion failed&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
private void btnRetrieve_Click(object sender, EventArgs e)&lt;br /&gt;
{           &lt;br /&gt;
MLDataSave objMLDataSave = new MLDataSave();&lt;br /&gt;
objMLDataSave.id  = int.Parse(txtRetrieve.Text);&lt;br /&gt;
BLDataSave objBLDataSave = new BLDataSave();&lt;br /&gt;
dsRetrieve = objBLDataSave.DataRetrieve(objMLDataSave);           &lt;br /&gt;
if (dsRetrieve.Tables[0].Rows.Count &amp;gt; 0)&lt;br /&gt;
{&lt;br /&gt;
txtSno.Text = dsRetrieve.Tables[0].Rows[0][&quot;sno&quot;].ToString();&lt;br /&gt;
txtSname.Text = dsRetrieve.Tables[0].Rows[0][&quot;sname&quot;].ToString();&lt;br /&gt;
txtClass.Text = dsRetrieve.Tables[0].Rows[0][&quot;class&quot;].ToString();&lt;br /&gt;
byte[] logo = (byte[])dsRetrieve.Tables[0].Rows[0][&quot;photo&quot;];&lt;br /&gt;
string strfn = Convert.ToString(DateTime.Now.ToFileTime());&lt;br /&gt;
FileStream fs = new FileStream(strfn, FileMode.CreateNew, FileAccess.Write);&lt;br /&gt;
fs.Write(logo, 0, logo.Length);&lt;br /&gt;
fs.Flush();&lt;br /&gt;
fs.Close();&lt;br /&gt;
pictureBox1.Image = Image.FromFile(strfn);&lt;br /&gt;
lblId.Text = dsRetrieve.Tables[0].Rows[0][&quot;id&quot;].ToString();&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
MessageBox.Show(&quot;Entered sno is not available &quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
btnSave.Text = &quot;Update&quot;;&lt;br /&gt;
}&lt;br /&gt;
private void btnbrowse_Click(object sender, EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
OpenFileDialog opg = new OpenFileDialog();&lt;br /&gt;
opg.Title = &quot;Select Image&quot;;&lt;br /&gt;
opg.Filter = &quot;Images (*.BMP;*.JPG;*.GIF;*.PNG;*.JPEG)|*.BMP;*.JPG;*.GIF;*.PNG;*.JPEG*&quot;;&lt;br /&gt;
opg.FilterIndex = 1;&lt;br /&gt;
opg.RestoreDirectory = true;&lt;br /&gt;
if (opg.ShowDialog() == DialogResult.OK)&lt;br /&gt;
strUrl = &quot;&quot;;&lt;br /&gt;
strUrl = opg.FileName;&lt;br /&gt;
if (strUrl != &quot;&quot;)&lt;br /&gt;
{&lt;br /&gt;
Bitmap bmp = new Bitmap(opg.FileName);&lt;br /&gt;
pictureBox1.Image = Image.FromFile(strUrl);&lt;br /&gt;
}           &lt;br /&gt;
}&lt;br /&gt;
private void txtRetrieve_KeyPress(object sender, KeyPressEventArgs e)&lt;br /&gt;
{&lt;br /&gt;
if (char.IsDigit(e.KeyChar) == false &amp;amp;&amp;amp; Convert.ToInt32(e.KeyChar) != 8)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
MessageBox.Show(&quot;Enter Numerics Only&quot;);&lt;br /&gt;
e.Handled = true;&lt;br /&gt;
}&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/8478332493329548595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/inserting-images-into-database-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/8478332493329548595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/8478332493329548595'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/inserting-images-into-database-and.html' title='Inserting images into database and retrieving images'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4402715403748333106.post-4504783279974113912</id><published>2009-10-25T05:40:00.000-07:00</published><updated>2010-01-26T07:23:53.583-08:00</updated><title type='text'>Hi</title><content type='html'>Hi ,This is vamsi Iam a .Net Programmer,I will be posting usefull posts on .Net</content><link rel='replies' type='application/atom+xml' href='http://ymicrosoft.blogspot.com/feeds/4504783279974113912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/hi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4504783279974113912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4402715403748333106/posts/default/4504783279974113912'/><link rel='alternate' type='text/html' href='http://ymicrosoft.blogspot.com/2009/10/hi.html' title='Hi'/><author><name>vamsikrish</name><uri>http://www.blogger.com/profile/15347817956969148620</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>