esquima Posted November 22, 2007 at 01:22 PM Report Share #149360 Posted November 22, 2007 at 01:22 PM pessoal como e que posso aumentar o tamanho de algumas colunas de uma gridview? Link to comment Share on other sites More sharing options...
Tiago Salgado Posted November 22, 2007 at 01:38 PM Report Share #149361 Posted November 22, 2007 at 01:38 PM Estas a adicionar as colunas em runtime ou em design mode ? Link to comment Share on other sites More sharing options...
esquima Posted November 22, 2007 at 01:58 PM Author Report Share #149368 Posted November 22, 2007 at 01:58 PM tiago desculpa a minha ignorancia..tou mesmo a aprender asp agora..runtime e por codigo n e?? Link to comment Share on other sites More sharing options...
Tiago Salgado Posted November 22, 2007 at 02:39 PM Report Share #149379 Posted November 22, 2007 at 02:39 PM tiago desculpa a minha ignorancia..tou mesmo a aprender asp agora..runtime e por codigo n e?? Hum, sim, mas o código que falo é do code-behind (c#, vb.net, etc) Link to comment Share on other sites More sharing options...
esquima Posted November 22, 2007 at 02:45 PM Author Report Share #149380 Posted November 22, 2007 at 02:45 PM sim tou a fazer por vb.net...so que nao tou a conseguir atribuir o tamanho as colunas...meto esso codigo dentro do page load certo?? Link to comment Share on other sites More sharing options...
Tiago Salgado Posted November 22, 2007 at 05:56 PM Report Share #149438 Posted November 22, 2007 at 05:56 PM Mostra-me o código que estas a por. Link to comment Share on other sites More sharing options...
esquima Posted November 22, 2007 at 06:43 PM Author Report Share #149452 Posted November 22, 2007 at 06:43 PM Me.GridProj.Columns(1).ItemStyle.Width = 500 Link to comment Share on other sites More sharing options...
Tiago Salgado Posted November 23, 2007 at 12:33 PM Report Share #149628 Posted November 23, 2007 at 12:33 PM Se tiveres no minimo 2 colunas, se a tua gridview se chamar GridProj, então está correcto esse código 😉 Link to comment Share on other sites More sharing options...
esquima Posted November 23, 2007 at 01:18 PM Author Report Share #149638 Posted November 23, 2007 at 01:18 PM o unico problema e que tava a carregar na page load e n me tava a carregar da maneira que eu queria..mas pus na row databound e deu certo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now