我正在创建一个网站,当会话超时我想显示用户的用户名和时间,但我不知道热使用cookie的会话,例如存储在cookie中的用户名和会话超时时的用户名必须从cookie中恢复
我正在开发一个项目,我需要在 div 中添加拖放,然后我开始查看拖放库,这些库也应该适用于移动设备,并找到了一个名为Dragula 的库。
我试图在我的机器上克隆存储库。我下载了看起来像这样的 git,但问题是我无法从 GitHub 克隆特定的库,
在类MyClass(TransactionId和pnrno)中声明的字符串在按钮单击中不起作用
错误信息
名称(TransactionId和pnrno)在当前上下文中不存在
class MyClass
{
public string TransactionID { get; set; }
public string pnrno { get; set; }
public string trainno { get; set; }
public string dateofbooking { get; set; }
public string className { get; set; }
public string Quota { get; set; }
public string text { get; set; }
}
protected void btnsave_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(@"Data Source=logistics.jayom.org,1434;Initial Catalog=logistics_kl;User ID=kl_admin;Password=Admin@2222");
SqlCommand cmd = new SqlCommand("insert into testfbhv (TransactionId, pnrno) …Run Code Online (Sandbox Code Playgroud)