C# 名称htmlMessageBody在当前上下文中不存在
我正在尝试发送包含datagridview内容的消息。我犯了以下错误 当前上下文中不存在名称“htmlMessageBody”C# 名称htmlMessageBody在当前上下文中不存在,c#,C#,我正在尝试发送包含datagridview内容的消息。我犯了以下错误 当前上下文中不存在名称“htmlMessageBody” 您需要定义htmlMessageBody: private string htmlMessageBody(DataGridView dataGridView) { // Code goes here } 检查这些SO问题以了解一些示例实现:和。那么,是什么让您认为htmlMessageBody的名称应该存在于当前上下文中? private string htm
您需要定义
htmlMessageBody
:
private string htmlMessageBody(DataGridView dataGridView)
{
// Code goes here
}
检查这些SO问题以了解一些示例实现:和。那么,是什么让您认为htmlMessageBody的名称应该存在于当前上下文中?
private string htmlMessageBody(DataGridView dataGridView)
{
// Code goes here
}