如何在消息框中传递日期和会话 [英] how to pass the date and session in message box

查看:52
本文介绍了如何在消息框中传递日期和会话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  int  iRow =  0 ; 
.datagridView.RowCount = 24 ;
for int i = 0 ; i < 6 ; i ++)
{
DateTime newDate = dt_startweek.Value.AddDays(ⅰ);
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 = 所选课程在日期和会话中分配;





如何通过消息中的日期和会话。



日期和会话想要显示日期和会话。

解决方案

< blockquote>请改进你的问题......


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.

解决方案

please improve your question...


这篇关于如何在消息框中传递日期和会话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