15,895,667 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by NagaNimesh 11474558 (Top 80 by date)
NagaNimesh 11474558
13-Oct-18 7:02am
View
We have created a table in SQL Server and the column datatype we declared as NUMERIC(1,1) and we tried to insert a value to that column from GUI,Microsoft SQL Server management studio.
But unable to insert the value like 0.1 to 0.9.
NagaNimesh 11474558
13-Oct-18 6:49am
View
I have already gone through that link you shared and I tried to insert the 0.1 value to NUMERIC(1,1) I am confused that is reason I posted here could you please tell me one example for NUMERIC(1,1)
NagaNimesh 11474558
13-Oct-18 6:31am
View
I tried to insert 0.1 to 0.9 but no luck
NagaNimesh 11474558
13-Oct-18 6:27am
View
Thanks for the reply.
Can you tell me the example for NUMERIC(1,1) datatype
NagaNimesh 11474558
5-Dec-16 3:40am
View
do u want to see the attached file in a textbox???
NagaNimesh 11474558
22-Nov-16 0:18am
View
tanq so much.i got the output.
NagaNimesh 11474558
22-Nov-16 0:18am
View
tanq so much Mr.Mohtshm Zubair
NagaNimesh 11474558
22-Nov-16 0:17am
View
tanq so much all for your suggestion.finally I got the output.
NagaNimesh 11474558
21-Nov-16 0:33am
View
thankx for the rly but im sry,still i didnt able to get the output will u plz give me some code related to that??
NagaNimesh 11474558
19-Nov-16 6:16am
View
here im adding the buttons in a column by the wat each row having that button but i want to add a button to a particular cell in a grid not to all the rows. can u plz help me??
NagaNimesh 11474558
25-Aug-16 5:10am
View
Thanks for replying.
its show the ip is "::1".its not working please help me
NagaNimesh 11474558
1-Aug-16 9:29am
View
class Program
{
static void Main()
{
// Put all file names in root directory into array.
string[] array1 = Directory.GetFiles(@"C:\");
if(array.Length!=0)
{
foreach (string name in array1)
{
string[] filenames=Path.GetFileNameWithoutExtension(name);
}
}
}
}
NagaNimesh 11474558
1-Aug-16 7:33am
View
if files are exist after read all the files in to array to get filename we have path.GetFileNameWithoutExtension("path") .Understand
NagaNimesh 11474558
1-Aug-16 7:32am
View
http://www.dotnetperls.com/directory-getfiles refer this,very easy yar
NagaNimesh 11474558
30-Jul-16 3:23am
View
http://www.codeproject.com/Tips/445876/Auto-bind-byte-to-asp-Image
NagaNimesh 11474558
30-Jul-16 3:23am
View
http://stackoverflow.com/questions/20771432/bind-an-image-in-c-sharp-using-byte-array
NagaNimesh 11474558
30-Jul-16 3:13am
View
for win form we have picturebox to dispaly image on form while it runs. but for web page you have "<img>" image tag u can fetch the image from folder using file stream then convert into byte array[] then u hvae to bind it to image tag to display on web page.
You can bind byte [] array to image tag using $.ajax
NagaNimesh 11474558
30-Jul-16 3:10am
View
do u want to display your image on web page???
NagaNimesh 11474558
29-Jul-16 5:57am
View
because again while it reopen , will reload with form load data
NagaNimesh 11474558
29-Jul-16 5:56am
View
generally what ever the values you assignedto textbox r listbox in form load will never disappear even form closed.
NagaNimesh 11474558
29-Jul-16 5:52am
View
please put your code
NagaNimesh 11474558
29-Jul-16 1:13am
View
means while u r creating a set up file its takes like c:\program files\myname\foldername\filename.extension so here the u need to change the client name in this path did u understood.
please tell me about your application means what it do???
NagaNimesh 11474558
29-Jul-16 1:10am
View
hlo friend i think the issue is after installing setup file in client machine u need to change the path in exe file
NagaNimesh 11474558
25-Jul-16 8:01am
View
have a doubt what is your requirement?? I s user want to select the particular on grid else u can delete all the unwanted rows as in background??
NagaNimesh 11474558
25-Jul-16 7:59am
View
hlo my suggestion is compare the two datatables not in grid directly.once comparision done simply u can bind the result datatable
NagaNimesh 11474558
25-Jul-16 7:22am
View
public DataTable getLinq(DataTable dt1, DataTable dt2)
{
DataTable dtMerged =
(from a in dt1.AsEnumerable()
join b in dt2.AsEnumerable()
on
a["Query"].ToString() equals b["Query"].ToString()
into g
where g.Count() > 0
select a).CopyToDataTable();
return dtMerged;
}
NagaNimesh 11474558
25-Jul-16 7:20am
View
refer this link
http://stackoverflow.com/questions/15713243/compare-two-datatables-and-select-the-rows-that-are-not-present-in-second-table
NagaNimesh 11474558
21-Jul-16 1:52am
View
u can go with ms access 2003 as u can get .mdb file then u can export to excel but for this the provider is not OLEDB.12.0 google for it k
but for ms access 2007 and after (.accdb) u have go with this provider understand??
NagaNimesh 11474558
21-Jul-16 1:50am
View
hy common yar without installing ms access how can u get file from ms access db to excel
NagaNimesh 11474558
20-Jul-16 7:12am
View
pleasure :) all the best
NagaNimesh 11474558
20-Jul-16 5:54am
View
for ms access database we need to use oledb connection only and after 2007 msaccess the extension is .accdb but before 2007 ms office means 2003 ms office the extension is .mdb for that we need to provide the provider like Microsoft.ACE.OLED.12.0 and some extension i thing plase make sure ur office will able to provide for this OLEDB.12.0 . I too dont know bt im expecting this..
NagaNimesh 11474558
19-Jul-16 8:54am
View
pleasure is mine :) is everything done??
NagaNimesh 11474558
19-Jul-16 3:10am
View
plz refer this link
http://www.c-sharpcorner.com/blogs/generate-excel-with-multiple-sheet-from-dataset1
NagaNimesh 11474558
19-Jul-16 3:08am
View
Deleted
plz refer this link thing for our requirement you ngo with XLWORKBOOK
http://www.c-sharpcorner.com/UploadFile/rahul4_saxena/how-to-export-multiple-data-tables-to-multiple-worksheets-in/
NagaNimesh 11474558
19-Jul-16 0:49am
View
string[] columnNames = dt.Columns.Cast<datacolumn>()
.Select(x => x.ColumnName)
.ToArray();
NagaNimesh 11474558
19-Jul-16 0:48am
View
while reading each table takeout the column names in to an array string then after creating new excel your first append those headders string array then data
NagaNimesh 11474558
18-Jul-16 12:29pm
View
please check it now
NagaNimesh 11474558
18-Jul-16 12:12pm
View
tanq Mr.Philippe Mori for the reply i have put my code plz tell me how to solve it??
NagaNimesh 11474558
18-Jul-16 10:34am
View
plz help me..
NagaNimesh 11474558
18-Jul-16 9:15am
View
here dataset.datasetname means u r fetching the name from input source path by using GetFileNameWithoutExtension method
NagaNimesh 11474558
18-Jul-16 9:12am
View
refer this link
http://sizious.com/2015/05/11/how-to-load-an-access-database-into-a-dataset-object-in-c/
NagaNimesh 11474558
18-Jul-16 9:11am
View
System.IO.Path.GetFileNameWithoutExtension(source) will return only the name like CustomerData here you did not extract the tables in mdb file.
System.IO.Path.GetFileNameWithoutExtension means will ge the file name like CustomerData ant not with extension like .mdb.understand??
NagaNimesh 11474558
18-Jul-16 9:07am
View
Thanks for the reply Mr.F-ES Sitecore .
here is my code:
public void CheckFileType(string directoryPath)
{
IEnumerator files = Directory.GetFiles(directoryPath).GetEnumerator();
while (files.MoveNext())
{
//get file extension
string fileExtension = Path.GetExtension(Convert.ToString(files.Current));
//get file name without extenstion
string fileName=
Convert.ToString(files.Current).Replace(fileExtension,string.Empty);
//Check for JPG File Format
if (fileExtension == ".jpg" || fileExtension == ".JPG")
// or // ImageFormat.Jpeg.ToString()
{
try
{
//OCR Operations ...
MODI.Document md = new MODI.Document();
md.Create(Convert.ToString(files.Current));
md.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true);
MODI.Image image = (MODI.Image)md.Images[0];
//create text file with the same Image file name
FileStream createFile =
new FileStream(fileName + ".txt",FileMode.CreateNew);
//save the image text in the text file
StreamWriter writeFile = new StreamWriter(createFile);
writeFile.Write(image.Layout.Text);
writeFile.Close();
}
catch (Exception exc)
{
//uncomment the below code to see the expected errors
//MessageBox.Show(exc.Message,
//"OCR Exception",
//MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
}
In the above code the line "md.OCR(MODI.MiLANGUAGES.miLANG_ENGLISH, true, true)" will extract the text from image here MODI.MiLANGUAGE cannot extract italic text please help me.. by executing the code im getting the error like bad characters are recognized.
NagaNimesh 11474558
18-Jul-16 8:58am
View
http://sizious.com/2015/05/11/how-to-load-an-access-database-into-a-dataset-object-in-c/
NagaNimesh 11474558
18-Jul-16 8:55am
View
yes,put your code what u had tried i will help u
NagaNimesh 11474558
30-Jun-16 7:58am
View
see u r saying that autodownload once file is completed so remove those "response code " try and let me know
NagaNimesh 11474558
25-Jun-16 5:06am
View
Hi Mr.Vinod thanq for the reply. my requirement is cascading dropdown list menu without database and not in aspx or any client side scripting and that must be in programatically only.. can u help me???
NagaNimesh 11474558
25-Jun-16 1:27am
View
hi you have to take matix table then go for how many coluns u want :).dont take textbox r groupbox.
NagaNimesh 11474558
21-Jun-16 0:31am
View
tanq Jochen arndt for your suggestion.I have done my task bye using following solution .
NagaNimesh 11474558
20-Jun-16 4:56am
View
please tell me how to close the files??
NagaNimesh 11474558
20-Jun-16 4:54am
View
Thanq for Replying.but i cant understand what i need to do now u said process explorer is i need to invoke the .dll in to my application???
NagaNimesh 11474558
1-Feb-16 13:18pm
View
hyyy i got the solution .
Tanq so much for your reply.here is the step
System.Diagnostics.Process.Start("myFile.xls");
NagaNimesh 11474558
1-Feb-16 13:13pm
View
i tried like this..
1)using browse button user will select a folder having somany files
2)now all those files will kept in an array
3)now im comparing the user input file name among all file names in that folder using if condition.
4)so finally condition gets true now im struggling to launch that file..
will u please help me??
NagaNimesh 11474558
1-Feb-16 13:09pm
View
no i dont want to read else write or anything.I want to launch that particular file..
NagaNimesh 11474558
29-Oct-15 11:00am
View
tanq..
NagaNimesh 11474558
29-Oct-15 11:00am
View
tanq..
NagaNimesh 11474558
10-Oct-15 0:53am
View
have a doubt here searching not to be for a single column user enter field might be belongs to any column...so im trying to serach row data.. if any row contains this data then im trying to copy that row to new datatable having same column...bt the way i thing datarow will copy to new datatable...?
NagaNimesh 11474558
10-Oct-15 0:13am
View
"Filter expression '25010010' does not evaluate to a Boolean term."
im getting thsi error here 25010010 is my input value...???
NagaNimesh 11474558
10-Oct-15 0:12am
View
I have a datatable have some rows and columns with data... as per my UI user will provide some input value ...now my query is i need to search each row of my datatable..if any row field having user input then that row will copy to my new datatable according to same column...
NagaNimesh 11474558
8-Oct-15 3:09am
View
hlo is there anyone to help me plz.........???????????
NagaNimesh 11474558
7-Oct-15 7:42am
View
Tanq so much...
NagaNimesh 11474558
16-Sep-15 6:54am
View
using winform and also i need to get the webpage content to the string
NagaNimesh 11474558
8-Sep-15 17:38pm
View
i will explain it clearly..,
i have a excel file ,read the data into datatable.but i need to search the data based on user give "inputid" so based on that id the entire row has to be picked
NagaNimesh 11474558
8-Sep-15 17:35pm
View
it is not a ado.net jst a winforms applicaiton
NagaNimesh 11474558
4-Sep-15 15:36pm
View
its a winforms application
NagaNimesh 11474558
4-Sep-15 15:31pm
View
I have a folder contains many excel files
then i need to make a search based on user input value,has in any excel file particular cell then that particular cell row data will transfer to another new excel file
NagaNimesh 11474558
31-Mar-15 0:00am
View
tanq my dears for ur suggestion
NagaNimesh 11474558
16-Mar-15 3:25am
View
tanq so much to everyone ..
sorry i did'nt ask the ques clearly..
my task is to place a try catch in finally block..which mean that there should be only one finally block in a method ???? or shall i place n number of finally blocks in a nested finally block???? but i got some clarity by your suggestions...tanq to all
NagaNimesh 11474558
12-Mar-15 23:52pm
View
ya sure.... tanq for the support
NagaNimesh 11474558
12-Mar-15 1:25am
View
tanq so much
NagaNimesh 11474558
12-Mar-15 1:08am
View
i searched got a conclusion but have a doubt
t=what is abstract data types????????? will u tell me??????
NagaNimesh 11474558
4-Mar-15 23:01pm
View
tanq so much for ur suggetion Mr.Tdit Dash
NagaNimesh 11474558
2-Mar-15 6:02am
View
by using c# and css3 write down code to display your greeting like a popup box.
besed on your condition, whenever your page will loaded then your greeting will display rt????? so for this you will keep display code in page load event..
NagaNimesh 11474558
1-Mar-15 23:55pm
View
tanq so much to you both your best suggestion.. mr.peter Leow , Maciej Los
NagaNimesh 11474558
27-Feb-15 5:04am
View
ha ha very funny.... Maciej Los
i got a task like that....
NagaNimesh 11474558
27-Feb-15 4:33am
View
Thanx for your support Maciej Los..
my question is i have a UI having a field where should i enter mobile number in such a that field like a one text box having 10 columns in which the 10 digits number will enter in to that field like each digit in each box.. i hope u might understand now...
NagaNimesh 11474558
27-Feb-15 4:03am
View
tanq for your suggestion MR.Peter Leow i accept your code but have a doubt..
based on your suggestion i will enter a mobile number on my web page but my UI having a with 10 columns in such a way my 10 digit mobile number will split and each column will read each digit ....
i want c# code will u plz tell me...
NagaNimesh 11474558
27-Feb-15 3:57am
View
tanq so much to everyone for ur suggestion
my question is i have a field in UI like a textbox,having 10 columns it represents to enter a mobile number using c# in asp.net web page????
NagaNimesh 11474558
25-Feb-15 1:41am
View
can anyone tell me the code for "Fill in PDF Form Fields Using the Open Source iTextSharp DLL from asp.net web page", programatically???????????
NagaNimesh 11474558
24-Feb-15 11:33am
View
tanq for the rly but i cant understood wt u r saying ,
"Fill in PDF Form Fields Using the Open Source iTextSharp DLL from asp.net web page"
will u plz tell me...
Show More