5,346 Posted Topics

Member Avatar for msman88

Please have a look at this thread - [url]http://social.msdn.microsoft.com/Forums/en-US/vstswebtest/thread/0f143e24-65e7-4f44-8d64-a8f920f410af[/url]

Member Avatar for kvprajapati
0
81
Member Avatar for kieran82

Don't generate commandbuilder object in each handler. [code] da = New OleDb.OleDbDataAdapter(sql, con) Dim cb As New OleDb.OleDbCommandBuilder(da) da.Fill(ds, "Premier") [/code]

Member Avatar for kvprajapati
0
175
Member Avatar for msman88
Member Avatar for kvprajapati
0
94
Member Avatar for Nattynooster
Member Avatar for kvprajapati
1
90
Member Avatar for petrelutza

Have a look at these threads: 1. [url]http://www.daniweb.com/forums/thread119460.html[/url] 2. [url]http://www.daniweb.com/forums/thread198891.html[/url]

Member Avatar for petrelutza
0
277
Member Avatar for emaduddeen

Declare a field of type DataView in a form and assign a reference to it. [code] public class Form1 : Form Dim dv as DataView Sub SomeMethond_oR_Click_Event() dv=new dbUtilities().GetDataView("put_argument") End Sub End Class [/code]

Member Avatar for emaduddeen
0
220
Member Avatar for thuyson

[b]>i want to edit records on datagrid,then update into access database! Please help me! [/b] You need to configure Connection, DataAdapter and Dataset objects. Please show us your code work. You might want to read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Daniweb [/URL]rules and homework policy ~[URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL]~ …

Member Avatar for kvprajapati
0
81
Member Avatar for emeryDan

[b]>I am looking for a C# grid component[/b] Think about DataGridView windows control.

Member Avatar for kvprajapati
0
70
Member Avatar for Othello911

[b]>WHERE should I put the video? and how to set the source?[/b] Put video in root of the appplication and set property Copy to output Directory=Copy always from properties window. PS:To play, you need a Media player version 10.0 or higher.

Member Avatar for Othello911
0
83
Member Avatar for scorpio222

[b]>how can i read each value and and create a new csv with my functions for the new columns in the csv?[/b] 1. Use System.IO.File.ReadAllLines("file.csv") method to read all lines from the file. 2. [B]String.Split()[/B] method to split each line and store result into new file.

Member Avatar for scorpio222
0
201
Member Avatar for sri_sreeraj

[code] <asp:LinkButton ID="lkbName" runat="server" PostBackUrl='<%# Eval("pId","Product.aspx?pid={0}") %>' Text='<%# Eval("name") %>'> </asp:LinkButton> [/code]

Member Avatar for kvprajapati
0
179
Member Avatar for brenn13

You can easily configure smtp server using WAT (WebSite Menu + ASP.NET Configuration). [code] ...... <system.net> <mailSettings> <smtp from="admin@abc.com"> <network host="127.0.0.1" password="aa" userName="aa" /> </smtp> </mailSettings> </system.net> [/code]

Member Avatar for kvprajapati
0
147
Member Avatar for Gangarani

I think [URL="http://msdn.microsoft.com/en-us/library/system.componentmodel.design.idesignerhost.aspx"]this [/URL]link might help you.

Member Avatar for Gangarani
0
73
Member Avatar for charqus

Set obj.TopMost=true. [code] Form2 frm = new Form2(); frm.TopMost = true; frm.Show(); [/code] [code] Form2 frm = new Form2(); frm.Show(); frm.BringToFront(); [/code]

Member Avatar for kvprajapati
0
76
Member Avatar for nicolasmarie

Hi, Showing your code might help. This is not a right way to ask for help. You might want to read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Daniweb [/URL]rules and homework policy ~[URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL]~ if you run into problems and want to ask for help here.

Member Avatar for nicolasmarie
0
167
Member Avatar for Lolalola

[b]>why i can coding only 128 bytes text?[/b] You must use a supported key length (128, 192, 256) appropriate for your algorithm of choice. Wiki reference: [url]http://en.wikipedia.org/wiki/Advanced_Encryption_Standard[/url]

Member Avatar for kvprajapati
0
174
Member Avatar for Gangarani

Have a look at this thread - [url]http://stackoverflow.com/questions/1398570/idesignerhost-designsurface-catching-mouse-move[/url]

Member Avatar for kvprajapati
0
48
Member Avatar for complete

[b]>Dynamic Resizing of Form Elements Relative to Form Shape in C# [/b] You can use [B]Anchor[/B] and [B]Doc[/B] property.

Member Avatar for kvprajapati
0
125
Member Avatar for Exaktor

