Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
C#
int iRow = 0;
           this.datagridView.RowCount = 24;
           for (int i = 0; i < 6; i++)
           {
               DateTime newDate = dt_startweek.Value.AddDays(i);
               for (int newIndex = 1; newIndex <=4; newIndex++)
               {
                   datagridView[0, iRow].Value = newDate.ToString("dd MMM");
                   datagridView[1, iRow].Value = newIndex.ToString();
                   datagridView.Rows[iRow].Height = 25;
                   iRow = iRow + 1;
               }
           }

string msg  = "selected course is allocated in date and session";


how to pass the date and session in the message.

in date and session want to show date and session.
Posted
Updated 16-Jan-13 19:06pm
v3
Comments
Dee_Bee 16-Jan-13 23:54pm    
What do you mean by 'message box'?
Suvabrata Roy 17-Jan-13 0:00am    
As you mentioned session so i think this is a ASP.Net question and are you want to know how you can popup a message box from code behind.
[no name] 17-Jan-13 1:09am    
Please specify your requirement exactly.

1 solution

please improve your question...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900