Click here to Skip to main content
16,005,141 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDisplaying filetype icon in Gridview Pin
Banjo Ayorinde2-May-08 2:44
Banjo Ayorinde2-May-08 2:44 
AnswerRe: Displaying filetype icon in Gridview Pin
eyeseetee2-May-08 3:08
eyeseetee2-May-08 3:08 
Questionusin asp.net c# or vb insert multiple rows into sql server 2005 Pin
Sarfaraj Ahmed2-May-08 1:36
Sarfaraj Ahmed2-May-08 1:36 
AnswerRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
Rajesh_K_Sharma2-May-08 2:35
Rajesh_K_Sharma2-May-08 2:35 
GeneralRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
Vasudevan Deepak Kumar2-May-08 2:39
Vasudevan Deepak Kumar2-May-08 2:39 
GeneralRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
N a v a n e e t h2-May-08 3:26
N a v a n e e t h2-May-08 3:26 
GeneralRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
Sarfaraj Ahmed2-May-08 4:12
Sarfaraj Ahmed2-May-08 4:12 
AnswerRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
N a v a n e e t h2-May-08 3:30
N a v a n e e t h2-May-08 3:30 
Sarfaraj Ahmed wrote:
I am trying to develop a online order project. When customer add item then it item information will save into session data table.


This is not a good design. You can keep the user's items in database. When user places order, remove from this table. It would be more efficient than session.

Sarfaraj Ahmed wrote:
all 5 items into orderDetails table using one insert statement


Lop through datatable records, form insert query, don't execute it inside the loop. When loop ends, execute the query. So you will get all the records inserted.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
Sarfaraj Ahmed2-May-08 4:05
Sarfaraj Ahmed2-May-08 4:05 
GeneralRe: usin asp.net c# or vb insert multiple rows into sql server 2005 Pin
Sarfaraj Ahmed2-May-08 4:08
Sarfaraj Ahmed2-May-08 4:08 
QuestionHow to find out previous month Pin
Lijo Rajan2-May-08 1:07
Lijo Rajan2-May-08 1:07 
AnswerRe: How to find out previous month Pin
Hesham Amin2-May-08 1:32
Hesham Amin2-May-08 1:32 
GeneralRe: How to find out previous month Pin
Lijo Rajan2-May-08 1:40
Lijo Rajan2-May-08 1:40 
QuestionProtected eventhandlers for controls Pin
Zoltan Balazs2-May-08 0:57
Zoltan Balazs2-May-08 0:57 
AnswerRe: Protected eventhandlers for controls Pin
SomeGuyThatIsMe2-May-08 2:13
SomeGuyThatIsMe2-May-08 2:13 
GeneralRe: Protected eventhandlers for controls Pin
Zoltan Balazs2-May-08 2:48
Zoltan Balazs2-May-08 2:48 
GeneralRe: Protected eventhandlers for controls Pin
SomeGuyThatIsMe2-May-08 2:53
SomeGuyThatIsMe2-May-08 2:53 
Questionscript error Pin
rajkumar.32-May-08 0:32
rajkumar.32-May-08 0:32 
AnswerRe: script error Pin
Vasudevan Deepak Kumar2-May-08 0:32
Vasudevan Deepak Kumar2-May-08 0:32 
AnswerRe: script error Pin
rahul.net112-May-08 0:40
rahul.net112-May-08 0:40 
AnswerRe: script error Pin
J a a n s2-May-08 1:26
professionalJ a a n s2-May-08 1:26 
Questionpostback using javascript Pin
rahul.net112-May-08 0:26
rahul.net112-May-08 0:26 
AnswerRe: postback using javascript Pin
Vasudevan Deepak Kumar2-May-08 0:34
Vasudevan Deepak Kumar2-May-08 0:34 
GeneralRe: postback using javascript Pin
rahul.net112-May-08 0:35
rahul.net112-May-08 0:35 
GeneralRe: postback using javascript Pin
Vasudevan Deepak Kumar2-May-08 2:40
Vasudevan Deepak Kumar2-May-08 2:40 

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.