[b]>Can somebody help me to add a row directly to a datagridview without updating it.[/b] Show your code please. You might want to read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Daniweb [/URL]rules and homework policy ~[URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL]~ if you run into problems and want to ask for help …

Member Avatar for kvprajapati
0
92
Member Avatar for TimWerk

By passing integer index to the Rows collection you can select a row. A row is made up of Cells collection. [code] TextBox1.Text=GridView1.Rows[0].Cells[0].Text; [/code]

Member Avatar for Mohtshm
0
97
Member Avatar for thimpu100

[b]>After storing the data of a table or tables(join), how do we extract the name of that table/tables[/b] You could use regular expression.

Member Avatar for kvprajapati
0
33
Member Avatar for Ultratermi
Member Avatar for kvprajapati
0
80
Member Avatar for Bonolo

[b]>i want to update both tables[/b] Create two dataAdapters, and two commandBuilder objects. (Have you turn on/off Cascade update/delete Ms-Access feature?) [code] OleDbDataAdapter EmployeeAdapter = new OleDbDataAdapter("SELECT * FROM Employee", conn); OleDbCommandBuilder cb1=new OleDbCommandBuilder(EmployeeAdapter); OleDbDataAdapter BankingAdapter = new OleDbDataAdapter("SELECT * FROM BankingDetails", conn); OleDbCommandBuilder cb2=new OleDbCommandBuilder (BankingAdapter); EmployeeAdapter.Fill(ds, "Employee"); BankingAdapter.Fill(ds, …

Member Avatar for kvprajapati
0
105
Member Avatar for ineale

[b]>I have used xaml to define the canvas so that i can later add a map from Expression Design to it[/b] You have to create a Usercontrol. Have a look at msdn article - [url]http://msdn.microsoft.com/en-us/library/cc294992.aspx[/url]

Member Avatar for kvprajapati
0
101
Member Avatar for Exaktor

[b]>So what I want is that they are connected to each other. [/b] Please be more specific. I guess you have to use [B]and[/B] operator. [code] List<string> query = new List<string>(); if (txtSearch1.Text.Length != 0) query.Add("firstname like '" + txtSearch1.Text + "%'"); if (txtSearch2.Text.Length != 0) query.Add("middlename like '" + …

Member Avatar for phoenix911
0
270
Member Avatar for shubhamshah
Member Avatar for shubhamshah
0
87
Member Avatar for nccsbim071

Have a look at - [url]http://mail.google.com/support/bin/answer.py?hl=en&answer=57143[/url]

Member Avatar for nccsbim071
0
108
Member Avatar for «¤¦PR☼GRAM¦¤»

[b]>how I can use a combobox or checkbox to automatically add @gmail.com or @ live.com.[/b] You need to store both username and email into database and fetch corresponding email from the database when user input username.

Member Avatar for kvprajapati
-1
61
Member Avatar for pritesh2010

I would like to suggest you to use [URL="http://www.beansoftware.com/ASP.NET-Tutorials/Using-Crystal-Reports.aspx"]Push[/URL] model to design [URL="http://www.codeguru.com/csharp/.net/net_general/toolsand3rdparty/article.php/c13253"]crystal reports.[/URL]

Member Avatar for kvprajapati
0
181
Member Avatar for sachintha81

Have a look at this [URL="http://stackoverflow.com/questions/537998/register-silverlight-mime-types-in-iis-programmatically"]thread[/URL].

Member Avatar for sachintha81
0
295
Member Avatar for eDeloa

@compeng You cannot hijack another thread to ask your question but you have to start your own thread instead. Please do not resurrect old threads. Have a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Please read before posting - [url]http://www.daniweb.com/forums/thread78223.html[/url] Thread Closed.

Member Avatar for kvprajapati
0
2K
Member Avatar for tanvirahmad
Member Avatar for tanvirahmad
0
82
Member Avatar for jackiejoe

[b]>Stack over flow exception[/b] That Method is called again and again - recursively.

Member Avatar for kvprajapati
0
80
Member Avatar for R3k
Member Avatar for R3k
0
207
Member Avatar for nitin2010

[URL="http://msdn.microsoft.com/en-us/library/ms173179%28VS.80%29.aspx"]lock[/URL] keyword.

Member Avatar for powerbox
0
142
Member Avatar for sanz

[b]>when i load pic as application it considers picture box empty[/b] Look at line #13 to #18. Unnecessary loop. [code] foreach (object s in o) { pictureBox1.Image= Image.FromFile(s.ToString()); if (pictureBox1.Image != null) .... [/code] [b]>i dont know how to access array indiviuial element if its length is growing according to …

Member Avatar for sanz
0
111
Member Avatar for mansoorhacker

You need to configure dataAdapter object. Fill() method of dataadapter will retrieve data where as Update() method of dataadapter will write back changes to the database.

Member Avatar for kvprajapati
-1
80
Member Avatar for critalk

[b]>What's the meaning of 1.0F in VB?[/b] [B]F[/B] - floating (single) point constant. The value 1.0 is considered as Double datatype. 1.0f - where suffix [B]f[/B] tells the compiler that the type of value is Single(float).

Member Avatar for kvprajapati
0
118
Member Avatar for palurishi

Show us your code work please. You can insert/save JavaScript code if your code uses Parameters - SqlParameter.

Member Avatar for kvprajapati
0
45
Member Avatar for BigPandaCake

Don't use string concatenate to form a query. Use Parameters. [code] Dim SQLCon As New SqlServerCe.SqlCeConnection Dim SQLCom As New SqlServerCe.SqlCeCommand SQLCon = New SqlServerCe.SqlCeConnection("Data Source = BK.sdf") SQLCom.Connection = SQLCon SQLCom.CommandText = "INSERT INTO [Current Rentals](MemberID,DVDID,DaysonRent,DateRented,DueDate,TotalPrice,Overdue,DaysOverdue,OverduePrice) VALUES (@p1,@p2,@p3,@p4,@p5,@p6,@p7,@p8,@p9)" SqlCom.Parameters.Add("@p1", SqlDbType.Varchar, 4).Value=tbMemberid.text ...... ...... SqlCom.Parameters.Add("@p8", SqlDbType.Int, 4).Value=DBNull.Value SqlCom.Parameters.Add("@p9", SqlDbType.Int, 4).Value=DBNull.Value …

Member Avatar for BigPandaCake
0
248
Member Avatar for Dcurvez

[b]>used for a little note holder instead of a premade message box[/b] Yes, you can create custom dialog.

Member Avatar for Dcurvez
0
114
Member Avatar for beanboy

Don't append "throws SQLException" [code] i1=st1.executeUpdate("insert into commissiondtls(CompanyCode,BranchCode,LineNo,PartnerCode,CustomerName,InvoiceNo,InvoiceDate,InvoiceAmount,ReceivedAmount,CommissionPer,CommissionPayable,PaymentRef,PaymentDate,InstrumentNo,InstrumentDate,BankName,BankBranch,CommissionPaid,Narration) values('"+CompanyCode+"','"+BranchCode+"','"+commissionDtlsmaxid+"','"+PartnerCode+"','"+CustomerName[i]+"','"+InvoiceNo[i]+"','"+InvoiceDate[i]+"','"+InvoiceAmount[i]+"','"+ReceivedAmount[i]+"','"+CommissionPer[i]+"','"+CommissionPayable[i]+"','"+Paymentno+"','"+Paymentdate+"','"+chequeOrDdNo+"','"+chequeDate+"','"+bankName+"','"+bankBranch+"','"+Amount+"','"+narration+"')"); [/code] I would suggest to use - [URL="http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html"]PreparedStatement.[/URL]

Member Avatar for beanboy
0
192
Member Avatar for LittleMeemz
Member Avatar for LittleMeemz
0
125
Member Avatar for ITGuy2010
Member Avatar for basma.lm

To view the current record, you have to open .sdf which is located under Bin\Debug folder.

Member Avatar for basma.lm
0
86
Member Avatar for rontab68

@shashwat_2010 Please do not resurrect old threads and have a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Please read before posting - [url]http://www.daniweb.com/forums/thread78223.html[/url] Thread Closed.

Member Avatar for kvprajapati
0
109
Member Avatar for timbomo

To [B]timbomo[/B] Please read - [URL="http://www.daniweb.com/forums/announcement8-3.html"]How to use code tags?[/URL] before posting again.

Member Avatar for kvprajapati
-2
1K
Member Avatar for zeke188

You have created two instances - each in separate form. [code] Class1 a = new Class1(); public Form1() { InitializeComponent(); } private void label1_Click(object sender, EventArgs e) { label1.Text =("hello"); a.Greeting = "hello"; } private void button1_Click(object sender, EventArgs e) { Form2 F2 = new Form2(); F2.PassRef(a); F2.Show(); } [/code] …

Member Avatar for zeke188
0
133
Member Avatar for Bagleys

[code] Dim Command As String Command = "ipconfig /all" Shell("cmd /k" & Command, 1, True) [/code]

Member Avatar for Bagleys
0
144
Member Avatar for munna_001

Thread will improve the performance of your app. [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; public class MainForm : Form { TextBox textBox1; Button buttonStart = new Button(); Button buttonExit = new Button(); StringBuilder stringbuilder; public MainForm() { InitializeComponent(); } …

Member Avatar for munna_001
0
273

The End.