Click here to Skip to main content
15,909,822 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: First web service on ASP.Net Pin
John Gathogo29-Oct-08 22:31
John Gathogo29-Oct-08 22:31 
QuestionRe: First web service on ASP.Net Pin
CodingLover29-Oct-08 22:39
CodingLover29-Oct-08 22:39 
AnswerRe: First web service on ASP.Net Pin
John Gathogo29-Oct-08 23:09
John Gathogo29-Oct-08 23:09 
NewsRe: First web service on ASP.Net Pin
CodingLover29-Oct-08 23:19
CodingLover29-Oct-08 23:19 
QuestionRe: First web service on ASP.Net Pin
CodingLover29-Oct-08 23:39
CodingLover29-Oct-08 23:39 
AnswerRe: First web service on ASP.Net Pin
CodingLover29-Oct-08 23:53
CodingLover29-Oct-08 23:53 
QuestionBind SitemapDataSource to a Listview Pin
neodeep200129-Oct-08 19:52
neodeep200129-Oct-08 19:52 
QuestionHashtable error Pin
jaya8629-Oct-08 19:46
jaya8629-Oct-08 19:46 
i wanna use the hashtabl concept to fill the dropdownlist and use the hashtable in the selected item change event of the dropdownlist .. but wenever i refresh the page it shows the error




"Item has already been added. Key in dictionary: "10" Key being added: "10" "



and i chked the databse and i dont have the duplicate keys ... but i still get this error ..can anyonehelp wat cud be the reason and how to solve it and the code snippet is (in the page load event )




OleDbDataAdapter ada = new OleDbDataAdapter("Select * from HOSP",oledb);
DataTable Dhosp=new DataTable();
ada.Fill(Dhosp);
hHospital2.Clear();
foreach(DataRow row in Dhosp.Rows)
{

if (hHospital2.Contains(row["HOSPID"].ToString()))
{
Response.Write(row["HOSPID"].ToString());
}
else
{

hHospital2.Add(row["HOSPID"].ToString()+"~"+row["HOSPADD"],row["HOSPNAME"].ToString());

hLH.Add(row["HOSPNAME"],row["LOCATION"]);
}

}

HospId.DataSource = Dhosp;
HospId.DataMember="Hosp";
HospId.DataTextField="HOSPNAME";
HospId.DataValueField="HOSPID";
HospId.DataBind();
AnswerRe: Hashtable error Pin
Ashfield29-Oct-08 22:17
Ashfield29-Oct-08 22:17 
GeneralRe: Hashtable error Pin
jaya8629-Oct-08 23:39
jaya8629-Oct-08 23:39 
GeneralRe: Hashtable error Pin
Ashfield30-Oct-08 1:52
Ashfield30-Oct-08 1:52 
AnswerRe: Hashtable error Pin
Guffa29-Oct-08 23:48
Guffa29-Oct-08 23:48 
Question[Message Deleted] Pin
Shivan Nandan29-Oct-08 19:35
Shivan Nandan29-Oct-08 19:35 
AnswerRe: Active Directory Pin
Ashfield29-Oct-08 22:18
Ashfield29-Oct-08 22:18 
Question[Message Deleted] Pin
Navinchandran29-Oct-08 19:20
Navinchandran29-Oct-08 19:20 
AnswerRe: Creating a new Document management Pin
Sathesh Sakthivel29-Oct-08 19:31
Sathesh Sakthivel29-Oct-08 19:31 
AnswerRe: Creating a new Document management Pin
Christian Graus29-Oct-08 21:05
protectorChristian Graus29-Oct-08 21:05 
QuestionCreating a new Document management website similar to Google doc Pin
Navinchandran29-Oct-08 19:19
Navinchandran29-Oct-08 19:19 
AnswerRe: Creating a new Document management website similar to Google doc Pin
Sathesh Sakthivel29-Oct-08 19:35
Sathesh Sakthivel29-Oct-08 19:35 
Questionhow to read data from sqlserver and convert it into XMl using XSLT Pin
googlejumbo29-Oct-08 18:46
googlejumbo29-Oct-08 18:46 
AnswerRe: how to read data from sqlserver and convert it into XMl using XSLT Pin
Ashfield29-Oct-08 22:15
Ashfield29-Oct-08 22:15 
QuestionMenu Pin
kjosh12329-Oct-08 15:37
kjosh12329-Oct-08 15:37 
AnswerRe: Menu Pin
AhsanS29-Oct-08 18:35
AhsanS29-Oct-08 18:35 
QuestionError while converting Physical path into bitmapImage Pin
suresh_00129-Oct-08 14:53
suresh_00129-Oct-08 14:53 
AnswerRe: Error while converting Physical path into bitmapImage Pin
Christian Graus29-Oct-08 16:27
protectorChristian Graus29-Oct-08 16:27 

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.