sujatha_nowduru
posted
6 posts
since
Jun 04, 2004
from
|
|
Debug
|
|
|
|
|
|
|
|
|
|
|
Can u please tell me how to walk thru the code in asp.net. I kenw by using F5. But i wanted to see the output step by step.I am trying to connect the database.I connected 3 tables into a dataset. I just wanted to know how to get the ouput of the 3 tables inthe consloe screen.
here is my code.
namespace testado
{
class Class1
{
static void Main(string[] args)
{
SqlConnection conn = new SqlConnection("Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind;Data Source=PAVILION");
SqlDataAdapter da1=new SqlDataAdapter("select * from Customers",conn);
SqlDataAdapter da2=new SqlDataAdapter("select * from Orders",conn );
SqlDataAdapter da4=new SqlDataAdapter("select * from Products",conn );
DataSet ds=new DataSet();
SqlCommandBuilder bldr1=new SqlCommandBuilder(da1);
SqlCommandBuilder bldr2=new SqlCommandBuilder(da2);
SqlCommandBuilder bldr4=new SqlCommandBuilder(da4);
da1.Fill(ds,"Customers");
Console.WriteLine("Loaded data from customers table into DataSet");
da2.Fill(ds,"Orders");
Console.WriteLine("Loaded data from Orders table into DataSet");
da4.Fill(ds,"Products");
Console.WriteLine("Loaded data from Products table into DataSet");
conn.Close();
}
|
|
|
|
|
|
LINKIN_12
posted
7 posts
since
Jul 29, 2004
from
|
|
Re: Debug
|
|
|
|
|
|
|
|
|
|
|
have you tried F10 or F11?
|
|
|
|
|
|
Tammiecummins
posted
2 posts
since
Nov 23, 2004
from
|
|
Help in the Cobol area
|
|
|
|
|
|
|
|
|
|
|
I'm a recruiter and I need help on how to recruit for Cobol Developers.
What kind of questions to ask. This is new for me.
I need Developers in the banking industry and Cobol, IMB ,AS400, Sun, and Micro Focus. Any help would be great. Please email me at Tammiecummins@spherion.com
|
|
|
|
|
|