Click here to Skip to main content
15,906,106 members
Home / Discussions / C#
   

C#

 
GeneralRe: Argh, no matter how long I stare at this, I don't get it (XML Serialization related) [modified] Pin
ThisIsMyUserName220-Jun-06 10:57
ThisIsMyUserName220-Jun-06 10:57 
Questionregain control Pin
donkaiser20-Jun-06 5:59
donkaiser20-Jun-06 5:59 
AnswerRe: regain control Pin
Nicholas Butler20-Jun-06 6:08
sitebuilderNicholas Butler20-Jun-06 6:08 
AnswerRe: regain control Pin
Jun Du20-Jun-06 6:13
Jun Du20-Jun-06 6:13 
GeneralRe: regain control Pin
donkaiser20-Jun-06 6:18
donkaiser20-Jun-06 6:18 
GeneralRe: regain control [modified] Pin
Judah Gabriel Himango20-Jun-06 10:18
sponsorJudah Gabriel Himango20-Jun-06 10:18 
AnswerRe: regain control Pin
darkelv21-Jun-06 0:02
darkelv21-Jun-06 0:02 
QuestionDatagrid with Dataset and Multiple Tables Pin
Leon van Wyk20-Jun-06 5:49
professionalLeon van Wyk20-Jun-06 5:49 
I have datagrid with a dataset set as the DataSource. I have added a X number of tables to the dataset, but when I view my datagrid it shows all the tables in the datagrid but I can only view the first table. The other tables don't show when I click or navigate onto them.

How do I get it to open or view the other tables?

<br />
DataSet dataset = new DataSet("Sms Report");<br />
dataset.Tables.Add(sendItemsTable);<br />
<br />
packagesTables = new DataTable[sendItemsTable.Rows.Count];<br />
for(int i = 0; i < distinctPackagesTable.Rows.Count; i++)<br />
{<br />
   packagesTables[0] = //..Data that I query;<br />
}<br />
<br />
if(packagesTables.Length > 0)<br />
 dataset.Tables.AddRange(packagesTables);<br />
<br />
dataset.AcceptChanges();<br />
<br />
dataGrid.DataSource = dataset;<br />
dataGridStyle1.MappingName = dataGrid.DataMember;<br />
dataGrid.Expand(0);<br />


Leon v Wyk
QuestionAutomating Team [modified] Pin
Ista20-Jun-06 5:31
Ista20-Jun-06 5:31 
Questioncode protection for MSIL Pin
yigalef20-Jun-06 5:14
yigalef20-Jun-06 5:14 
AnswerRe: code protection for MSIL Pin
led mike20-Jun-06 5:24
led mike20-Jun-06 5:24 
Questiontimer loop from vb5 Pin
donkaiser20-Jun-06 4:48
donkaiser20-Jun-06 4:48 
AnswerRe: timer loop from vb5 [modified] Pin
led mike20-Jun-06 5:15
led mike20-Jun-06 5:15 
Questiondynamic control Pin
abhaygalande20-Jun-06 4:28
abhaygalande20-Jun-06 4:28 
AnswerRe: dynamic control Pin
Josh Smith20-Jun-06 4:59
Josh Smith20-Jun-06 4:59 
QuestionGet values from a Listview [modified] Pin
Willem_Le_Roux20-Jun-06 3:43
Willem_Le_Roux20-Jun-06 3:43 
AnswerRe: Get values from a Listview Pin
Drew McGhie20-Jun-06 4:19
Drew McGhie20-Jun-06 4:19 
AnswerRe: Get values from a Listview Pin
Josh Smith20-Jun-06 4:30
Josh Smith20-Jun-06 4:30 
GeneralRe: Get values from a Listview [modified] Pin
Willem_Le_Roux20-Jun-06 23:02
Willem_Le_Roux20-Jun-06 23:02 
Questionlist files in directory ordered by creation time Pin
valiovalio20-Jun-06 3:29
valiovalio20-Jun-06 3:29 
AnswerRe: list files in directory ordered by creation time Pin
Guffa20-Jun-06 3:42
Guffa20-Jun-06 3:42 
QuestionHow to delete word document [modified] Pin
ayyp20-Jun-06 2:48
ayyp20-Jun-06 2:48 
Questionc# Brain teaser Pin
izakfick20-Jun-06 2:47
izakfick20-Jun-06 2:47 
AnswerRe: c# Brain teaser Pin
Wjousts20-Jun-06 3:05
Wjousts20-Jun-06 3:05 
AnswerRe: c# Brain teaser Pin
J4amieC20-Jun-06 3:07
J4amieC20-Jun-06 3: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.