vinod jangir

vinod jangir

  • 2k
  • 114
  • 7.2k

what is string path

Sep 25 2015 5:25 AM
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
string path = @"C:\Users\vinod\Desktop\ShriSankalp\Windows_ValChk";
string[,] passwordSt = new string[,] // 5X10
{
{"ASDF","QWER","MKOG","EDFR","CVBH","DRFW","HNKO","GHER","RERW","SWVU"},
{"ASDW","HJUM","VGTR","VFDS","PCFT","GEIK","CWTH","GETD","ETDA","EFQS"},
{"HGFD","POLK","DFRE","NBGH","JYUO","GECS","DFWU","GQAS","VRYE","CAER"},
{"GFHY", "OPHY","GHSW","JNYH","CFFR","VS5H","CD3T","C67N","F34F","F8J5"},
{"DRFW", "HNKO","GHER","RERW","SWVU","E4N7","2C8U","3F5N","3CFD","F5UT"}
};
// Validity scr = new Validity();
//bool logic = scr.Algorithm(passwordSt, path);
bool isOpen = false;
string strconnection = string.Empty;
SqlConnection con = new SqlConnection();
//if (logic == true)
 
 
 
 
I Got  Following error
{"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception."}
 SqlConnection con = new SqlConnection();  step
 
 
 

Answers (3)