About Me


Hi, I’m from Bangalore, India and publish “infynet.wordpress.com” to share my words and knowledge with you what I have learned and what i known in .NET and other programming languages. Started  “infynet.wordpress.com” in 2010 to help those who want to learn .NET and other languages. I like to handle complexity in project during development process.
Likes others bloggers, I would like to receive your ideal comments.
To contact me, Please email “kumarmunendra@hotmail.com”.

7 thoughts on “About Me

  1. do you have any experience with directshow/codecs? if yes i will be needing help. just reply me on my email address.
    Thanks

  2. Sir,
    I needed your help, I wanted the code yo move next, previous and last and first to move the records fro database,
    My front end is vb.net 2008 with C# and back end is SQL server 2005.
    i am also having one more problem that whenever I am displaying the records from database. It is showing me the last records and not the first one…
    Here is my code to display the records

    string qry = “Select * from VBRecords” ;
    SqlCommand cmd = new SqlCommand(qry, conn);
    conn.Open();
    SqlDataReader dr = cmd.ExecuteReader();
    if (dr.HasRows)
    {
    while (dr.Read())
    {
    textBox1.Text = dr[0].ToString();
    textBox2.Text = dr[1].ToString();
    textBox3.Text = dr[2].ToString();
    textBox4.Text = dr[3].ToString();
    textBox5.Text = dr[4].ToString();
    textBox6.Text = dr[5].ToString();
    textBox7.Text = dr[6].ToString();
    textBox8.Text = dr[7].ToString();
    textBox9.Text = dr[8].ToString();
    textBox10.Text = dr[9].ToString();
    textBox11.Text = dr[10].ToString();
    textBox12.Text = dr[11].ToString();
    textBox13.Text = dr[12].ToString();
    textBox14.Text = dr[13].ToString();
    textBox15.Text = dr[14].ToString();
    textBox16.Text = dr[15].ToString();
    }
    MessageBox.Show(“DONE”);
    }

    else
    {
    MessageBox.Show(“not found”);
    }

    conn.Close();

    • Code for move the record first

           
      i = 0;
                  string qry = "select * from customer";
                  SqlConnection con = new SqlConnection(connection);
                  SqlDataAdapter da;
                  DataSet ds = new DataSet();
                  da = new SqlDataAdapter(qry, con);
                  da.Fill(ds, "customer");
                      textBox1.Text = ds.Tables["customer"].Rows[i][0].ToString();
                  textBox2.Text = ds.Tables["customer"].Rows[i][1].ToString();
                  textBox3.Text=ds.Tables["customer"].Rows[i][2].ToString();
                  textBox4.Text = ds.Tables["customer"].Rows[i][3].ToString();
      //customer is the table name in database.
      //declare int i=0 as global
      

      Code for move record previous

           
                 string qry = "select * from customer";
                  SqlConnection con = new SqlConnection(connection);
                  SqlDataAdapter da;
                  DataSet ds = new DataSet();
                  da = new SqlDataAdapter(qry, con);
                  da.Fill(ds, "customer");
      
                  if (i <= 0)
                  {
                      MessageBox.Show("no more records");
      
                  }
                  else
                  {
                      i -= 1;
                      textBox1.Text = ds.Tables["customer"].Rows[i][0].ToString();
                      textBox2.Text = ds.Tables["customer"].Rows[i][1].ToString();
                      textBox3.Text = ds.Tables["customer"].Rows[i][2].ToString();
                      textBox4.Text = ds.Tables["customer"].Rows[i][3].ToString();
                  }  
      

      code for move record next

           
                  string qry = "select * from customer";
                  SqlConnection con = new SqlConnection(connection);
                  SqlDataAdapter da;
                  DataSet ds=new DataSet();
                  da = new SqlDataAdapter(qry, con);
                  da.Fill(ds, "customer");
      
                  if (i >= ds.Tables["customer"].Rows.Count)
                  {
                      MessageBox.Show("no more records");
      
                  }
                  else
                  {
                      
                      textBox1.Text = ds.Tables["customer"].Rows[i][0].ToString();
                      textBox2.Text = ds.Tables["customer"].Rows[i][1].ToString();
                      textBox3.Text = ds.Tables["customer"].Rows[i][2].ToString();
                      textBox4.Text = ds.Tables["customer"].Rows[i][3].ToString();
                      i += 1;
                  }
      

      code for move the record last

           
              string qry = "select * from customer";
              SqlConnection con = new SqlConnection(connection);
              SqlDataAdapter da;
              DataSet ds = new DataSet();
              da = new SqlDataAdapter(qry, con);
              da.Fill(ds, "customer");
              i = ds.Tables["customer"].Rows.Count-1;
              textBox1.Text = ds.Tables["customer"].Rows[i][0].ToString();
              textBox2.Text = ds.Tables["customer"].Rows[i][1].ToString();
              textBox3.Text = ds.Tables["customer"].Rows[i][2].ToString();
              textBox4.Text = ds.Tables["customer"].Rows[i][3].ToString();
      
  3. sir,

    hi,
    can u help me? i have a small project about local area networking.
    my problem is i want to have a server compile on c# with a 5 button that once clicked it will minimized or maximize other c# windowsform located to the other 5 computer..each button on the server side form is dedicated to anyone of the five remote pc..if you can send me a sample source code in a windows base form c# its better.
    then we gonna pay for consultation and the source code written in visual studeo 2008 c# window base…

    ric@q12w3.com

  4. Sir, I am a B.Tech Final student I became a huge fan of yours and by taking inspiration from you I also started my blog in this and hopefully after 1 or 2 years I would successfully help the students like me, today I took my first look at this website to read your article on database connection and believe it was an fabulous learning experience !!!!!!!!! Thank you sir

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s