Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #31.8K
~952 People Reached
Favorite Forums
Favorite Tags

5 Posted Topics

Member Avatar for bhavyajyothinat

Make your connection string, the following code will shows a standard MySQL connection string. using MySql.Data.MySqlClient; public static string GetConnectionString() { string connStr = String.Format("server={0};user id={1}; password={2}; database=yourdb; pooling=false", "yourserver", "youruser", "yourpass"); return connStr; } Then create an instance from MySql.Data.MySqlClient.MySqlConnection as shown below. MySql.Data.MySqlClient.MySqlConnection mycon = new MySqlConnection( GetConnectionString());Then …

Member Avatar for bhavyajyothinat
0
305
Member Avatar for adrianSigamoney
Member Avatar for paresh_thummar
Member Avatar for jomgrg
0
146
Member Avatar for ssreevidya.m
Member Avatar for alam14_mist

how to insert data into 2 tables by using one sql query? 1.if there is no relation between two table. 2.if relation exist. One option : using stored procedure u can insert. BEGIN TRANSACTION DECLARE @DataID int INSERT INTO DataTable (Column1 ...) VALUES (....) SELECT @DataID = scope_identity() INSERT INTO …

Member Avatar for jomgrg
0
180

The End.