Hi, i've got a list with nodes with this structure:

    char namefield[30];
    char tam[3];
    char type[1];

i want to find and element with the find function from alghorithm class but i want to do it with the namefield property of the item, the find function has an item to find as a parameter but the thing is that i want to send a property of the node instead of the node itself..


Hi i nedd to update a datatable binded in a gridview here is the code:

protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
        ds.Tables[0].Rows[e.RowIndex]["n1"] = Convert.ToInt32(((TextBox)(this.GridView1.Rows[e.RowIndex].Cells[3].Controls[0])).Text);
        GridView1.EditIndex = -1;
        GridView1.DataSource = ds.Tables[0];

The problem is that when i change a value in the cell 3 and i click update it returns to the initial value, it doesent update the cell in the datatable.. thanks


Hi, I have a field in my table called foto it saves the url on disk of a picture and i'm trying to bind it like this..

pictureBox2.DataBindings.Add("ImageLocation", tabla.DefaultView, "foto");

tabla is a datatable..

the field saves an url like this: C:\Users\Public\Pictures\Sample Pictures\Hortensias.jpg

but it doesn't work, picturebox show a white image with a red x in the middle..



Man i have a Question, if i do my own control, i put a shape and a textbox avobe and thats it, but how can i handle the binding stuff.. i do it in this way textEmaile.DataBindings.Add("Text", tabla.DefaultView, "emaile"); where tabla is a Datatable, but in a user control i would have to make my own methods and i don't know how i can handle the binding..



Here's my problem.. I'm working in Vs2010 C# with Tabcontrols and shapes from the VbPowerPack, so when i try to drop any textbox above the shape in the tab 2 it goes to the tab 1, i already tried selecting the 2nd tab before drop it and nothing, same thing, it's really annoying, if somebody know how to fix this please let me know, if you didn't understand please tell me so i can explain better, i'm a Spanish speaker..