User Profile

Collapse

Profile Sidebar

Collapse
bish1
bish1
Last Activity: Aug 19 '12, 09:34 AM
Joined: Aug 9 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bish1
    replied to globally connecting with sql
    Thank you very much....
    See more | Go to post

    Leave a comment:


  • bish1
    replied to How to fill a datagrid with data in c#.net?
    in .NET
    Code:
    //object of dataadapter
    SqlDataAdapter adp=new SqlDataAdapter(); 
    
    // assign sqlquery to extract from database. refer previous //code for selecting data from db.
    adp.selectCommand=cmd;
    
    //object of dataset
    DataSet Ds=new DataSet();
    
    //filling dataset with records that exist in adapter
    adp.fill(ds,"tempTablename");
    
    //realeasing data adapter
    adp.dispose();
    ...
    See more | Go to post
    Last edited by Frinavale; Aug 20 '12, 01:41 PM. Reason: Added code tags

    Leave a comment:


  • bish1
    replied to globally connecting with sql
    M using C# for web desktop project

    Thanks for your kind respond.
    See more | Go to post

    Leave a comment:


  • bish1
    replied to Start Xml
    in XML
    Thanks a lot. Is notepad is sufficient for coding xml programme?
    See more | Go to post

    Leave a comment:


  • bish1
    started a topic Start Xml
    in XML

    Start Xml

    M tring to learn Xml I visited various sites to begin with xml. I Got lots of description regarding xml and I acquire little bit theoretical concept but I failed to code program in xml.

    So Please Please help me to start with xml and which software I have to install in my system. It will be very much kind for me if anybody help me to begin with xml
    See more | Go to post

  • bish1
    replied to How to fill a datagrid with data in c#.net?
    in .NET
    Include the following namespace in your code window
    Code:
    using System.Data.SqlClient;
    Write the following code in formload event or button click event
    Code:
    SqlConnection con=new SqlConnection();
    con.connectionString="Data Source=SqlserverName;initial catalog=databasename;user id=sqlusername;password=sqlpassword;integrated security=false";
    con.open();
    try
    {
      SqlCommand cmd=new SqlCommand();
    ...
    See more | Go to post
    Last edited by Frinavale; Aug 9 '12, 01:16 PM. Reason: Added code tags.

    Leave a comment:


  • bish1
    started a topic globally connecting with sql

    globally connecting with sql

    Can any body help me to define global connection in C#.net
    where to define and which file to open to define connection string and how to access global connection.

    I'll be very much thankful those who helped me to overcome my problem
    See more | Go to post
No activity results to display
Show More
Working...