Ejemplo n.º 1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        string ngoid = Request.QueryString["id"];
        NGOs objngo = new NGOs();
        objngo = objngo.getNGODetails(ngoid);
        objngo.NGOName = txtbrandname.Text;
        objngo.NGODescription = txtdiscption.InnerText;
        objngo.Website = txtwebsite.Text;
        objngo.FacebookPage = facebook.Text;
        objngo.TwitterPage = Twitter.Text;
        objngo.YoutubeChannel = Youtube.Text;
        objngo.GooglePlus = GooglePlus.Text;
        objngo.Blog = Blog.Text;
        objngo.Flicker = Flickr.Text;
        objngo.Website = txtwebsite.Text;
        objngo.FourSquareAccount = FoursquareAccount.Text;
        //objngo.BrandCategoryID = ddlcategory.SelectedValue;
        objngo.NGODescription = txtdiscption.InnerText;
        objngo.AllowsCommentsOnWebsite = "0";

        string str = objngo.UpdateNGO(objngo);
    }
Ejemplo n.º 2
0
 public void status()
 {
     NGOs objbrand = new NGOs();
     string type = Request.QueryString["dl"];
     string ngoid = Request.QueryString["id"];
     objbrand.UpdateNGO(int.Parse(ngoid), int.Parse(type));
 }