Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
QuestionRe: Connecting to SQL db from several computers Pin
Chesnokov Yuriy18-Nov-09 2:08
professionalChesnokov Yuriy18-Nov-09 2:08 
AnswerRe: Connecting to SQL db from several computers Pin
Shameel18-Nov-09 1:44
professionalShameel18-Nov-09 1:44 
AnswerRe: Connecting to SQL db from several computers Pin
Chesnokov Yuriy18-Nov-09 2:10
professionalChesnokov Yuriy18-Nov-09 2:10 
QuestionBinding treeview[urgent plz] Pin
@nisha 2n17-Nov-09 23:35
@nisha 2n17-Nov-09 23:35 
AnswerRe: Binding treeview[urgent plz] Pin
Ashfield18-Nov-09 1:15
Ashfield18-Nov-09 1:15 
AnswerRe: Binding treeview[urgent plz] Pin
Shameel18-Nov-09 1:49
professionalShameel18-Nov-09 1:49 
GeneralRe: Binding treeview[urgent plz] Pin
@nisha 2n18-Nov-09 17:01
@nisha 2n18-Nov-09 17:01 
GeneralRe: Binding treeview Pin
@nisha 2n18-Nov-09 17:55
@nisha 2n18-Nov-09 17:55 
hai...Shameel.....yah i tried ..but again it displaying in hierarchy manner...i dont want Dr's name displaying in another same hospital name....
(actuly i given in Data table ,,in same hospital name with 2 Dr's names....but...its displaying in 2 different treenodes...i want 2 show in single hospital name with 2 Dr's names)

Apolo|Dr.jhon
Image|Dr.Krish
Care |Dr.Ram
Apolo|Dr.sri
Image|Dr.prabhu
Care |Dr.san


public void TreeviewBind()
{

query= "Select * from Clinic_tbl";
da = new SqlDataAdapter(query, con);
DataSet ds = new DataSet();
da.Fill(ds, "Clinic");
foreach (DataRow row in ds.Tables[0].Rows)
{
rootNode = treeView1.Nodes.Add(row[0].ToString());
rootNode.Nodes.Add(row[1].ToString());

}

}


i hope u understod my lang..im new for Dotnet...this is my 1st project.........thanquSmile | :)
GeneralRe: Binding treeview Pin
Shameel18-Nov-09 21:24
professionalShameel18-Nov-09 21:24 
AnswerRe: Binding treeview[urgent plz] Pin
Not Active18-Nov-09 2:12
mentorNot Active18-Nov-09 2:12 
GeneralRe: Binding treeview[urgent plz] Pin
@nisha 2n18-Nov-09 17:02
@nisha 2n18-Nov-09 17:02 
GeneralRe: Binding treeview[urgent plz] Pin
Not Active18-Nov-09 17:23
mentorNot Active18-Nov-09 17:23 
Questionuser defined color change in c# Pin
vikas shukla17-Nov-09 20:06
vikas shukla17-Nov-09 20:06 
AnswerRe: user defined color change in c# Pin
dan!sh 17-Nov-09 20:58
professional dan!sh 17-Nov-09 20:58 
QuestionNeed help with text editing preaty please Pin
Member 414586317-Nov-09 19:42
Member 414586317-Nov-09 19:42 
AnswerRe: Need help with text editing preaty please Pin
Mycroft Holmes17-Nov-09 20:32
professionalMycroft Holmes17-Nov-09 20:32 
AnswerRe: Need help with text editing preaty please Pin
_Maxxx_18-Nov-09 18:03
professional_Maxxx_18-Nov-09 18:03 
QuestionCustom Window Control Pin
Nisha Agrawal17-Nov-09 19:35
Nisha Agrawal17-Nov-09 19:35 
AnswerRe: Custom Window Control Pin
dan!sh 17-Nov-09 21:02
professional dan!sh 17-Nov-09 21:02 
AnswerRe: Custom Window Control Pin
The Man from U.N.C.L.E.17-Nov-09 21:10
The Man from U.N.C.L.E.17-Nov-09 21:10 
AnswerRe: Custom Window Control Pin
Shameel17-Nov-09 21:46
professionalShameel17-Nov-09 21:46 
AnswerRe: Custom Window Control Pin
Nisha Agrawal17-Nov-09 22:37
Nisha Agrawal17-Nov-09 22:37 
GeneralRe: Custom Window Control Pin
dan!sh 17-Nov-09 22:57
professional dan!sh 17-Nov-09 22:57 
GeneralRe: Custom Window Control Pin
Nisha Agrawal18-Nov-09 16:05
Nisha Agrawal18-Nov-09 16:05 
GeneralRe: Custom Window Control Pin
_Maxxx_18-Nov-09 18:09
professional_Maxxx_18-Nov-09 18:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.