Datagrid editable en asp.net (vb.net)

yrifka Messages postés 13 Date d'inscription jeudi 29 avril 2010 Statut Membre Dernière intervention 21 juillet 2010 - 20 juil. 2010 à 11:58
yrifka Messages postés 13 Date d'inscription jeudi 29 avril 2010 Statut Membre Dernière intervention 21 juillet 2010 - 21 juil. 2010 à 09:05
Bonjour
je veux savoir S.V.P comment rendre un datagrid editable ? ( je travaille en asp.ent avec vb.net )

3 réponses

nhervagault Messages postés 6063 Date d'inscription dimanche 13 avril 2003 Statut Membre Dernière intervention 15 juillet 2011 37
20 juil. 2010 à 16:30
Salut,

http://www.eggheadcafe.com/articles/20060513.asp
http://aspalliance.com/47
C'est en c# mais le principe est le meme si il faut

La gridview vue est plus approprié (.net 2.0)
et la listview peut aussi repondre (.net 3.5)
0
yrifka Messages postés 13 Date d'inscription jeudi 29 avril 2010 Statut Membre Dernière intervention 21 juillet 2010
21 juil. 2010 à 09:02
merci pour ta réponse, j'essaye de consulter ce site mais on m'affiche "404 not found " :)
0
yrifka Messages postés 13 Date d'inscription jeudi 29 avril 2010 Statut Membre Dernière intervention 21 juillet 2010
21 juil. 2010 à 09:05
j'essaye mintenant de travailler avec EO.web.grid
et voici mon code :


<eo:Grid ID="Grid1" runat="server" BorderColor = "Black" BackColor = "AliceBlue" BorderStyle ="Double" AllowNewItem="True" EnableKeyboardNavigation="True"
Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" GridLines="Both" Height="330px" Style="position: relative" DataTable="tbl" GridLineColor="Black" BorderWidth="30px" ForeColor="Black">

<eo:GridItemStyleSet>
</eo:GridItemStyleSet>

<Columns>

<eo:TextBoxColumn DataType="String" HeaderText="Colonne1" Name="C1">
<CellStyle CssText="TEXT-ALIGN: center; BACKGROUND-COLOR: silver" />
</eo:TextBoxColumn>
<eo:TextBoxColumn DataType="String" HeaderText="Colonne2" Name="C2">
</eo:TextBoxColumn>
<eo:TextBoxColumn DataType="String" HeaderText="Colonne3" Name="C3">
</eo:TextBoxColumn>
<eo:TextBoxColumn DataType="String" HeaderText="Colonne4" Name="C4">
</eo:TextBoxColumn>
</Columns>
<ColumnHeaderHoverStyle CssText="background-color:#00c0c0;border-bottom-color:blue;border-bottom-style:solid;border-left-color:blue;border-left-style:solid;border-right-color:blue;border-right-style:solid;border-top-color:blue;border-top-style:solid;color:#c000c0;" />
<ColumnHeaderTextStyle CssText="background-color:#8080ff;border-bottom-color:blue;border-left-color:blue;border-right-color:blue;border-top-color:blue;color:#00c000;" />
<ColumnTemplates>
<eo:TextBoxColumn>

</eo:TextBoxColumn>
</ColumnTemplates>

</eo:Grid>




mais si j'exécute j'obtient un carreau bleu sans les colonnes ni les lignes malgré j'ai mis la propriété GridLine à Both !!!
0
Rejoignez-nous