Somebody has to start somewhere. Live Life King Size Alomgir Miah
Alomgir Miah
Posts
-
making calculator -
How to store images in dll?You should go for embedded resource. http://www.codeproject.com/csharp/ReflectionXml.asp[^] Live Life King Size Alomgir Miah
-
adding arrows to buttonsThe test way is to change the text of the button on the click event. This way you can toggle between the texts ">>Detail" to "Detail<<". The other way is to change the image on the button this.buttonTest.Image = (Image)TestIcons.GetIcon("ShowDetails.ico").ToBitmap(); Live Life King Size Alomgir Miah
-
Replace SELECT result before datagrid. -
How to storage the records of DataSet to MSSQL table?Are you looking for this using System.Data.SqlClient; public DataTable ReturnDataTbl(string XmlFile) { DataSet dset = new DataSet(); FileStream fstr = new FileStream(XmlFile, FileMode.Open, FileAccess.Read); dset.readXml(fstr); DataTable dtbl = dset.Tables[0]; fstr.Close(); dset.Dispose(); return dtbl; } Live Life King Size Alomgir Miah
-
TriggerUse updated.colname Live Life King Size Alomgir Miah
-
Keypress handling in Simple DataGridDataGridTextBoxColumn.TextBox.KeyPress += new ................. Live Life King Size Alomgir Miah
-
Marquee Selection in ListViewHello, I am looking for a feature in .NET listView wherein you can start the Marquee selection from the ListView Items. Is there a way to intiate the marquee selection using sendmessage. Live Life King Size Alomgir Miah
-
ImageList.ImageSize supports only 255x255 pixel images.ImageList.ImageSize supports only 255x255 pixel images. Is there a way to get around that. I know this is by design. I am trying to drag drop listview columns. But I need larger image size to achieve that. Live Life King Size Alomgir Miah -- modified at 14:24 Thursday 5th January, 2006
-
Moving xml nodesPlease re-post. Cant see anything. Live Life King Size Alomgir Miah
-
String Search on a Treeviewhave a look on the url's below http://www.dotnet247.com/247reference/msgs/32/161524.aspx http://support.microsoft.com/default.aspx?scid=KB;EN-US;311318 Live Life King Size Alomgir Miah
-
How to show data in DataGrid on PPCYou should use DataGrid.DataSource = dataSet; Live Life King Size Alomgir Miah
-
Fastest way to copy table in SQLServer 2000I think this is the fastest. You can try comparing the performance with SELECT * INTO Table2 FROM Table1 Live Life King Size Alomgir Miah
-
Data Table ErrorI checked your code. It works just fine. Can you debug your code and tell us exactly in which line you get the error. Live Life King Size Alomgir Miah
-
Data Table ErrorDataColumn userSkill = new DataColumn("Skill"); dtshowskills.Columns.Add("userSkill"); DataColumn userLevel = new DataColumn("Level"); dtshowskills.Columns.Add("userLevel"); foreach (string skill in skills) { DataRow drskill = dtshowskills.NewRow(); drskill["userSkill"] = skill; drskill["userLevel"] = 0; dtshowskills.Rows.Add(drskill); } should instead read DataColumn userSkill = new DataColumn("Skill"); dtshowskills.Columns.Add(userSkill); DataColumn userLevel = new DataColumn("Level"); dtshowskills.Columns.Add(userLevel); foreach (string skill in skills) { DataRow drskill = dtshowskills.NewRow(); drskill["Skill"] = skill; drskill["Level"] = 0; dtshowskills.Rows.Add(drskill); } Live Life King Size Alomgir Miah
-
Casting to doubleobject o = new object(); o = 1; double dValue = Convert.ToDouble(o); Live Life King Size Alomgir Miah
-
Regular ExpressionTry this string s = @"^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$"; Regex ex = new Regex(s); Match match = ex.Match("g_s+gavcom.com"); if ( match.Success ) { MessageBox.Show("Found"); } Live Life King Size Alomgir Miah
-
Add reference problem ?You need to add the DLL path to the PATH environment variable or you can just copy the DLL in the same folder as your managed assemblies. Live Life King Size Alomgir Miah
-
c++ codeparserThere are tools available. Look for programmar in google. Live Life King Size Alomgir Miah
-
Updating Datagrid Cell ValueDont play with the itemarry. It is handled internally. mydatatable.Rows[lastUpdatedRecord] = int.Parse(txtVal.Text); will do the job. Live Life King Size Alomgir Miah