Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Ahmed R El Bohoty

@Ahmed R El Bohoty
About
Posts
35
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IniWrkflIP.aspx Not exists ?
    A Ahmed R El Bohoty

    I'm already enabled Infopath Forms Services but the page not found the layout. I'm use Sp 2010 ( Enterprise )

    I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that. -------------------------------- Discover Other .... http://www.islamHouse.com

    SharePoint help com question

  • IniWrkflIP.aspx Not exists ?
    A Ahmed R El Bohoty

    HI , the IniWrkflIP.aspx page Not exists so when i try to deploy infopath form it's doesn't work how i can solve this problem ?

    I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that. -------------------------------- Discover Other .... http://www.islamHouse.com

    SharePoint help com question

  • flickers with draw plots from serial port ?
    A Ahmed R El Bohoty

    use onPaint event and it will solve your problem.

    I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that. -------------------------------- Discover Other .... http://www.islamHouse.com

    C# question graphics design help

  • How i control in some contents in the page
    A Ahmed R El Bohoty

    i am depend on the membership provider that are ready in 2005

    I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that. -------------------------------- Discover Other .... http://www.islamHouse.com

    ASP.NET csharp asp-net com help tutorial

  • How i control in some contents in the page
    A Ahmed R El Bohoty

    Can i find any article that talk about this ?

    I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that. -------------------------------- Discover Other .... http://www.islamHouse.com

    ASP.NET csharp asp-net com help tutorial

  • How i control in some contents in the page
    A Ahmed R El Bohoty

    Hi , i make administration web page to my site where i make permissions to all users but in the page level i want to control in some contents in the page , for example the edit button appear to admin but not appear in normal user . i know the general idea but i can not do it: ============================== Then you can identify as part of the Page_Load event on any page whether a user has logged in or not, and what their roles are (administrator, guest etc). If their role is administrator and you have your 'edit' button as an asp.net control you can make it visible in the Page_Load event. All the best,

    I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that. -------------------------------- Discover Other .... http://www.islamHouse.com

    ASP.NET csharp asp-net com help tutorial

  • Problem with bind data in textbox
    A Ahmed R El Bohoty

    It does not work or how i can do something like this ?

    Discover Other .... http://www.islamHouse.com

    Database com data-structures help

  • Problem with bind data in textbox
    A Ahmed R El Bohoty

    hi, i note that when i retrieve data and bind it to textbox that when i want to bind to each textbox i do the same thing , so i think to make method where i pass array of the name of textbox and it will bind automatic for each textbox and here is what i try to do

    //Step 1 :
    SqlCommand cmd = new SqlCommand();
    cmd.CommandText = "student_SelectAll";
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Connection = cn;
    SqlDataAdapter adapter = new SqlDataAdapter();
    adapter.SelectCommand = cmd;

            //Step 2 :
            TextBox \[\] txtb={textBox1,textBox2,textBox3,textBox4,textBox5,textBox6,textBox7,textBox8};
    
            //Step 3:
            IDataParameter\[\] param = adapter.GetFillParameters();
            for (int i = 0; i <param.length;>            {
                cmd.Parameters.Add(param\[i\].ParameterName,param\[i\].DbType).Value = txtb\[i\].Text;
            }
    

    Discover Other .... http://www.islamHouse.com

    Database com data-structures help

  • one questions about Builder Pattern
    A Ahmed R El Bohoty

    i have one questions about Builder Pattern ..why we need product class where director class construct the component of product and when i want to produce any product i will implement IBuilder interface and write the behavior of each component and pass the concrete Builder to director without need the product and i will produce also different representation , plz give me the benefit of product class and real world example if u can ?

    Discover Other .... http://www.islamHouse.com

    Design and Architecture com regex tutorial question

  • Pass Table Name Build Your Form ?
    A Ahmed R El Bohoty

    hi, Can I find any component that do this task "Pass Table Name Build Your Form " and give admin ability to change the type of control and hide any control as he want ?

    C# question

  • what is the benefit of schema over DTD ?
    A Ahmed R El Bohoty

    what is the benefit of schema over DTD,and simple example to show the different if available?

    XML / XSL question database xml tutorial

  • How i Can add Css menu to master page ?
    A Ahmed R El Bohoty

    Thanks AlexeiXX3 it work good :rose::rose:

    ASP.NET php css com question

  • Problem : Retrive Data with ref table
    A Ahmed R El Bohoty

    go to the Subject , i explain the problem and code also.

    Database security help

  • How i Can add Css menu to master page ?
    A Ahmed R El Bohoty

    thanks the steps i do : 1. i add theme and css file into theme 2. i take copy from the css code and paste it into the new file 3. add in the tage of the page Theme="ThemeName" 4. i am sure that the pass is right so what is the wrong , if u can help me , plz do ?

    ASP.NET php css com question

  • Problem : Retrive Data with ref table
    A Ahmed R El Bohoty

    but why ? and what is the benefit if i do ?

    Database security help

  • Problem : Retrive Data with ref table
    A Ahmed R El Bohoty

    I Make some changes in code and data displayed but not displayed in normal form but each data in column displayed in row and no header text to columns.and the question also if i make another method to update data , my work is to do changes in destination array and compare the id that hold in array with the record in db and apply changes or wat?

    public ArrayList RetriveStdentInfo()
    {
    SqlCommand cmd = new SqlCommand();
    cmd.Connection = myCon;
    cmd.CommandText = "dbo.StoredProcedure2";
    //cmd.Parameters=ParameterDirection.ReturnValue;
    cmd.CommandType = CommandType.StoredProcedure;
    myCon.Open();
    IDataReader reader = cmd.ExecuteReader(CommandBehavior.CloseConnection);
    ArrayList seqCat = new ArrayList();
    ArrayList seqStudent = new ArrayList();
    ArrayList destnation = new ArrayList();
    int prevCatId = 0;
    while (reader.Read())
    {

            MyStudent std = new MyStudent();
            std.Stid = reader.GetInt32(0);
            std.Sname = reader.GetString(reader.GetOrdinal("stname"));
            std.Catgid = reader.GetInt32(reader.GetOrdinal("Catgid"));
            if (prevCatId != reader.GetInt32(reader.GetOrdinal("Catgid")))
            {
                CatgBL cat = new CatgBL();
                cat.CatgName = reader.GetString(reader.GetOrdinal("CatgName"));
                seqCat.Add(cat);
                prevCatId = reader.GetInt32(reader.GetOrdinal("Catgid"));
            }
            seqStudent.Add(std);
           
        }
      
     `   foreach ( MyStudent var in seqStudent)         {             destnation.Add((int)var.Catgid);             destnation.Add((string)var.Sname);             destnation.Add((int)var.Stid);         }         foreach (CatgBL var in seqCat)         {             destnation.Add((int)var.Cid);             destnation.Add((string)var.CatgName);         }          return destnation;`
    }
    
    Database security help

  • How i Can add Css menu to master page ?
    A Ahmed R El Bohoty

    How i Can add Css menu to master page ? , here is is the code but image of menu not appear in menu http://www.cssmenumaker.com/builder...fo.php?menu=040

    ASP.NET php css com question

  • Problem : Retrive Data with ref table
    A Ahmed R El Bohoty

    Thanks for u to be interested to help me to correct code to work well but i say when i post the question " if i make all table in one class it work" and what motivate me to find solution and make each classes are separated is that when i make all attributes in one class this make problem if i want to display the data of any table only without display other so if i do this when i add object, the other attributes which i skip from class give default values to skipped values by zero so this force me to make one class for the state of joining when i want to display record that have a relation with other table and make one when i want to display the data of one table. :) ,thanks again for u and may Allah bless u for u effort.

    Database security help

  • Problem : Retrive Data with ref table
    A Ahmed R El Bohoty

    Yes

    Database security help

  • Problem : Retrive Data with ref table
    A Ahmed R El Bohoty

    Yes, u can bind 2 dimensional array to DataGrid and i found article in codeproject that talk about it. from opinion when i make 2 arraylist and store all in one arraylist to make centralize store so all data will be in one arraylist but i can not reach to the methodology to do this because its very important to do this code. http://www.codeproject.com/KB/database/BindArrayGrid.aspx?fid=31160&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26

    Database security help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups