icon
Leave a message

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Wednesday, 30 May 2012

Out and Ref Keyword in C#.Net

Different Of out and ref Keyword in .net........................  both use for multiple return in single method means by using this we can  return multiple value or multiple output the  main  difference  between out and ref  are  that for ref we have  to intilize and out no need for intilize using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace out_ref { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public void sum(int i, int j, out int ad, out int su, out int mu, out int di) { ad...

Tuesday, 15 May 2012

How to indexing GridView record in runtime....

// how  to  indexing  gridviw record protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)      {    if (e.Row.RowType == DataControlRowType.DataRow)          {      ((Label)e.Row.Cells[0].Controls[1]).Text = (Convert.ToInt32(e.Row.RowIndex)+1).ToString(); ...