thank you
deepalititi
Posts
-
binding of dropdownlist -
binding of dropdownlisthello i am binding dropdownlist through coding but when i change any value of it and click on save it will be reset and donot have that values which i fill it in it. what is reason behind it? if anyone knows then plz help
-
add dropdown list server control in classs library projecthi i have created on class library project in c#.net 2.0. I want to add drop down list web server control in class library project in c#.net. But i have seen that System.Web.UI namespace is not supported in this type of project. But i have to add it anyway. Anyone has idea or code to implement this. Please help me out.
-
read check box control's value in datalisti have data list which has check box in item template. i bound this data list to data source through coding. but when i try to read check box values which are checked i donot get any value though check box is checked. my code is like protected void Button1_Click(object sender, EventArgs e) { foreach (DataListItem _obj in dlAddressType.Items) { if (_obj.ItemIndex > -1) { Label _lbl = (Label)_obj.FindControl("lblAddressTypeID"); int chkID; string chkVal; chkVal = _lbl.Text; chkID = Convert.ToInt32(chkVal); CheckBox _checkBox = (CheckBox)_obj.FindControl("chkAddressType"); if (flag != 1) { if (_checkBox.Checked == true) { _ag.AddAddress(ad); // now the addressGroup object has 2 addresses in it. // indicate this is the shipping address AddressTypeID = 5 _ag._AddressDetails[chkID].AddressClientSideID = ad.ClientSideID; } } else { if (_checkBox.Checked == true) { _ag = new AddressGroup(ad); _ag._AddressDetails[chkID].AddressClientSideID = ad.ClientSideID; flag = 0; } } } } }
-
sql error # 55030when i run my application i got error "SQL Error # 55030 Optimistic Conncurrency Error". please provide solution for it
-
parse xml from string variable not from filei have string variable which has xml data. how to parse this variable to get values using c#.net?
-
how to parse xml string not xml filei have string which has xml data like 0 tblPerson 0 idb1 idb2 idb3 idb4 NY 12436 True 8/10/2007 1:30:20 PM US now i have to parse this string and store each attribute values in string array which method i have to use. please provide some help or code
-
Get value from pop-up to main windowI have one person page. when i click on add image button it will open pop up window to fill all person details. after that when i click ok on popup window i close that window using javascript. but i want to get values from popup to my main window. so how can i get this values? is there any page event exist or any javascript code to do the same? Please provide some guidance or code.
-
read html controls in code behind filei have html textbox control. i want to read it in my code behind file i.e. .cs file. but i will not able to get that control's name in list. please tell me how to read html contols at code behind file.
-
session object to store class objectsi have address class. i have to store this class object in session object until when application is not closed. how to do it?please provide some guidance
-
difference between serializable class and class in C#.netplease provide explanation what is difference between serializable class and class in C#.net? in which case serializable class is used
-
store class objects in data tablehow to store class objects in data table using c#.net? please help me out.
-
store user defined class objectsplease provide some code or explanation how to store user defined class objects using c#.net. actually i have one class and want to store its objects in my web application. please help me for that. so what to use cache,view state or session object and how to do it?
-
store user defined class objectsplease provide some code or explanation how to store user defined class objects using c#.net. actually i have one class and want to store its objects in my web application. please help me for that. so what to use cache,view state or session object and how?
-
store user defined class objects in view stateplease provide me other solutions to store user defined class objects
-
store user defined class objects in view statei have class named address. i want to store address class object into view state using c#.net 2.0. please provide some code or explanation how to do it.
-
bind sql data table to combo box controli have to populate data table's values in combo box control using c#.net 2.0. so please provide some code for it
-
read app.config filei have created class library project and i have written connection string to sql server in app.config file like now i want to use this project in web application. So i will add the DLL of this project in web application. But how can i read the connectionstring from app.config file in web application? Please provide some code or guidance for it.
-
split function in java scriptthank you for your guidance:)
-
split function in java scripti want to split date with separators with ' ' or '/' or '-'. i am trying to split the string with all this separators like var temp1 = new Array(); temp1 = datevalue1.split('/','-',' '); but it will not split datevalue1 string with all this separtors. but if i give only one paramert in split() function then it will work. so please provide some guidance that is it possible to split string with multiple parameters?