Click here to Skip to main content
15,947,785 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to use splitter control ? Pin
PeteMcNamee4-Jul-07 17:27
PeteMcNamee4-Jul-07 17:27 
QuestionReading Contents from remote folder Pin
mfmaneef3-Jul-07 9:39
mfmaneef3-Jul-07 9:39 
Questioninserting xml fragment in an xml element Pin
goresus3-Jul-07 9:09
goresus3-Jul-07 9:09 
AnswerRe: inserting xml fragment in an xml element Pin
Abisodun3-Jul-07 9:47
Abisodun3-Jul-07 9:47 
GeneralRe: inserting xml fragment in an xml element Pin
goresus3-Jul-07 10:27
goresus3-Jul-07 10:27 
GeneralRe: inserting xml fragment in an xml element Pin
Abisodun3-Jul-07 11:36
Abisodun3-Jul-07 11:36 
QuestionUsing a propertyGrid control Pin
gapfulgence3-Jul-07 8:46
gapfulgence3-Jul-07 8:46 
QuestionHow to create many Gridviews Bind to a dataset Dynamically on run time. [modified] Pin
kibromg3-Jul-07 8:36
kibromg3-Jul-07 8:36 
Hello developers,

I am kind of stuck.Please if you can help me with the following

How to create a grid at run time in side a for loop?
hence the number of the grids on a page is equals to the number of times a for loop runs.
My data table contains list od "Id"s from users selection using a checkbox.

Ex. for(int i=0;i<=dt.rows.count;i++)
{
execute a stored procedure with Id parameter.
ds.fill(sda);

gridview gv +i=new GridView();
gv+i.datasource=ds.tables[0];
gv+i.bind();

}
Hence the total number of the grid on a page is equal to dt.rows.count

Please advice

What i mean is to create gridviews dynamically on run time based on user input?

Email : Kibrommail@yahoo.com
Thanks




-- modified at 15:56 Tuesday 3rd July, 2007
QuestionConverting a variable to a method so it can be run (somewhat like Eval could do). Pin
Azad Giordano Ratzki3-Jul-07 7:09
professionalAzad Giordano Ratzki3-Jul-07 7:09 
AnswerRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Le centriste3-Jul-07 7:13
Le centriste3-Jul-07 7:13 
AnswerRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Dario Solera3-Jul-07 7:20
Dario Solera3-Jul-07 7:20 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Azad Giordano Ratzki3-Jul-07 7:52
professionalAzad Giordano Ratzki3-Jul-07 7:52 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Le centriste4-Jul-07 2:09
Le centriste4-Jul-07 2:09 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Dario Solera4-Jul-07 2:51
Dario Solera4-Jul-07 2:51 
GeneralRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Le centriste4-Jul-07 3:29
Le centriste4-Jul-07 3:29 
AnswerRe: Converting a variable to a method so it can be run (somewhat like Eval could do). Pin
Azad Giordano Ratzki3-Jul-07 7:47
professionalAzad Giordano Ratzki3-Jul-07 7:47 
QuestionUsing a 2D array as a DataSource Pin
Dewald3-Jul-07 6:54
Dewald3-Jul-07 6:54 
AnswerRe: Using a 2D array as a DataSource Pin
AdRoGe3-Jul-07 7:38
AdRoGe3-Jul-07 7:38 
Questionconnecting to sql questions Pin
crash8933-Jul-07 6:14
crash8933-Jul-07 6:14 
AnswerRe: connecting to sql questions Pin
Le centriste3-Jul-07 7:15
Le centriste3-Jul-07 7:15 
AnswerRe: connecting to sql questions Pin
mfmaneef3-Jul-07 9:53
mfmaneef3-Jul-07 9:53 
QuestionProblem with 2 forms Pin
mcaos3-Jul-07 6:09
professionalmcaos3-Jul-07 6:09 
AnswerRe: Problem with 2 forms Pin
Luc Pattyn3-Jul-07 6:30
sitebuilderLuc Pattyn3-Jul-07 6:30 
GeneralRe: Problem with 2 forms Pin
mcaos4-Jul-07 0:16
professionalmcaos4-Jul-07 0:16 
GeneralRe: Problem with 2 forms Pin
Luc Pattyn4-Jul-07 0:29
sitebuilderLuc Pattyn4-Jul-07 0:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.