嘿,我正在通过three.js加载FBX动画,我想要的是在鼠标滚轮上播放动画。
答案 0 :(得分:0)
我已成功完成以下代码:
void GetInventory()
{
using (SqlConnection con = new SqlConnection(Helper.GetConnection()))
{
con.Open();
string query = @"SELECT * FROM InventoryTable";
using (SqlCommand cmd = new SqlCommand(query, con))
{
using (SqlDataAdapter sda = new SqlDataAdapter(cmd))
{
DataTable dt = new DataTable();
sda.Fill(dt);
dgvItem.DataSource = dt;
}
}
}
}