464 Posted Topics

Member Avatar for hirenpatel53

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]... …

Member Avatar for abelLazm
0
219
Member Avatar for Nurder

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 …

Member Avatar for Nurder
0
183
Member Avatar for zack_falcon

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]

Member Avatar for zack_falcon
0
257
Member Avatar for zinnqu
Member Avatar for niths

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]

Member Avatar for CsharpChico
0
186
Member Avatar for Jimmyteoh

why are you converting this code why not code yourself? it will be a lot more easier

Member Avatar for Nick Evan
0
212
Member Avatar for Helpmeicantcode

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]

Member Avatar for Mitja Bonca
0
139
Member Avatar for bhagawatshinde
Member Avatar for samueal
0
149
Member Avatar for prasanthsagar
Member Avatar for Arjun_Sarankulu

Check [URL="http://www.daniweb.com/software-development/csharp/threads/243620"]one of the old threads[/URL] of this community

Member Avatar for abelLazm
0
63
Member Avatar for Francine Taylor
Member Avatar for cooldj
Member Avatar for aplee

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 …

Member Avatar for abelLazm
0
166
Member Avatar for Duece_68

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

Member Avatar for abelLazm
0
107
Member Avatar for JakeA

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]

Member Avatar for abelLazm
0
227
Member Avatar for elvis1

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

Member Avatar for abelLazm
0
126
Member Avatar for virusisfound

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]

Member Avatar for virusisfound
0
204
Member Avatar for VanHackman

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...

Member Avatar for VanHackman
0
234
Member Avatar for lxXTaCoXxl
Member Avatar for abelLazm

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 …

Member Avatar for abelLazm
0
152
Member Avatar for sunita methre

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; …

Member Avatar for shakeb@techwave
0
101
Member Avatar for sandesh1989
Member Avatar for abelLazm
0
100
Member Avatar for weblover
Member Avatar for solarissf

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?

Member Avatar for abelLazm
0
139
Member Avatar for emmyt
Member Avatar for Mitja Bonca
0
144
Member Avatar for Youg
Member Avatar for gtn
Member Avatar for gtn
0
111
Member Avatar for brokenarrow_vip

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

Member Avatar for zachattack05
0
162
Member Avatar for emmyt
Member Avatar for SunnyVunny
0
108
Member Avatar for Pendukeni
Member Avatar for jingda
0
163
Member Avatar for jooorj

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.

Member Avatar for jooorj
0
220
Member Avatar for Ancient Dragon

[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 …

Member Avatar for Lardmeister
0
176
Member Avatar for xanawa

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]

Member Avatar for xanawa
0
288
Member Avatar for computerbear

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?

Member Avatar for computerbear
0
2K
Member Avatar for bia

[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

Member Avatar for abelLazm
0
109
Member Avatar for AmIAyTi

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 …

Member Avatar for abelLazm
0
90
Member Avatar for hell0

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]

Member Avatar for abelLazm
0
131
Member Avatar for abelLazm

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

Member Avatar for abelLazm
0
298
Member Avatar for abelLazm

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

Member Avatar for abelLazm
0
161
Member Avatar for girishsp
Member Avatar for girishsp
0
133
Member Avatar for ekailan
Member Avatar for jingda

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

Member Avatar for Ancient Dragon
0
164
Member Avatar for virusisfound

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

Member Avatar for virusisfound
0
464
Member Avatar for Freedom*
Member Avatar for Freedom*
0
108
Member Avatar for samreen36

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 …

Member Avatar for abelLazm
0
295
Member Avatar for bia
Member Avatar for vincezed

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

Member Avatar for vincezed
0
127
Member Avatar for hanvyj

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]

Member Avatar for abelLazm
0
2K
Member Avatar for satiss7pwr

[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 :) …

Member Avatar for Nick Evan
-1
208
Member Avatar for abelLazm

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 …

Member Avatar for abelLazm
0
137

The End.