464 Posted Topics
Re: If you have a datasource based multiple-join tables using command builder, then things will not automatically sort out for you when you push updates back to the database. You need to do more to manage this on your own with your DataAdapter. I recommend you to check these links [URL="http://msdn.microsoft.com/data/DataAccess/adonet/default.aspx"]link1[/URL]... … | |
Re: This code draws line on mouse move[CODE]protected override void OnMouseMove(MouseEventArgs mouseEv) { int mouseX = mouseEv.X; int mouseY = mouseEv.Y; // Create new graphics object Graphics gfx = CreateGraphics(); // Create a pen that has the same background color as the form Pen erasePen = new Pen(Color.White); // Draw a … | |
Re: have you checked [URL="http://stackoverflow.com/questions/4779425/how-to-create-a-net-setup-projec-with-crystal-report-prerequisite"]this link[/URL] and [URL="http://csharp.net-informations.com/crystal-reports/csharp-crystal-merge-module.htm"]this link[/URL] | |
| |
Re: In addition to the upper post you can use this in loop like if you have values in arrays then you can add like this. [CODE]for(int i=0;i<length;i++) { textBox1 += dnotes[i] +"\n" + ndate[i]+"\n"+"\n"; }[/CODE] | |
Re: why are you converting this code why not code yourself? it will be a lot more easier | |
Re: Check this code [CODE]//MainForm //your code SecondForm object1=new SecondForm(); this.Hide(); object1.Show(); //rest of code //SecondForm //your code this.Close(); //rest of code void SecondForm_FormClosing(object sender, System.Windows.Forms.FormClosingEventArgs e) { MainForm object2=new MainForm(); object2.Show(); } [/CODE] | |
Re: check all the programs that are supposed to use the particular XML file | |
Re: Put that dialogue box code in formClosing event ... | |
Re: Check [URL="http://www.daniweb.com/software-development/csharp/threads/243620"]one of the old threads[/URL] of this community | |
Re: this attachment is damaged and can't be open | |
Re: I find this code after searching check this one [CODE]string status = PolicyStatusDrpDown.SelectedIndex.ToString()=="0"?"open":"close"; Response.Clear(); Response.Buffer= true; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "attachment;filename="+objRLPCompanyInfo.CompanyAlias+" "+status+" "+DateRangeType.SelectedItem.ToString()+" "+System.DateTime.Today.ToLongDateString()+".xls"); Response.Charset = ""; this.EnableViewState = false; System.IO.StringWriter oStringWriter = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter oHtmlTextWriter = new System.Web.UI.HtmlTextWriter(oStringWriter); BindGridControl(); //this.ClearControls(SimpleGridControl1); SimpleGridControl1.RenderControl(oHtmlTextWriter); Response.Write(oStringWriter.ToString()); Response.End();[/CODE] [URL="http://www.codeguru.com/forum/showthread.php?threadid=339912"]details [/URL] you can check … | |
Re: check [URL="http://www.codeproject.com/KB/WPF/WPFDataGridExamples.aspx"]this link[/URL] and [URL="http://www.codeproject.com/KB/WPF/WPFDataGrid.aspx"]this link[/URL] for detailed help | |
Re: check [URL="http://www.daniweb.com/software-development/csharp/threads/118395"]this link[/URL] and [URL="http://www.codeproject.com/KB/tree/TreeViewWithDatabase.aspx"]this link[/URL] | |
Re: A program that uses available information, heuristics, and inference to suggest solutions to problems in a particular discipline. It refers to experience-based techniques for problem solving. Check [URL="http://www.techterms.com/definition/heuristic"]this link[/URL] for details | |
Re: add a space after add before ending quotes in line 5 [CODE] SqlCommand cmd = new SqlCommand("alter table abc add " + textBox1.Text.ToString() + " varchar(500)",cn); [/CODE] otherwise your code is right also [CODE] SqlCommand cm = new SqlCommand("insert into abc " + textBox2.Text.ToString() + " values(@a)");[/CODE] | |
Re: As far as i studied it is difficult to implement in c#..... [URL="http://www.codeproject.com/KB/miscctrl/WebBrowserEx.aspx"]this link[/URL] contains a coding example follow this may be helpful check [URL="http://stackoverflow.com/questions/2048424/disable-image-loading-from-webbrowser-control-in-c-net-before-the-documentcomple"]this thread[/URL] and [URL="http://stackoverflow.com/questions/1260615/disable-image-loading-on-webbrowser-control-c-net-2-0"]this link[/URL] these contain the same question... | |
Hey all... I have assigned a job to create back of the databases of our company, maintain it for 7 days and after 7 days delete the back... I have worked on this and make it up the following query but still confused on its authenticity. Please Check and tell … | |
Re: Check these links [URL="http://www.codeproject.com/KB/aspnet/ImageInDatabase.aspx"]link1[/URL].....[URL="http://www.codeproject.com/KB/database/images2db.aspx"]link2[/URL] these two links contains coding examples of the same problem as you have btw code to load image in datagridview is[CODE] DataGridViewImageColumn co = new DataGridViewImageColumn(); Bitmap bmp = new Bitmap(file); co.Image = bmp; DataGridViewImageColumn img = new DataGridViewImageColumn(); Image image = bmp; img.Image = image; … | |
Re: write a class library and include its dll in your project | |
Re: HAVE YOU CHECKED THIS CODE[CODE]using System.Net; string sHostname = Dns.GetHostName; string IPAddress = GetIPAddress(sHostname); // function to find the IPAddress public string GetIPAddress(string sHostName) { IPHostEntry ipEntry = Dns.GetHostByName(sHostName); IPAddress [] addr = ipEntry.AddressList; string sIPAddress = addr[0].ToString(); return sIPAddress; }[/CODE] Can you share what you have done so far? | |
Re: what are you suppose to check here?[CODE]if(cboemployee=="All fieds")[/CODE] | |
Re: i couldn't understand can u please clarify | |
Re: Call a function in after the completion of changes and update it accordingly.... | |
Re: use [URL="http://www.google.com.pk/#hl=en&source=hp&biw=1280&bih=574&q=.net+reflector+free+download&oq=.net+reflector&aq=1&aqi=g10&aql=&gs_sm=e&gs_upl=52449l55582l0l14l12l0l0l0l0l511l3042l2.4.1.2.2.1&fp=abd22b7f502e38f1"].NET Reflector [/URL]to disassemble the code | |
Re: what exactly you aim to do? only make group box invisible? | |
Re: The title should be[B] Who is your favorite football player?.[/B] | |
Re: don't get fired :) check [URL="http://www.codeproject.com/KB/IP/despop3client.aspx"]this link[/URL] and[URL="http://csharpopensource.com/csharpemailcode.aspx"] this link[/URL] and [URL="http://www.codeproject.com/KB/cs/IMailPlus.aspx"]this link[/URL]... may be helpful. | |
Re: [QUOTE=Ancient Dragon;1548398]I know someone who gets a pension of some kind from UK and she told me that UK takes some money out of her pension every month to pay for that wedding. I'm rather shocked about that, I would have though the Queen and royal family would have footed … | |
Re: In addition to Mitja Bonca [CODE]dateTimePicker1.CalendarForeColor = Color.Red;// will change the fore color of the calender in the datetimepicker, dateTimePicker1.CalendarTitleForeColor=Color.Red; // will change the color of title [/CODE] | |
Re: I am not able to understand your question .... you want to set text of which control???? and where you want to add the code please can you clarify your problem? | |
Re: [URL="http://www.google.com.pk/url?sa=t&source=web&cd=1&ved=0CBYQFjAA&url=http%3A%2F%2Fuwe.pst.ifi.lmu.de%2FtoolargoUWE.html&rct=j&q=ArgoUWE&ei=_xvKTYGVJMvOrQel1LmABQ&usg=AFQjCNG1rq2-YeGllUq0ElFrFI5-9YI0IQ&cad=rja"]ArgoUWE[/URL], [URL="http://www.google.com.pk/url?sa=t&source=web&cd=1&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.webratio.com%2F&rct=j&q=WebRatio&ei=4xvKTbmIPITKrAfMkbmOBQ&usg=AFQjCNFBqLYRrVwyW0cFnasvHmOlpvYMaA&cad=rja"]WebRatio[/URL] are the case tools .... agent library provides the necessary infrastructure for constructing an agent-based system. check [URL="http://www.ai.sri.com/~cheyer/papers/aai/node22.html"]this link[/URL] for details | |
Re: place a textbox, datagridview and button on your form writes the search code on button click event pass it the textbox value and display results in datagridview. Check [URL="http://www.daniweb.com/software-development/csharp/threads/361768"]this thread [/URL]for the tutorials on database and c# will certainly help you in starting your application. The links mentioned will also … | |
Re: check these links [URL="http://msdn.microsoft.com/en-us/library/7k989cfy%28v=vs.90%29.aspx"]link 1[/URL]... [URL="http://msdn.microsoft.com/en-us/library/7k989cfy%28v=vs.80%29.aspx"]link2[/URL].... and[URL="http://msdn.microsoft.com/en-us/library/3bka19x4%28v=vs.80%29.aspx"] link3[/URL] | |
hi... I made two class assemblies to use with my project now I want to make DLL of these class libraries so that deployment will be easy. can any one help me how to convert a class library to DLL. or com object Thanks in advance | |
hi... I am using sorted dictionary to add nodes in a hierarchy but i have to show multi-parent multi-child relation but sorted dictionary doesn't allow duplicate entries :( is there any way if yes please suggest I will be honored Thanks in advance | |
Re: use "@" sign with the string containing path and then pass to the sql command | |
Re: how are you currently reading the file | |
Re: read these two articles [URL="http://en.wikipedia.org/wiki/British_Royal_Family"]link one[/URL] and [URL="http://en.wikipedia.org/wiki/Monarchy_of_the_United_Kingdom"]link two[/URL] and for details do some googling | |
Re: This exception arises when the entered column name doesn't match the column name in database please verify that aspect.... Check whether you are entering right column name or not | |
Re: where are you saving these record? are you using any database? | |
Re: when you show the 2nd form pass the path of loaded image in 2nd form and in form2_load event load that image in picturebox as [CODE]//code in form 1 String strFileName = ""; public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "Image FIles (*.jpg)|*.jpg|All … | |
Re: make a save button on clicking it first open the form to collect the values and information to be stored and after completing this procedure show the savefiledialog to save the file i think this will solve your issue of opening form on save event | |
Re: following code will help you convert the string in what ever case you want [CODE]String str; str.ToUpper();// will convert the string to upper case str.ToLower();//will convert the string to lower case [/CODE] | |
Re: [QUOTE=satiss7pwr;1553012]Hi i want a code for implement fingerprint feature in my project, i want just want that code which recieve the signal of fingerprint machine that finger is valid or not Please any one help me[/QUOTE] Make a separate thread don't post your questions in some one Else's thread :) … | |
Hey all I have to display organizational hierarchy or my company but it is quite hectic job... Can any one help me out. At this stage I am able to show for only upto 50 nodes but when I start adding nodes dynamically it gives out of bound exception can … |
The End.