Click here to Skip to main content
15,900,906 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDoubt in regular expression Pin
janani1313-May-09 18:44
janani1313-May-09 18:44 
AnswerRe: Doubt in regular expression Pin
N a v a n e e t h13-May-09 18:57
N a v a n e e t h13-May-09 18:57 
QuestionDoubt about the path of the File? Pin
Subin Alex13-May-09 18:40
Subin Alex13-May-09 18:40 
AnswerRe: Doubt about the path of the File? Pin
Ramesh Swaminathan13-May-09 18:49
Ramesh Swaminathan13-May-09 18:49 
AnswerRe: Doubt about the path of the File? Pin
N a v a n e e t h13-May-09 18:54
N a v a n e e t h13-May-09 18:54 
Questionweb.config identity impersonate - pwd in web.config [modified] Pin
devvvy13-May-09 17:38
devvvy13-May-09 17:38 
QuestionPlaying With The Club Starter Kit Again... [modified] Pin
Roger Wright13-May-09 17:16
professionalRoger Wright13-May-09 17:16 
QuestionInsert empty datarow into datatable Pin
cocoonwls13-May-09 17:03
cocoonwls13-May-09 17:03 
Hi all,

I am knowing how to insert datarow into datatable by using method below:

DataTable dt = new DataTable();   
DataRow myNewRow;   
myNewRow = dt.NewRow();   
myNewRow[0] = 1;   
myNewRow[1] = "johndoe" ;   
dt.Rows.Add(myNewRow);  


But in my case, i have upto 20 columns for a row data.Then i don't want to use the For...Loop to declare each column's value. So, may i know its there have any others alternative to insert a empty row into datatable?

Note: Actually at the end, i will bound this datatable to a dropdwonlist.


any helps are welcome
Thanks in advance

regards
cocoonwls
AnswerRe: Insert empty datarow into datatable Pin
cocoonwls13-May-09 17:46
cocoonwls13-May-09 17:46 
Questionprint customised footer on every page on client machine while printing Pin
Anand Desai13-May-09 11:37
Anand Desai13-May-09 11:37 
AnswerRe: print customised footer on every page on client machine while printing Pin
Christian Graus13-May-09 11:45
protectorChristian Graus13-May-09 11:45 
GeneralRe: print customised footer on every page on client machine while printing Pin
Anand Desai13-May-09 12:12
Anand Desai13-May-09 12:12 
QuestionProblem with Persmission for Creating website in IIS Dynamically [modified] Pin
vurugonda13-May-09 10:12
vurugonda13-May-09 10:12 
Questiondeterminte async postback trgger event Pin
C. L. Phillip13-May-09 10:00
C. L. Phillip13-May-09 10:00 
AnswerRe: determinte async postback trgger event Pin
MidwestLimey13-May-09 10:19
professionalMidwestLimey13-May-09 10:19 
Questionmenu items Pin
hahii13-May-09 9:45
hahii13-May-09 9:45 
AnswerRe: menu items Pin
AlexeiXX313-May-09 9:56
AlexeiXX313-May-09 9:56 
GeneralRe: menu items Pin
hahii13-May-09 11:36
hahii13-May-09 11:36 
GeneralRe: menu items Pin
AlexeiXX313-May-09 11:42
AlexeiXX313-May-09 11:42 
GeneralRe: menu items Pin
hahii13-May-09 13:59
hahii13-May-09 13:59 
QuestionBaffling behaviour with IE7 & Jquery Pin
bVagadishnu13-May-09 9:18
bVagadishnu13-May-09 9:18 
AnswerRe: Baffling behaviour with IE7 & Jquery Pin
bVagadishnu13-May-09 11:03
bVagadishnu13-May-09 11:03 
QuestionPlease Help Me in GridView Pin
mohanbalal13-May-09 8:05
mohanbalal13-May-09 8:05 
AnswerRe: Please Help Me in GridView Pin
Christian Graus13-May-09 9:07
protectorChristian Graus13-May-09 9:07 
GeneralRe: Please Help Me in GridView Pin
mohanbalal13-May-09 9:57
mohanbalal13-May-09 9:57 

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.