No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
using (StreamReader sr = new StreamReader("TestFile.txt")) { string line; while ((line = sr.ReadLine()) != null) { if (line.Substring(0,4) == "$GSV") { Textbox1.Test = line. } } }
Recheck the number of columns in your insert statement.
[url]http://www.asp.net[/url] [url]http://www.datagridgirl.com[/url] GoodLuck Dabuskol
[B][U]ASPX.CS[/U][/B] [COLOR="Green"]private void GridView_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if ((e.Item.ItemType == ListItemType.Item) || (e.Item.ItemType == ListItemType.AlternatingItem)) { e.Item.Attributes.Add("onMouseOver", "SetNewColor(this);"); e.Item.Attributes.Add("onMouseOut", "SetOldColor(this);"); } }[/COLOR] [B][U]ASPX[/U][/B] <script language="javascript"> function SetNewColor(source) { _oldColor = source.style.backgroundColor; source.style.backgroundColor = '#FFCCCC';//#FFCCCC'; source.style.cursor='hand'; } function SetOldColor(source) { source.style.backgroundColor = _oldColor; } </script> Hope this will help you …
The End.
Dabuskol