cmd.CommandType = CommandType.Text
cn.Open
da = new SqlDataAdapter(cmd
da.Fill(dt = new DataTable
cn.Close();
for (int i = 0; i < dt.Rows.Count; i++)
{
Literal1.Text += ""+dt.Rows[i]["notes"].ToString()+""+ "+"By User:" + dt.Rows[i["user_id"].ToString();+""+""+"At:+ dt.Rows[i]["notesdatetime"].ToString()+"";
}
No comments:
Post a Comment