GeekInterview.com
Answered Questions

How do you update a dataset in ADO.Net and how do you update database through dataset

Asked By: sbehera02 | Asked On: Dec 14th, 2006

Answered by: brajesh gautam on: Feb 6th, 2012

In ADO.Net if you use the disconnect mode then local copy are already update but if we want to update a database type this program in visual studio sqlconncection = new sqlconection (" connection str...

Answered by: lata negi on: Nov 4th, 2011

Code
  1. SqlConnection conn = new SqlConnection("Server=__; DataBase=__; UID: __; Password: __");
  2. DataAdapter da;
  3. DataSet ds = new DataSet();
  4. da = new SqlDataAdapter("select * from employee", conn);
  5. ds = da.fill(ds);
  6. GridView.DataSource=ds;
  7. GridView.DataBind();
  8.  

How to clear screen using c# console application...?Like clrscr() in c++..!

Asked By: Kannan | Asked On: Nov 22nd, 2006

Answered by: Anuj Malik on: Oct 5th, 2012

Console.Clear(); its work absolute in c# "c# using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication9 { class stud...

Answered by: amreenkhader on: Jan 20th, 2012

To clear the screen we can use the clrscr() command followed by ; to clear the input given to the program

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: