2017-06-30 18 views

答えて

0

あなたは、データの基本セルを読み込み、テキストとして挿入することができます[\ "" + SqlDataReaderTest [ "YouDataCell"]。ToStringメソッド()+ "\"]

string keyboard= "&reply_markup={\"keyboard\":["; 
string temp=""; 
while (SqlDataReaderTest.Read()) 
       { 
     temp+=(temp.length==0?"[\"":"],[\"")+SqlDataReaderTest["YouDataCell"].ToString()+"\"]"; 
       } 
keyboard+=temp+"}"; 

をあなたの(メッセージ+キーボード)を覚えて長さをする必要があります4000文字以内

関連する問題