Archive for February, 2005

Today while i saw the video on msdnTv for the system.transaction in ado.net 2.0 http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20050203NETMC/manifest.xml  .Really a reqd one what i found interesting is for more then 2 database we need not have to depend on msdtc and the scope of the transaction.

here is the one of the greate blog on the same of Angel Saenz-Badillos http://blogs.msdn.com/angelsb/

Further the ans regd TRansaction fallback you can found here JIm’s blog http://pluralsight.com/blogs/jimjohn/

 

 

While searching for the egg i got the rat..its really like that .However this link is from hanselman’s blog for having a must tools for .net devs.have a look.

http://www.hanselman.com/blog/content/radiostories/2003/09/09/scottHanselmansUltimateDeveloperAndPowerUsersToolsList.html

 

Though i format my system still not operable yet due to a mini mistake as my sysadmnin remove me as a admin of my system.

good that somehow i back to blog and to my group http://groups.msn.com/-netindiagroup again.

However found something typical xml in oops link http://www.objs.com/OSA/wom.htm in such a time when the never die discussion (at least for now)for the SOA vs OOPS is going on.Really it looks like a puzzle to decide the boundary  between the services and objects.

soon i ll post few links and my view on same.

 

 

Getchar in sahil’s post

Posted: February 1, 2005 in Uncategorized

While going through the  blog of sahil i had gone through his post on getchars look the link

http://codebetter.com/blogs/sahil.malik/archive/2005/01/28/48887.aspx?Pending=true

Here is my commnets on the same:-

hi sahil,

i think you might have misguided.as per your logic the same would not be compiled with error but you have given the wrong inputs.Below is the code kindly look i have given test data only.

 

using (SqlConnection conn = new SqlConnection("constr here"))
   {
    SqlCommand cmd = conn.CreateCommand();
    cmd.CommandText = "Select * from emp";
    conn.Open();
    SqlDataReader dr = cmd.ExecuteReader();
    dr.Read();
    long i;
    char[] chr=new char[4];
    i=dr.GetChars(1,1,chr,1,1);
    //char c = dr.GetChar(1);
    MessageBox.Show(i.ToString());
   }

may be i am wrong.kindly put ur comments on same.

I was indeed wrong considering getchar as getchars();see the commnets….

thanks
shreeman