5,346 Posted Topics

Member Avatar for ud_gs_sj

[code] da8 = new SqlDataAdapter("update c_item set item_quan =" + quan + "-" + quantity + " where item_name = '" + fname + "' and item_cat='1'", con); [/code]

Member Avatar for searchsource
0
119
Member Avatar for gunjannigam

Take a look at Java Tutorial - [URL="http://download.oracle.com/javase/tutorial/2d/images/saveimage.html"]Writing/Saving an Image[/URL].

Member Avatar for gunjannigam
0
162
Member Avatar for ufancha143

[b]>but don't know how to make it's EXE at my applications runtime.[/b] If you are running Visual studio then VS will do it for you. Please check out Bin\Debug or Bin\Release folder under your project folder.

Member Avatar for hyperion
0
100
Member Avatar for dre-logics
Member Avatar for roymrinal123

[b]>I know VB.Net But how I can create a new ASP.Net application[/b] File + New (New WebSite). PS: Purchase some good books of ASP.NET and also read MSDN online pages.

Member Avatar for kvprajapati
0
37
Member Avatar for umair.sabri

@lal.ramesh Please read the rules before posting again, in particular the '[URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]keep it spam-fre[/URL]e'. If you hit 10 infraction points your account gets an automatic ban, so it is worth obeying the rules if you want to continue to benefit from DaniWeb help. PS: Please post well-formatted code on the …

Member Avatar for kvprajapati
0
109
Member Avatar for c4ytr3

[b]>i use Running Total Field to sum (salary) but it not sum and it COUND, pls help me to solve. TKS[/b] You need to change "Type of Summary" value. Choose [B]sum[/B] (where this field must be numeric).

Member Avatar for c4ytr3
0
73
Member Avatar for SaaDwTk

Take a look at : [url]http://msdn.microsoft.com/en-us/library/Aa302415[/url]

Member Avatar for lal.ramesh
0
78
Member Avatar for MikeTackett

Few days ago I came across some threads entitled "Best practices/guidance for maintaining assembly version numbers." and "Best practices for assembly naming and versioning?" from stackoverflow where I found MSDN article - When to Change File/Assembly Versions. I hope this article and comments will help you. 1. [url]http://stackoverflow.com/questions/3768261/best-practices-guidance-for-maintaining-assembly-version-numbers[/url] 2. [url]http://stackoverflow.com/questions/310226/should-net-assembly-names-include-a-version-number[/url] …

Member Avatar for kvprajapati
1
256
Member Avatar for naveedqadri

Please read the [URL="http://msdn.microsoft.com/en-us/library/fht0f5be.aspx"]String.Format[/URL] MSDN article. syntax: [code] {index[,length][:formatString]} [/code]

Member Avatar for naveedqadri
0
139
Member Avatar for BonezAphex

Here is a great HTML-Parser API -[URL="http://htmlagilitypack.codeplex.com/"] Html Agility Pack.[/URL]

Member Avatar for codeorder
0
97
Member Avatar for Wheen

I think you have to look at Thread usage,async calls and [URL="http://www.codeproject.com/KB/cs/globalhook.aspx"]keyboard hooks[/URL].

Member Avatar for Diamonddrake
0
210
Member Avatar for mfaisalm

[b]>How to print a letter (BOLD and Italic) in C[/b] Use graphics lib. ([URL="http://www.gtk.org/"]GTK[/URL]).

Member Avatar for Kamatari
0
109
Member Avatar for samaniac

Welcome @samaniac. Please visit the [URL="http://www.daniweb.com/forums/thread70096.html"]sticky threads[/URL] - [B]c++ books[/B] and [B]C / C++ FAQ's and Practice problems[/B] of cplusplus board.

Member Avatar for vijayan121
0
242
Member Avatar for waleed.makarem

[b]>I need to make a vb.net application that can download data from the gps logger . and to set its configuration parameters.[/b] So what is the problem? Please ask specific questions, don't ask people to do your work.If you're stuck post what you have and tell where you're stumped so …

Member Avatar for waleed.makarem
0
350
Member Avatar for utpal-urbestpal

[code] Dim MySQL As String = "INSERT INTO [Contact Us] ([Name], [Company]) VALUES ('" & TextBox1.Text & "','" & TextBox4.Text & "')" [/code]

Member Avatar for kvprajapati
0
244
Member Avatar for rozario2010

Double thread - [url]http://www.daniweb.com/forums/thread327651.html[/url] Thread Locked.

Member Avatar for kvprajapati
-2
207
Member Avatar for paradox814

