Good job i have no idea how to code, willing to teach?
K i have coded quite allot for now here is my basic coding:
( for those who dont know what Medewerkers means: "Employees" )
[php]
public int counterBezoekerArray = 0;
public int i_1 = 0;
public int i_2 = 0;
public int i_3_CountPage = 0;
facebookDirectoryDataContext FBAccs = new facebookDirectoryDataContext();
protected override void CreateChildControls()
{
}
public override void RenderControl(HtmlTextWriter writer)
{
Table<Badge> ACC = FBAccs.Badges;
Badge b = new Badge();
/*String[] Member = (from accounts in ACC orderby accounts.Bezoeker select accounts).ToString[(b.Bezoeker.Length)]();
foreach (int i in (Member.To))
{
}*/
foreach (char text in b.Bezoeker)
{
counterBezoekerArray++;
}
//FOR EACH!!!!!!
List<Badge> Member = (from accounts in ACC orderby accounts.Bezoeker select accounts).ToList();
/*foreach (int i in (Member.To))
{
}*/
//int lwgt =Member.Count;
//string[] blah = Member.ToString[Member];
LinkButton[] Medewerkers = new LinkButton[counterBezoekerArray];
char Medewerkers2 = Convert.ToChar("Medewerkers2_" + i_1 + "_Click");
if (counterBezoekerArray > 0)
{
Medewerkers[i_1] = new LinkButton();
Medewerkers[i_1].Text = Member[i_2].Bezoeker;
char Medewerkers2_ = Convert.ToChar("Medewerkers2_");
char _Click = Convert.ToChar("_Click");
Medewerkers[i_1].Click += new EventHandler((Medewerkers2_ + i_1 + _Click));
Controls.Add(Medewerkers[i_1]);
counterBezoekerArray--;
i_1++;
i_2++;
i_3_CountPage++;
}
}
[/php]
the thing that doesnt want to co-operate is this line:
i need an EventHandler Value to change because i can change it back to:Code:Medewerkers[i_1].Click += new EventHandler((Medewerkers2_ + i_1 + _Click));
Medewerkers[i_1].Click += new EventHandler(Medewerkers_Click);
but every new button will overwrite it... so it aint possible to acces it.
i tried EventHandler Medewerkers2 = ... mothods with string/char/ new EventHandler.
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button
Good job i have no idea how to code, willing to teach?
only C# tut i have now is an tut for basic form apps and such @ the C# section.
and i needed help :3 the code works fornow i think 0 error's i can build it though my webpart doesnt really get attached to the xml page Web.config
when im done in 3 months (1month has past) ill create some webpart developers tutorials. ;D
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button
/double post Solved though the another mistory occured when i solved it (child controls where empty)...over @ C# section...
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button