🔒 Closed C# Programmers Pasok!!!

Status
Not open for further replies.

FourBytes

Honorary Poster
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
 
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?
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 546
    Views
  • 2
    Participants
Last reply from:
FourBytes

Trending Topics

Online now

Members online
390
Guests online
1,695
Total visitors
2,085

Forum statistics

Threads
2,315,348
Posts
29,182,154
Members
1,183,549
Latest member
siuleduardo
Back
Top