🔒 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
  • 574
    Views
  • 2
    Participants
Last reply from:
FourBytes

Trending Topics

Online now

Members online
381
Guests online
7,440
Total visitors
7,821

Forum statistics

Threads
2,338,670
Posts
29,304,896
Members
1,124,520
Latest member
Deleted_2804838
Back
Top