Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #10.5K
Ranked #2K
~12.7K People Reached
Favorite Tags

15 Posted Topics

Member Avatar for bhagawatshinde

CONNECTION STRING: using System.Data.OleDb; using System.Data; public class AccessMySQLConnection { OleDbConnection c = new OleDbConnection(); public string Path = Application.StartupPath + "\\Data\\SonamDb.mdb"; public string connection_string = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + Path + ";"; public void Open() { if (c.State == ConnectionState.Closed) { c.ConnectionString = connection_string; c.Open(); } } public void Close() …

Member Avatar for deceptikon
0
5K
Member Avatar for hoosier23

MessageBox.Show("Name:", BName.toString(), MessageBoxButtons.OK, MessageBoxIcon.Information)

Member Avatar for Rakesh jack
0
546
Member Avatar for OblibSystems
Member Avatar for Shwetha Dali
Member Avatar for tricket_7

your class seems to be working... I think the problem is on how you call the class. private void btnEquals_Click(System.Object sender, System.EventArgs e) { Calculator x = new Calculator(); double answerNumber; answerNumber = x.Equals(firstNumber, secondNumber, arithmeticProcess, answerNumber); txtDisplay.Text = Convert.ToString(x.GetDisplayText(answerNumber)); }

Member Avatar for dynw
1
1K
Member Avatar for jacg4

create a new event handler in `Form2.designer` ex: this.form2_unload += new System.Windows.Forms.EventHandler(this.Form2_unload); then: private MainForm gg; public Form2(Project1.Form1 p) { InitializeComponent(); this.Owner = p; gg = p; } private void Form2_unload(object sender, EventArgs e) { gg.form1.show(); //or form1.visible = true; this.close(); }

Member Avatar for Geekitygeek
0
5K
Member Avatar for neolyte120109

create a new class for SQLconnection ex: '********************************************* 'Execute_SP_Reader() 'Call this to execute a SELECT statement '********************************************* Public Function Execute_SP_DataReader(ByVal sp_name As String, _ ByVal param As SqlParameter()) As SqlDataReader Open() Dim cmd As SqlCommand = New SqlCommand(sp_name, c) cmd.CommandType = CommandType.StoredProcedure 'parse and add the parameters For Each p …

Member Avatar for Teme64
0
160
Member Avatar for azfarhus

int a,b,c; a = Convert.ToInt32(textBox1.Substring(1,1); b = Convert.ToInt32(textBox1.Substring(2,2); c = a+b; textbox3.text = convert.toString(c); hope this help...

Member Avatar for arunkumars
0
213
Member Avatar for kerek2
Member Avatar for CPUTcoder
Member Avatar for Vineeth K
0
136
Member Avatar for thilinam

[QUOTE=thilinam;1006607]Hi, Thanks for helping me.. I'm using widows authentication here is the connection string. [CODE]"Data Source=WS4001\sqlexpress;Initial Catalog=tempdb;Integrated Security=True"[/CODE] I tried to use sql authentication. But I'm unable to connect database. How can I find the user name which associated with trusted sql server. please help me Thanks.[/QUOTE] I think your …

Member Avatar for thilinam
0
131
Member Avatar for scwolf

use a data reader ex: while (drResult.read()) x = drResult("id").toString() end drResult.close() of course you must use a stored procedure in order to retrieve the info in a particular table

Member Avatar for vsa000
0
95
Member Avatar for sakhi kul
Member Avatar for Kimberley Smith

[QUOTE=Kimberley Smith;309525]I am new to this forum and very new to vb.net. The previous programmer wrote a program in vb.net that helps us with our merchandise received transactions. It is now getting the following error: "System.Data.SQLClient.SQLException Timeout Expired. The timeout period elapsed prior to completion of the operation or the …

Member Avatar for GeekByChoiCe
0
187
Member Avatar for san_crazy

[QUOTE=san_crazy;1006697]I am designing a website in ASP.Net and want to use captcha in my website. I believe it is used for security, will I need to create an additional column in database table to store string in capcha image? if the purpose is security, then how should I deal with …

Member Avatar for vsa000
0
104

The End.