Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to check the existence of node in TreeNode array Pin
ABitSmart10-Feb-09 23:58
ABitSmart10-Feb-09 23:58 
QuestionC# and Window API Pin
Selvi Moies10-Feb-09 19:22
Selvi Moies10-Feb-09 19:22 
AnswerRe: C# and Window API Pin
Henry Minute10-Feb-09 19:38
Henry Minute10-Feb-09 19:38 
QuestionBinding data to the DataGridView Pin
mrithula810-Feb-09 18:47
mrithula810-Feb-09 18:47 
AnswerRe: Binding data to the DataGridView Pin
Henry Minute10-Feb-09 19:33
Henry Minute10-Feb-09 19:33 
GeneralRe: Binding data to the DataGridView Pin
mrithula810-Feb-09 19:48
mrithula810-Feb-09 19:48 
GeneralRe: Binding data to the DataGridView Pin
Henry Minute10-Feb-09 20:05
Henry Minute10-Feb-09 20:05 
AnswerRe: Binding data to the DataGridView Pin
Ramkithepower10-Feb-09 19:51
Ramkithepower10-Feb-09 19:51 
You can do something like this

DataSet ds = new DataSet();
ds.ReadXml("XML File Path");
DataColumn colPK= ds.Tables["tablename"].Columns["PKColumn"];
datagrid1.DataSource = ds;
datagrid1.DataBind();

You can design the datagrid to bind the values as required. if you want to add the fields in listbox

int i=ds.Tables["tablename"].Rows.count
int j;

for(j=0;j<i;j++)>
{
listbox.item.add(ds.Tables["tablename"].Rows[j]["colname"]);
}


syntax may not be correct. check into it... Smile | :)
QuestionProgress of FTP upload or download Pin
Radhakrishnan G.10-Feb-09 18:41
Radhakrishnan G.10-Feb-09 18:41 
Questionlog incoming sms to a form, then can be deleted one by one Pin
irsalina10-Feb-09 18:34
irsalina10-Feb-09 18:34 
AnswerRe: log incoming sms to a form, then can be deleted one by one Pin
Christian Graus10-Feb-09 18:43
protectorChristian Graus10-Feb-09 18:43 
QuestionError in Hashtable with arrayList Pin
r aa j10-Feb-09 18:26
r aa j10-Feb-09 18:26 
AnswerRe: Error in Hashtable with arrayList Pin
Christian Graus10-Feb-09 18:42
protectorChristian Graus10-Feb-09 18:42 
QuestionC++ dll in C# Pin
kk.tvm10-Feb-09 18:05
kk.tvm10-Feb-09 18:05 
AnswerRe: C++ dll in C# Pin
Christian Graus10-Feb-09 18:43
protectorChristian Graus10-Feb-09 18:43 
QuestionPaging DataList Control Pin
ferronrsmith10-Feb-09 16:41
ferronrsmith10-Feb-09 16:41 
QuestionASP.NET multiuser dataset shared problem Pin
Ramkithepower10-Feb-09 14:44
Ramkithepower10-Feb-09 14:44 
AnswerRe: ASP.NET multiuser dataset shared problem Pin
N a v a n e e t h10-Feb-09 15:28
N a v a n e e t h10-Feb-09 15:28 
GeneralRe: ASP.NET multiuser dataset shared problem Pin
Ramkithepower10-Feb-09 15:34
Ramkithepower10-Feb-09 15:34 
GeneralRe: ASP.NET multiuser dataset shared problem Pin
Guffa10-Feb-09 17:57
Guffa10-Feb-09 17:57 
GeneralRe: ASP.NET multiuser dataset shared problem Pin
Ramkithepower10-Feb-09 21:33
Ramkithepower10-Feb-09 21:33 
GeneralRe: ASP.NET multiuser dataset shared problem Pin
Guffa10-Feb-09 23:42
Guffa10-Feb-09 23:42 
QuestionHDD Serial Number Pin
Socheat.Net10-Feb-09 14:23
Socheat.Net10-Feb-09 14:23 
AnswerRe: HDD Serial Number Pin
ABitSmart10-Feb-09 14:43
ABitSmart10-Feb-09 14:43 
GeneralRe: HDD Serial Number Pin
Socheat.Net10-Feb-09 15:07
Socheat.Net10-Feb-09 15:07 

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.