public static string str1;
public static string str2;
public static string str3;
public static string gets3pending()
{
string id = "";
string Path = "";
SqlConnection con = Database.GetConnection();
SqlCommand com = new SqlCommand("Select id,Path from tblShareFile where status=0", con);
DataSet ds = new DataSet();
DataTable dt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(com);
da.Fill(dt);
StringBuilder str = new StringBuilder();
if (dt.Rows.Count > 0)
{
foreach (DataRow dr in dt.Rows)
{
str.Append(dr["id"].ToString());
str.Append(" ,");
str.Append(dr["Path"].ToString());
}
}
return str.ToString();