我让Asp.net核心和gRPC在browser...but上工作,现在我得到了:
info: Grpc.AspNetCore.Server.ServerCallHandler[2]
Request content-type of 'application/grpc-web' is not supported.
有没有办法追踪到这件事?
我试图删除excel工作表使用for循环,除了选择的工作表由用户使用下拉菜单在asp.net网页应用程序。所以,我用c#编写了一个代码。
int index = DropDownList1.SelectedIndex;
int max = DropDownList1.Items.Count;
int i=3;
for (i=1; i <= max; i++)
{
if (i != index+1)
{
Excel.Worksheet worksheets = (Excel.Worksheet)xlWorkBook.Sheets[i];
wo