How about right click, select delete.
BammBamm
Posts
-
IIS virtual Directory -
serializibleWell, what objects are you storing in session? It can't be that big of a list.
-
serializibleTry looking at the Stack Trace or just look at what objects you are putting into session.
-
Mask the TextBoxYou could just format the number before you display it. double x = 4500.00; textBox2.Text= x.ToString("c"); output = $4,500.00
-
removing XML entriesTry this System.Xml.XmlNode node; System.Xml.XmlDocument doc = new XmlDocument(); doc.LoadXml("jon3547408"); this.textBox1.Text=doc.InnerXml; node = doc.SelectSingleNode("person"); node.RemoveChild( doc.SelectSingleNode("person//zip")); textBox1.Text += "\n" + doc.InnerXml;
-
removing XML entriesWhat exaclty are you trying to do. Permanently remove nodes from the document? Copy nodes to nodes outside the document?
-
Printing Array of Bytes to FileYou need to convert the decimal values back to ascii characters. Here is a code snippet =Encoding.ASCII.GetString(ArrayOfBytes,0,ArrayOfBytes.Length); this returns a ascii encoded string
-
Transaction problemIs the connection open?
-
Join Problemchange d.app_id = c.app_id and to d.app_id = c.app_id (+) and
-
how to merge two or more datasets ?dataset.merge() It is usually used to synch a data set on the client with updated data from the db server. For instance I download the customers I am browsing and updating, I save to the dbserver. Others may be doing the same. You pull down new data from the dbserver and merge it with what you allready have on the client. There are other instances but I think this is the most common.
-
trouble with dropdownlist on selectedIndex propertyTry this: CountryDDLList.SelectedIndex = CountryDDLList.Items.IndexOf(CountryDDLList.Items.FindByValue(key))
-
Losing viewstate ?I believe that if you are truely dynamicaly loading a control (as opposed to just hidding and showing it) viewstate for that control will not be preserved. I believe this is because viewstate is allready loaded by the time you dynamically re-load the control. I ran into the same problem with controlls on an aspx page. My solution, which I don't truely like, was to hide and show the controls when needed. On the controls themselves I did nothing on page_load so as to keep overhead to a minimum, instead I made public functions called init() which I would call whenever I made the controls visible. If you find a better solution please let me know.
-
how to control a data before show with repeater???You can use the onItemDataBound event in the codeBehind. Private Sub rptList_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles rptList.ItemDataBound If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then if DataBinder.Eval(e.Item.DataItem, "network").ToString.lenght > o then 'do something else ' do something else End If End If Hope that helps
-
accessing a COM component from .NETAll you need to do is set a reference to it and then you can access it directly like any other component. Go into project--> Add Reference Select the Com tab find your dll Add it. Now you should be able to access it like any other. Hope this helps.