[QUOTE=paradox814;100601]I know it is possible to overload PHP functions as I have seen this done with many of the prebuilt functions. My question is how do you declare an overloaded function? Everytime I try doing this I always get some error about missing arguments (even if there exsist a function …

Member Avatar for NuMessiah
0
432
Member Avatar for SaaDwTk

You can use WebClient or WebRequest/WebResponse classes. Take a look at this [URL="http://stackoverflow.com/questions/930807/c-login-to-website-via-program"]thread[/URL].

Member Avatar for kvprajapati
0
135
Member Avatar for rikiroxs
Member Avatar for kvprajapati
0
68
Member Avatar for michaelsd

Take a look at this article - [url]http://www.codeproject.com/KB/cs/globalhook.aspx[/url]

Member Avatar for kvprajapati
0
173
Member Avatar for trippinz

You need to select "dataTable" instance of DataSet. Use [B]Add[/B] method of DataTable's [B]Rows[/B] collection.

Member Avatar for kvprajapati
0
111
Member Avatar for hardikwadhel
Re: C #

Hi! @hardikwadhel, Welcome to the Daniweb. To develop a project you must have a decent understanding of C# language and the .net framework. Post here the work you have done so far for this assignment. Someone will help you with the places you are stuck.

Member Avatar for kvprajapati
0
24
Member Avatar for TheDocterd

Which value you want to store? To store string/varchar then store the relevant data into memory variables and write them into database via ADO.NET API. [code] string result="No"; if(checkBox1.Checked) result="Yes"; ..... [/code]

Member Avatar for kvprajapati
0
292
Member Avatar for az23rilek

What kind of output are you expecting? Please read the rules before posting again - [url]http://www.daniweb.com/forums/thread78223.html[/url] and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL].

Member Avatar for az23rilek
0
125
Member Avatar for WHchaz1027

Welcome nirmal111. Please create a new thread. If you have any questions please ask. You are welcome to start your own threads.

Member Avatar for kvprajapati
-3
226
Member Avatar for coastcode

Take a look at, [code] SqlDataAdapter adp = new SqlDataAdapter("select * from tableName", @"connection_str"); DataTable dt = new DataTable(); adp.Fill(dt); foreach (DataRow row in dt.Rows) { string key = row["pid"].ToString(); TreeNode[] tn = treeView1.Nodes.Find(key, true); if (tn.Length ==0) { treeView1.Nodes.Add(row["id"].ToString(), row["desc"].ToString()); } else { tn[0].Nodes.Add(row["id"].ToString(), row["desc"].ToString()); } } [/code]

Member Avatar for kvprajapati
0
326
Member Avatar for JosetoChile

Use [B][URL="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializable.aspx"]Custom Serialization[/URL][/B]. With [b]basic serialization[/b], the versioning of objects may create problem.

Member Avatar for kvprajapati
0
106
Member Avatar for choover12

Use string.Join method. [code] string text = "Hello World"; string s=string.Join<char>(" ", text); Console.WriteLine(s); [/code]

Member Avatar for kvprajapati
0
326
Member Avatar for rohit_static

Please take a look at [URL="http://en.wikipedia.org/wiki/Shell_sort"]Shell sort algorithm[/URL] (pseudocode).

Member Avatar for Adak
0
191
Member Avatar for mancode1007

[b]>password encryption[/b] You have to use/learn classes from System.Security.Cryptography namespace.

Member Avatar for Luc001
1
283
Member Avatar for ciint

[QUOTE=ciint;1394695]Why designers prefer div designing rather then table design ?[/QUOTE] Please take a look at [URL="http://stackoverflow.com/questions/83073/why-not-use-tables-for-layout-in-html"]this[/URL] thread.

Member Avatar for kvprajapati
0
67
Member Avatar for dre-logics

[b]>I want to show with the DataGridViewComboBoxColumn two fields from groups table . But i want only link field "articlenb" to column, but a want o show filed "Articlenb" and I want to show fields "groupnb" and "groupdef"[/b] It's possible I misunderstood - could you please clarify?

Member Avatar for vigorniensis
0
452
Member Avatar for aseem_nick

[b]>an anybody help me out how to start and how to proceed.[/b] Tell us about the types of interaction you want to add in your project.

Member Avatar for kamranraj
0
101
Member Avatar for Maha Sh.

Why not SELECT COUNT(*)? [code] ... command.CommandText = " SELECT count(*) FROM [A] WHERE [word]=@word" command.Parameters.AddWithValue("@word",TextBox1.Text) command.Connection = connection connection.Open() Dim count = command.ExecuteScalar() connection.Close() .... [/code]

Member Avatar for Maha Sh.
0
127
Member Avatar for samaru
Member Avatar for Turaiel

Use ADO.NET oledb provider to read [URL="http://stackoverflow.com/questions/15828/reading-excel-files-from-c"]Excel data[/URL].

Member Avatar for lolafuertes
0
176
Member Avatar for erum

Please check this out: [code] ... Dim index As Integer For index = 1 To RadioButtonList1.SelectedValue Dim newdiv As New HtmlGenericControl("div") Dim ht As New HtmlTable() ht.ID = "mytable" & index ht.Width = "100%" ht.CellSpacing = "0" ht.CellPadding = "0" ht.Border = 0 Dim htr, htr1 As New HtmlTableRow() Dim …

Member Avatar for dkwired.com
0
132
Member Avatar for xcarbonx

I'm not sure but I think you want to show records into ListView control. [code] ... Dim Records As New List(Of Records) Dim rec As Records Dim counter As Integer = 0 Dim split() As String = IO.File.ReadAllLines("comiss.txt") Dim data() As String ListView1.Columns.Add("A1") ListView1.Columns.Add("A2") ListView1.Columns.Add("A3") ListView1.Columns.Add("A4") ListView1.View = View.Details For …

Member Avatar for alc6379
0
182
Member Avatar for canterorist

Use hashing algorithms - MD5 or SHA1. Read MSDN [URL="http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.hashpasswordforstoringinconfigfile.aspx"]article[/URL] - FormsAuthentication.HashPasswordForStoringInConfigFile Method.

Member Avatar for canterorist
0
71
Member Avatar for asiaenforcer

Take a look at this sample. Sample.aspx [code] <form id="form1" runat="server"> <div> </div> </form> [/code] Sample.aspx.vb [code] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim tx As New TextBox tx.ID = "txt1" form1.Controls.Add(tx) Dim bt As New Button bt.Text = "Submit" form1.Controls.Add(bt) AddHandler bt.Click, AddressOf …

Member Avatar for simongh2
0
217
Member Avatar for AlvinLiu

Line #19 (ReservationBook). Reservation isn't instantiated. Use [URL="http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf"]Generics[/URL] collection instead of arrays.

Member Avatar for AlvinLiu
0
2K
Member Avatar for jamesonh20

Correct me if I'm wrong. I think you want to change the region of picture box. [code] System.Drawing.Drawing2D.GraphicsPath gp = new System.Drawing.Drawing2D.GraphicsPath(); gp.AddEllipse(1,1,pictureBox1.Width, pictureBox1.Height ); Region rg = new Region(gp); pictureBox1.Region = rg; [/code]

Member Avatar for kvprajapati
0
77
Member Avatar for chupoi

Set the property TextBox1.Modifiers=Public on Form2. Form1 [code] ... private void button1_Click(object sender, EventArgs e) { Form2 f = new Form2(); f.ShowDialog(); treeView1.Nodes.Add(f.textBox1.Text); } ... [/code] Form2 [code] ... private void button1_Click(object sender, EventArgs e) { Close(); } ... [/code]

Member Avatar for kvprajapati
0
140
Member Avatar for itwebguy
Member Avatar for mls

This is the broader question. Please learn/use ADO.NET database integration class library of .net framework.

Member Avatar for kvprajapati
0
61
Member Avatar for linezero

[code] Private Sub TextBox1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If Char.IsLetterOrDigit(e.KeyChar) Then e.Handled = False Else e.Handled = True End If End Sub [/code]

Member Avatar for kvprajapati
0
3K
Member Avatar for aljiro

There are number of ways(methods) to read/write XML document. [B]C#[/B] [U]Method:1 System.XML - DOM API[/U] [code=C#] string file=@"sample.xml"; System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); doc.Load(file); //Iterate "Student" foreach (System.Xml.XmlElement student in doc.DocumentElement.ChildNodes) { foreach (System.Xml.XmlElement field in student.ChildNodes) { MessageBox.Show(field.Name + " : " + field.InnerText); } } [/code] [U]Method:2 System.XML.Linq …

Member Avatar for aljiro
0
2K
Member Avatar for dotbat

We only give homework help to those who [URL="http://www.daniweb.com/forums/announcement61-2.html"]show effort[/URL].

Member Avatar for AndreRet
0
157
Member Avatar for gameon

[b]>now i want to play video in other page by click on image which have hyperlink of video. so what to do?[/b] Set [B]target="_blank"[/B] attribute. [code] <a runat="server" target='_blank' href ='<%# Eval("video_url") %>'> [/code]

Member Avatar for kvprajapati
0
404

The End.