I right now have an array that I would like to display on my aspx page. When making my table on my aspx I need to have it so that it takes the size of my array regardless of how many rows. I am not sure how to do this, besides looping through my array to find values/size. How would I push my array to display the contents on my webpage?
Code Behind:
protected void Page_Load(object sender, EventArgs e)
{
Service1 myService = new Service1();
string passed_value = Request.QueryString["parameter"];
//runs to get array
//returns array
string[][] array;
array = myService.Get_Array(passed_value);
}
array for example:
@[0][0]123
@[0][1]C:\file\file_name.txt
@[0][2]file_name
and so on..
aspx just has a div for the table, I know how to make a table but not one that is dynamic. Sorry it's not much.
<div class="table">
</div>
GridView.