Click here to Skip to main content
15,911,306 members
Home / Discussions / Database
   

Database

 
QuestionDespair :( - ODBC Behaves differently in COM+ Application [modified] Pin
BillyGoatGruff8-Jan-07 4:12
BillyGoatGruff8-Jan-07 4:12 
AnswerRe: JOY (: - ODBC Behaves differently in COM+ Application Pin
BillyGoatGruff10-Jan-07 0:27
BillyGoatGruff10-Jan-07 0:27 
QuestionSame Username Pin
Dayekh8-Jan-07 4:12
Dayekh8-Jan-07 4:12 
AnswerRe: Same Username Pin
Mark J. Miller8-Jan-07 6:10
Mark J. Miller8-Jan-07 6:10 
Questionsaving dynamically Pin
mohd imran abdul aziz8-Jan-07 3:10
mohd imran abdul aziz8-Jan-07 3:10 
AnswerRe: saving dynamically Pin
Colin Angus Mackay8-Jan-07 3:23
Colin Angus Mackay8-Jan-07 3:23 
GeneralRe: saving dynamically Pin
mohd imran abdul aziz8-Jan-07 3:45
mohd imran abdul aziz8-Jan-07 3:45 
GeneralRe: saving dynamically Pin
nagendra rao s.v.9-Jan-07 5:50
nagendra rao s.v.9-Jan-07 5:50 
Hai,
Here are the Steps.
1)declare a string strListOptions="";
2)Now Iterate through the ListBoxItems
foreach(ListItem li in lbServices.Items)
{
if(li.Selected)
{
if(strListOptions.length>0)
{
strListOptions+=","+li.Index.ToString();
}
else
{
strListOptions+=li.Index.ToString();
}
}
}
3)Save the Agent Data and Return the AgentID.
4)Save the Services Altogether or individually in the Services Table with the AgentID.

While Retriving:
1)Loop through the records and loop through the list items and select the corresponding indexed listItem.

If you have any problem let me know.
You need to modify the same according to your conditions.

QuestionDatabase Schema retriever [modified] Pin
nexo547008-Jan-07 0:17
nexo547008-Jan-07 0:17 
QuestionProblems in installing Sql server 2005 workgroup edition Pin
Rocky#7-Jan-07 23:36
Rocky#7-Jan-07 23:36 
QuestionGraphical user interface for query builder Pin
Member 37032227-Jan-07 23:06
Member 37032227-Jan-07 23:06 
AnswerRe: Graphical user interface for query builder Pin
nexo547008-Jan-07 0:20
nexo547008-Jan-07 0:20 
QuestionMSDE login problem Pin
Stanciu Vlad7-Jan-07 22:53
Stanciu Vlad7-Jan-07 22:53 
QuestionHow to insert the CheckBox Boolean Values into SQL .... Pin
vidya.K.A7-Jan-07 22:40
vidya.K.A7-Jan-07 22:40 
AnswerRe: How to insert the CheckBox Boolean Values into SQL .... Pin
Colin Angus Mackay7-Jan-07 23:00
Colin Angus Mackay7-Jan-07 23:00 
AnswerRe: How to insert the CheckBox Boolean Values into SQL .... Pin
Mircea Puiu7-Jan-07 23:03
Mircea Puiu7-Jan-07 23:03 
QuestionQuerying and comparing data in the one table Pin
feleacks7-Jan-07 17:47
feleacks7-Jan-07 17:47 
AnswerRe: Querying and comparing data in the one table Pin
WoutL7-Jan-07 22:05
WoutL7-Jan-07 22:05 
GeneralRe: Querying and comparing data in the one table Pin
feleacks8-Jan-07 3:51
feleacks8-Jan-07 3:51 
AnswerRe: Querying and comparing data in the one table [modified] Pin
Mairaaj Khan8-Jan-07 20:55
professionalMairaaj Khan8-Jan-07 20:55 
QuestionSQL Server 2000 & SQL Server 2003 & SQL server 2005 Pin
Rahithi7-Jan-07 15:49
Rahithi7-Jan-07 15:49 
AnswerRe: SQL Server 2000 & SQL Server 2003 & SQL server 2005 Pin
WoutL7-Jan-07 22:01
WoutL7-Jan-07 22:01 
AnswerRe: SQL Server 2000 & SQL Server 2003 & SQL server 2005 Pin
Colin Angus Mackay7-Jan-07 23:02
Colin Angus Mackay7-Jan-07 23:02 
AnswerRe: SQL Server 2000 & SQL Server 2003 & SQL server 2005 Pin
Rahithi8-Jan-07 2:28
Rahithi8-Jan-07 2:28 
QuestionHow do we secure a Sqlserver database in client side? Pin
alav7-Jan-07 1:01
alav7-Jan-07 1:01 

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.