Click here to Skip to main content
15,891,204 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Security Pin
jkirkerx21-Dec-11 11:55
professionaljkirkerx21-Dec-11 11:55 
GeneralRe: Security Pin
David C# Hobbyist.21-Dec-11 14:06
professionalDavid C# Hobbyist.21-Dec-11 14:06 
GeneralRe: Security Pin
jkirkerx21-Dec-11 15:25
professionaljkirkerx21-Dec-11 15:25 
Questionhtml contents into plain text Pin
MalarGayu19-Dec-11 9:36
MalarGayu19-Dec-11 9:36 
AnswerRe: html contents into plain text Pin
Jain Vijay19-Dec-11 17:37
Jain Vijay19-Dec-11 17:37 
GeneralRe: html contents into plain text Pin
MalarGayu19-Dec-11 17:57
MalarGayu19-Dec-11 17:57 
QuestionData display with dynamic coloum Pin
yesu prakash18-Dec-11 23:17
yesu prakash18-Dec-11 23:17 
QuestionInsert Multiple Records by one click Pin
sk_ko18-Dec-11 20:09
sk_ko18-Dec-11 20:09 
Excuse me,

I have listbox binded sql datasource. & also

I have one two textboxes.

now I want to insert listbox items and these textbox values into sql table by one Submit click.

for example: the listbox contain 3 items.

ListBox:

Item 1

Item 2

Item 3

Textbox 1: text1

Textbox 2: text2

I want to insert these above values into sql table,

I also want to store priority value in sql table, as in the order of ListBox.

as follow:

When I clicked Submit button, data will be stored like below;

Sql Table1:

id | column1 | column2 | column3 | priority |

1 | text1 | text2 | item1 | 1 |

2 | text1 | text2 | item2 | 2 |

3 | text1 | text2 | item3 | 3 |

Next Time, when inserted new item values data...

Sql Table1

id | column1 | column2 | column3 | priority |

1 | text1 | text2 | item1 | 1 |

2 | text1 | text2 | item2 | 2 |

3 | text1 | text2 | item3 | 3 |

4 | text1 | text2 | item1 | 1 |

5 | text1 | text2 | item2 | 2 |

5 | text1 | text2 | item3 | 3 |

How I have to do?

I am using VS 2005 in C#. I am developing web project.

Thank in advance.
AnswerRe: Insert Multiple Records by one click Pin
kaisernayan21-Dec-11 0:06
kaisernayan21-Dec-11 0:06 
AnswerRe: Insert Multiple Records by one click Pin
rkrishnach21-Dec-11 0:15
rkrishnach21-Dec-11 0:15 
QuestionSorting numbers then adding to a database Pin
Chris_B8417-Dec-11 9:50
Chris_B8417-Dec-11 9:50 
AnswerRe: Sorting numbers then adding to a database Pin
jkirkerx17-Dec-11 21:02
professionaljkirkerx17-Dec-11 21:02 
GeneralRe: Sorting numbers then adding to a database Pin
Chris_B8418-Dec-11 1:25
Chris_B8418-Dec-11 1:25 
GeneralRe: Sorting numbers then adding to a database Pin
Richard MacCutchan18-Dec-11 4:39
mveRichard MacCutchan18-Dec-11 4:39 
GeneralRe: Sorting numbers then adding to a database Pin
Chris_B8418-Dec-11 5:23
Chris_B8418-Dec-11 5:23 
AnswerRe: Sorting numbers then adding to a database Pin
Not Active18-Dec-11 9:03
mentorNot Active18-Dec-11 9:03 
Questionrelated news function? Pin
duongvannam16-Dec-11 17:39
duongvannam16-Dec-11 17:39 
AnswerRe: related news function? Pin
Not Active17-Dec-11 3:54
mentorNot Active17-Dec-11 3:54 
QuestionComparing array of strings Pin
indian14316-Dec-11 6:23
indian14316-Dec-11 6:23 
AnswerRe: Comparing array of strings Pin
Morgs Morgan17-Dec-11 8:57
Morgs Morgan17-Dec-11 8:57 
GeneralRe: Comparing array of strings Pin
indian14318-Dec-11 14:03
indian14318-Dec-11 14:03 
GeneralRe: Comparing array of strings Pin
Morgs Morgan18-Dec-11 19:06
Morgs Morgan18-Dec-11 19:06 
GeneralRe: Comparing array of strings Pin
indian14318-Dec-11 21:03
indian14318-Dec-11 21:03 
Questionhow to show a pupup on my parant window. Pin
Jitendra Parida - Jeetu16-Dec-11 1:59
Jitendra Parida - Jeetu16-Dec-11 1:59 
AnswerRe: how to show a pupup on my parant window. Pin
Dennis E White16-Dec-11 5:30
professionalDennis E White16-Dec-11 5:30 

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.