What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Help C# Programmers Pasok!!!

CM Pentatonics

Addict
Established
Joined
Feb 26, 2018
Messages
267
Reaction score
25
pano po ito gawin sa windows form? anong tool sa toolbox gagamitin?
Console.Write("enter num:");
int num = int.Parse(Console.ReadLine());

int[] arr = new int[num]

for (int i =0;i<num;i++)
{
Console.Write("enter value for index[{0}]",i);
arr = int.Parse(Console.ReadLine());
}

Gusto ko po sanang gawin manghihingi ako ng input sa user tapos depende sa kanya kung ilan ang iiinput nya.. gusto ko po yung toolbox na mag hohold ng lahat ng kanyang iiinput kahit madami. thanks hoping for an answer.. long live phc
 

ninjageda

Grasshopper
gamit ka inputbox gaya nung sa vb.net (from stackoverflow)
import mo yan using Microsoft.VisualBasic,

using Microsoft.VisualBasic;

taz gamitin mo n inputbox to get array size (first input)
string input = Interaction.InputBox("Prompt", "Title", "Default", -1, -1);

taz pwde mo ilagay din sa for loop to get sizes for each index
 
gamit ka inputbox gaya nung sa vb.net (from stackoverflow)
import mo yan using Microsoft.VisualBasic,

using Microsoft.VisualBasic;

taz gamitin mo n inputbox to get array size (first input)
string input = Interaction.InputBox("Prompt", "Title", "Default", -1, -1);

taz pwde mo ilagay din sa for loop to get sizes for each index
pano po sa visual studio? yan po ba yung datagrid view?
 

Trending Topics

Trending On This Forum

Unanswered Topics

Top