15,916,842 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 Amalraj Ramesh (Top 71 by date)
Amalraj Ramesh
9-May-14 0:37am
View
Not clear what do you want to do???
Amalraj Ramesh
2-May-14 5:21am
View
what is the input for txtsearch.Text??
Amalraj Ramesh
2-May-14 3:25am
View
Sure.. thanks again
Amalraj Ramesh
2-May-14 3:18am
View
there is no proparty for Focus()????
Amalraj Ramesh
2-May-14 3:08am
View
is there any way to do like this
@Html.CheckBox("chkrmark", false, new { id = Model.objremarksmasterlist[loop].remarksid, focus=true })
Amalraj Ramesh
2-May-14 3:07am
View
NO, i have this check box in popup, I want set focus when popup show..
Amalraj Ramesh
2-May-14 0:06am
View
Use scope_identity function
Amalraj Ramesh
26-Mar-14 1:05am
View
so there is a no way to convert that docx file in landscape mode??? With out using open xml.
Amalraj Ramesh
25-Mar-14 7:43am
View
is it possible to change landscape mode??
Amalraj Ramesh
25-Mar-14 7:34am
View
Deleted
is there any way to get plain text?? by applying style??
Amalraj Ramesh
25-Mar-14 7:25am
View
Thanks dude.. its working
Amalraj Ramesh
21-Mar-14 3:42am
View
pls verify my code
Amalraj Ramesh
12-Mar-14 5:42am
View
Deleted
Is it possible to convert doc file to docx using c#
Amalraj Ramesh
11-Mar-14 7:44am
View
its working..
void m1(int parm1)
{
int intcount=MethodBase.GetCurrentMethod().GetParameters().Count();
}
Amalraj Ramesh
11-Mar-14 7:32am
View
Thanks arun.. i got some to implement this idea...
Amalraj Ramesh
11-Mar-14 7:19am
View
i dont have any idea..
Amalraj Ramesh
11-Mar-14 7:16am
View
Method
Amalraj Ramesh
11-Mar-14 7:00am
View
its working fine with open office document, Only problem is while open that doc in open office writer
Amalraj Ramesh
7-Mar-14 8:45am
View
yes
Amalraj Ramesh
7-Mar-14 7:17am
View
If you check checkbox immidiatly wants to insert DB???
Amalraj Ramesh
7-Mar-14 7:10am
View
Can u give me some sample data for role table
Amalraj Ramesh
7-Mar-14 7:09am
View
Thats fine.. U have to add new unique id for every role for example Admin=1,Supervisor=2 and map to userid
Amalraj Ramesh
7-Mar-14 6:54am
View
/^([a-zA-Z0-9_.-&])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+$/;
Amalraj Ramesh
7-Mar-14 6:47am
View
Are you insert the updated datetime in db??
Amalraj Ramesh
7-Mar-14 6:20am
View
if you bind the combo box properly
selected value defiantly will work
For better solution post your code logic
Amalraj Ramesh
6-Mar-14 10:32am
View
I want to update the LogoutTime in Db while im closed the browser via close button is it possible??
Amalraj Ramesh
6-Mar-14 4:36am
View
working??
Amalraj Ramesh
6-Mar-14 2:12am
View
open VS and start coding...
happy coding...:P
Amalraj Ramesh
5-Mar-14 23:46pm
View
Give your table data.. and expected output??
Amalraj Ramesh
5-Mar-14 23:30pm
View
Ms Sql Server ???
Amalraj Ramesh
5-Mar-14 12:40pm
View
post your code for best solution
Amalraj Ramesh
5-Mar-14 11:56am
View
1394011615 = what date??
Amalraj Ramesh
5-Mar-14 6:50am
View
Verify this link
https://stackoverflow.com/questions/15742716/how-to-get-column-values-in-one-comma-separated-value
Amalraj Ramesh
5-Mar-14 6:47am
View
change the div id like btnPrint
or
$("#print").css("visibility", "visible");
Amalraj Ramesh
5-Mar-14 6:39am
View
I think its not possible.. :P
Amalraj Ramesh
5-Mar-14 6:36am
View
Try this
SELECT TM_UserID
, FullName
, (CONVERT(VARCHAR(11),AttendanceDate,106) +','+ CONVERT(VARCHAR(11),DATEADD(day, 1, AttendanceDate),106)) AS AbsenteeDate
FROM
@GetAbsenteeDate
ORDER BY
FullName
Amalraj Ramesh
5-Mar-14 6:32am
View
You want nextdate with comma seperation im i right???
Amalraj Ramesh
5-Mar-14 5:59am
View
I can't understand.
Amalraj Ramesh
5-Mar-14 4:22am
View
give the exception details???
Amalraj Ramesh
5-Mar-14 4:17am
View
Post your code..
Amalraj Ramesh
4-Mar-14 23:52pm
View
post your table data also for better solution
Amalraj Ramesh
4-Mar-14 13:43pm
View
i can't understand clearly about your problem..
Amalraj Ramesh
4-Mar-14 13:39pm
View
it throw any error or not??
Amalraj Ramesh
4-Mar-14 13:36pm
View
use mouseleftdwon event
private void Button_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
// Your code
}
Amalraj Ramesh
4-Mar-14 12:54pm
View
see below
Amalraj Ramesh
4-Mar-14 11:52am
View
you already done it..
DataView dv = table2.DefaultView;
dv.Sort = "NEW1 ASC";
DataTable sortedDT = dv.ToTable();
What is the problem here..?
Amalraj Ramesh
4-Mar-14 11:42am
View
check dbo.FakturaDB_Faktura is exist or not in FakturaDB
need more info about error in which line did u get this error...
Amalraj Ramesh
4-Mar-14 9:28am
View
replace this
private static DataTable CompareTwoDataTable(DataTable table1, DataTable table2)
{
DataTable table3 = new DataTable();
DataTable dt = new DataTable();
DataRow dr = null;
for (int i = 0; i < table1.Rows.Count; i++)
{
string col = table1.Rows[i]["Par Name"].ToString();
if (table2.Columns.Contains(col))
{
if (!table3.Columns.Contains(col))
{
table3.Columns.Add(col, typeof(string));
}
for (int j = 0; j < table2.Rows.Count; j++)
{
if (table3.Rows.Count != table2.Rows.Count)
{
dr = table3.NewRow();
table3.Rows.Add(dr);
}
table3.Rows[j][col] = table2.Rows[j][col].ToString();
}
}
}
for (int loop = 0; loop < table3.Columns.Count; loop++)
{
DataView dataview = table3.DefaultView;
dataview.Sort = table3.Columns[loop].ColumnName;
dt = dataview.ToTable();
}
return dt;//Error Not in the current context how to return the sorted table in this case dt
}
Amalraj Ramesh
4-Mar-14 8:25am
View
for (int loop = 0; loop < ft.Columns.Count; loop++)
{
DataView dataview = ft.DefaultView;
dataview.Sort = ft.Columns[loop].ColumnName;
DataTable dt = dataview .ToTable();
}
Amalraj Ramesh
4-Mar-14 7:42am
View
dt.DefaultView.Sort = "ColumnName ASC/DESC";
Amalraj Ramesh
4-Mar-14 7:14am
View
DataView dataview = ft.DefaultView;
dataview.Sort = ft.Columns[0].ColumnName;
DataTable dt = dataview .ToTable();
Amalraj Ramesh
4-Mar-14 6:57am
View
Deleted
my comment not showing properly try this link
http://asp.net.bigresource.com/Installation-how-to-deploy-Microsoft-Office-Interop-Word-dll-on-win-2003-server-r5oREDT7s.html
Amalraj Ramesh
4-Mar-14 6:54am
View
Use templetefiled and do that
Amalraj Ramesh
4-Mar-14 6:52am
View
Deleted
<add assembly="Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C">
Amalraj Ramesh
4-Mar-14 6:52am
View
add like this
<add assembly="Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C">
Amalraj Ramesh
4-Mar-14 6:29am
View
make sure that your web config that version no is same
Amalraj Ramesh
4-Mar-14 6:20am
View
use like this
protected void btnTestFromDataTable_Click(object sender, EventArgs e)
{
DataSet ds = SampleData();
var wb = new XLWorkbook();
for (int intSheetCount = 0; intSheetCount < ds.Tables.Count; intSheetCount++)
{
var dataTable = ds.Tables[intSheetCount];
var ws = wb.AddWorksheet(dataTable);
}
wb.SaveAs(@"C:\Users\amalraj.a\Documents\Visual Studio 2010\Projects\ClosedXMLSample\XLFiles\UsingDataTable.xlsx");
}
Amalraj Ramesh
4-Mar-14 6:18am
View
Deleted
use like this
protected void btnTestFromDataTable_Click(object sender, EventArgs e)
{
DataSet ds = SampleData();
var wb = new XLWorkbook();
for (int intSheetCount = 0; intSheetCount < ds.Tables.Count; intSheetCount++)
{
var dataTable = ds.Tables[intSheetCount];
var ws = wb.AddWorksheet(dataTable);
}
wb.SaveAs(@"C:\Users\amalraj.a\Documents\Visual Studio 2010\Projects\ClosedXMLSample\XLFiles\UsingDataTable.xlsx");
}
Amalraj Ramesh
4-Mar-14 6:05am
View
Use like this
DataView dataview = dtright.DefaultView;
dataview.Sort = dtright.Columns[0].ColumnName;
DataTable dt = dataview.ToTable();
Amalraj Ramesh
4-Mar-14 6:00am
View
I think Request.QueryString["DIST_ID"].Tostring() is null
Amalraj Ramesh
4-Mar-14 5:44am
View
give your connection string..
give the server name another pc IP address
Amalraj Ramesh
4-Mar-14 1:18am
View
hey im happy to helpe you
string subject = "Hai UserName <br/> Thanks .... constaract your mail body";
You can use HTML tag to constact the email subject.
Happy coding..!
Amalraj Ramesh
4-Mar-14 0:46am
View
U don't want save files in db you just save the files in application temp folder and save the file name only in db
try this ajax control if any issue let me know
http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/ajaxfileupload/ajaxfileupload.aspx
Amalraj Ramesh
3-Mar-14 23:49pm
View
In management studio right click on table name and click on view dependencies
It will show the dependencies tables and sp
Amalraj Ramesh
3-Mar-14 23:45pm
View
Have refer this BranchID as foreign key reference
Amalraj Ramesh
3-Mar-14 9:11am
View
Use data type like date
Amalraj Ramesh
3-Mar-14 9:04am
View
Which format stored in server in the format like yyyy-MM-dd
Amalraj Ramesh
3-Mar-14 8:59am
View
You can do this from c# code using timer control
Amalraj Ramesh
3-Mar-14 7:22am
View
first you have to check the query string has value or not
if(Request.QueryString["DIST_ID"].Tostring()!=null)
Amalraj Ramesh
8-Apr-13 10:07am
View
Ok, But i want to get Click event in aspx.cs page.
Amalraj Ramesh
8-Apr-13 10:06am
View
Thank for your reply,
I am not getting any errors or Exception
Button btn = (Button)myControl.FindControl("imgbtnAdd");
//btn is not null the value came for that button
btn.Click += new EventHandler(this.SrchButton_Click);
//
public void SrchButton_Click(object sender, EventArgs e)
{
mpeSearchPopup.Show();
}
Show More