DataTable dt = new DataTable("tblImgData");
//Adds a column called picture
//Add a row to the table
//Then add it to the DataSet
Ds = new DataSet("NewDataSetName");
byte GetImageData(string fileName )
//Method to load an image from disk and return it as a bytestream
System.IO.FileStream fs = new System.IO.FileStream(fileName,System.IO.FileMode.Open, System.IO.FileAccess.Read);
System.IO.BinaryReader br = new System.IO.BinaryReader(fs);
thanks for replying
yes, this method is inside the dll, but how can we pass a control name (textbox, combo) when we creating a dll. as at calling the dll method he just pass the form object (this) and all control accessible inside the dll. how can we manage dll project and application project which using this dll.
I have a requirement in which i have to create folders and few excel files based on the no of launches and users during runtime.
when i click "download" button, i will have info of no of launches and no of users , so based on no of launches it should create those many folders and based on no of users in each launch, those many excel files in each folder should be created.
launches 5. then 5 folders to be created with the name of each folder is the launch name
if in launch 1, users 6 => in Launch1 folder, 6 excel files with the file name as the user name to be created. ( i mean these excel files are not default files but i have a template for this, that template with the user name should be created for this.)
if in launch 2, users 19, in Launch2 folder, 19 excel files with the file name as the user name to be created.
I have to draw concentric circles in such a manner that even if the form is resized the circles are displayed in the center of the form. I tried using DrawEllipse but I don't get the desired effect.
Can someone help.
You need to google first, if you have "It's urgent please" mentioned in your question. _AnShUmAn_