Click here to Skip to main content
15,917,061 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can I use a connection string stored in the web.config file Pin
VenkataRamesh7-Nov-07 4:18
VenkataRamesh7-Nov-07 4:18 
GeneralRe: How can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 4:34
Big Ralph7-Nov-07 4:34 
GeneralRe: How can I use a connection string stored in the web.config file Pin
VenkataRamesh7-Nov-07 4:42
VenkataRamesh7-Nov-07 4:42 
GeneralRe: How can I use a connection string stored in the web.config file Pin
Big Ralph7-Nov-07 4:51
Big Ralph7-Nov-07 4:51 
GeneralRe: How can I use a connection string stored in the web.config file Pin
VenkataRamesh7-Nov-07 4:58
VenkataRamesh7-Nov-07 4:58 
QuestionRe: How can I use a connection string stored in the web.config file Pin
Big Ralph8-Nov-07 1:35
Big Ralph8-Nov-07 1:35 
Questionways to create table Pin
alexfromto7-Nov-07 2:56
alexfromto7-Nov-07 2:56 
AnswerRe: ways to create table Pin
Michael Sync7-Nov-07 4:08
Michael Sync7-Nov-07 4:08 
alexfromto wrote:
3. the table will consist of 2 cell.


you mean, two columns?

I think that those facts are pretty okay with DataGrid. I have done something like that with Datagrid in ASP.NET 1.1...

alexfromto wrote:
1. the table should have 5 rows as default


you can bind with the empty dataset to your datagrid.

alexfromto wrote:
2. the table should have ability to add/remove rows if needed


For adding row, I used the footer template in Datagrid.
For removing row, I added the "Delete" link with command in grid template.

alexfromto wrote:
a. Role - dynamic drop-down (data will be populated from db)
b. Name - text field


ItemTemplate is pretty okay for you. it allows you to add any web control (including dropdown ctl and textbox control) in Datagrid.

alexfromto wrote:
4. adding/removing rows should not affect data entered in other fields. Basically if I filled all 5 rows and want to add sixth row my data will be there with new row added. The same goes for removing rows


Yeah. It is very okay with Datagrid item template. but if you do some action, the postback will be occured.





Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

GeneralRe: ways to create table Pin
alexfromto7-Nov-07 4:30
alexfromto7-Nov-07 4:30 
GeneralRe: ways to create table Pin
alexfromto7-Nov-07 11:23
alexfromto7-Nov-07 11:23 
QuestionIs there a way to check the eBay API Services offline? Pin
Rocky#7-Nov-07 2:55
Rocky#7-Nov-07 2:55 
AnswerRe: Is there a way to check the eBay API Services offline? Pin
Rocky#7-Nov-07 3:19
Rocky#7-Nov-07 3:19 
QuestionFile Upload to another server [modified] Pin
GaryWoodfine 7-Nov-07 1:57
professionalGaryWoodfine 7-Nov-07 1:57 
Questionhow to call the code behind function in source file of javascipt Pin
Sonia Gupta7-Nov-07 1:31
Sonia Gupta7-Nov-07 1:31 
AnswerRe: how to call the code behind function in source file of javascipt Pin
Pete O'Hanlon7-Nov-07 2:03
mvePete O'Hanlon7-Nov-07 2:03 
Questioncheck box list Pin
rameshdontagani7-Nov-07 1:30
rameshdontagani7-Nov-07 1:30 
AnswerRe: check box list Pin
J4amieC7-Nov-07 1:56
J4amieC7-Nov-07 1:56 
AnswerRe: check box list Pin
John-ph7-Nov-07 5:00
John-ph7-Nov-07 5:00 
Questioncustom validator problem Pin
N a r e s h P a t e l7-Nov-07 1:10
N a r e s h P a t e l7-Nov-07 1:10 
AnswerRe: custom validator problem Pin
Michael Sync7-Nov-07 4:44
Michael Sync7-Nov-07 4:44 
Questionhyperlink control Pin
Sonia Gupta7-Nov-07 0:55
Sonia Gupta7-Nov-07 0:55 
AnswerRe: hyperlink control Pin
Christian Graus7-Nov-07 1:01
protectorChristian Graus7-Nov-07 1:01 
GeneralRe: hyperlink control [modified] Pin
Sonia Gupta7-Nov-07 1:17
Sonia Gupta7-Nov-07 1:17 
GeneralRe: hyperlink control Pin
Christian Graus7-Nov-07 1:25
protectorChristian Graus7-Nov-07 1:25 
GeneralRe: hyperlink control Pin
J4amieC7-Nov-07 1:49
J4amieC7-Nov-07 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.