Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
QuestionMath troubles Pin
KaptinKrunch9-Sep-05 15:02
KaptinKrunch9-Sep-05 15:02 
AnswerRe: Math troubles Pin
S. Senthil Kumar9-Sep-05 22:19
S. Senthil Kumar9-Sep-05 22:19 
AnswerRe: Math troubles Pin
Member 19610719-Sep-05 23:04
Member 19610719-Sep-05 23:04 
AnswerRe: Math troubles Pin
Andy Brummer10-Sep-05 6:33
sitebuilderAndy Brummer10-Sep-05 6:33 
AnswerRe: Math troubles Pin
KaptinKrunch10-Sep-05 8:39
KaptinKrunch10-Sep-05 8:39 
GeneralRe: Math troubles Pin
leppie10-Sep-05 10:04
leppie10-Sep-05 10:04 
QuestionRowCount of a DataTable Pin
surfman199-Sep-05 14:14
surfman199-Sep-05 14:14 
AnswerRe: RowCount of a DataTable Pin
Expert Coming9-Sep-05 14:18
Expert Coming9-Sep-05 14:18 
GeneralRe: RowCount of a DataTable Pin
Andy Brummer9-Sep-05 14:49
sitebuilderAndy Brummer9-Sep-05 14:49 
AnswerRe: RowCount of a DataTable Pin
Gary Thom9-Sep-05 14:19
Gary Thom9-Sep-05 14:19 
AnswerRe: RowCount of a DataTable Pin
surfman199-Sep-05 14:20
surfman199-Sep-05 14:20 
QuestionDeserialize Error Pin
dicas9-Sep-05 13:50
dicas9-Sep-05 13:50 
AnswerRe: Deserialize Error Pin
Guffa9-Sep-05 13:56
Guffa9-Sep-05 13:56 
GeneralRe: Deserialize Error Pin
Daniel132410-Sep-05 2:21
Daniel132410-Sep-05 2:21 
QuestionHow to make DebugView see my program Pin
Susan Hernandez9-Sep-05 12:37
Susan Hernandez9-Sep-05 12:37 
AnswerRe: How to make DebugView see my program Pin
Andy Brummer9-Sep-05 15:01
sitebuilderAndy Brummer9-Sep-05 15:01 
GeneralRe: How to make DebugView see my program Pin
Susan Hernandez12-Sep-05 6:00
Susan Hernandez12-Sep-05 6:00 
AnswerRe: How to make DebugView see my program Pin
S. Senthil Kumar9-Sep-05 22:27
S. Senthil Kumar9-Sep-05 22:27 
GeneralRe: How to make DebugView see my program Pin
Susan Hernandez12-Sep-05 6:06
Susan Hernandez12-Sep-05 6:06 
QuestionData Table Error Pin
Expert Coming9-Sep-05 11:48
Expert Coming9-Sep-05 11:48 
//Create the variables and arrays need only for Creating the table<br />
string[] skills = new string[1];<br />
skills[0] = "attack";<br />
//skills[1] = "strength";<br />
//skills[2] = "defence";<br />
<br />
//The creation of the table that shows the user their stats from the database<br />
//Dynamic Creation of the datatable<br />
<br />
///Also sets up the new datatable<br />
DataTable dtshowskills = new DataTable("USkills");<br />
<br />
DataColumn userSkill = new DataColumn("Skill");<br />
dtshowskills.Columns.Add("userSkill");<br />
DataColumn userLevel = new DataColumn("Level");<br />
dtshowskills.Columns.Add("userLevel");<br />
<br />
foreach (string skill in skills)<br />
{<br />
DataRow drskill = dtshowskills.NewRow();<br />
drskill["userSkill"] = skill;<br />
drskill["userLevel"] = 0;<br />
dtshowskills.Rows.Add(drskill);<br />
}<br />
<br />
dgSkills.DataSource = dtshowskills;<br />
dgSkills.DataBind();



//This is on my actual web page<br />
<asp:DataGrid ID="dgSkills" Runat="server" />


I don't understand DataTables, and I am going to do some reading up on them, but for now, someone please help me. I had help on most of it a while ago, any help is appricated.
AnswerRe: Data Table Error Pin
Andy Brummer9-Sep-05 12:26
sitebuilderAndy Brummer9-Sep-05 12:26 
GeneralRe: Data Table Error Pin
Expert Coming9-Sep-05 12:41
Expert Coming9-Sep-05 12:41 
GeneralRe: Data Table Error Pin
Alomgir Miah9-Sep-05 13:37
Alomgir Miah9-Sep-05 13:37 
AnswerRe: Data Table Error Pin
Guffa9-Sep-05 13:38
Guffa9-Sep-05 13:38 
QuestionRe: HELP Pin
Expert Coming9-Sep-05 13:53
Expert Coming9-Sep-05 13:53 

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.