15,895,084 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 Dhritirao's (Top 111 by date)
Dhritirao's
7-Feb-14 23:54pm
View
what is the ref name
Dhritirao's
31-Jan-14 4:29am
View
with out hardcoding is there any way
Dhritirao's
20-Aug-13 5:11am
View
http://forums.codeguru.com/showthread.php?439027-Windows-Image-Acquisition-(WIA)-Code
Dhritirao's
30-Apr-13 5:24am
View
actually i need to generate report in that i need to get this format.
Dhritirao's
30-Apr-13 5:03am
View
no need to repeat once again their names i just want to split the skills column data to different rows
Dhritirao's
16-Apr-13 1:22am
View
i m having three differnt masterpages 1 for login page another one for only user is manager and last for employees
Dhritirao's
16-Apr-13 1:20am
View
yes i m using css file not getting the design properly
Dhritirao's
16-Apr-13 0:57am
View
if i use this code i m unable to get my master page.
Dhritirao's
13-Apr-13 5:04am
View
as per this code i m able to delete the first document of the employee then how to delete other ?
Dhritirao's
12-Apr-13 23:39pm
View
thanku
Dhritirao's
12-Apr-13 6:42am
View
Deleted
ya i m trying to delete the files permanently from the folder also
Dhritirao's
10-Apr-13 2:27am
View
yes
Dhritirao's
9-Apr-13 4:52am
View
thanku all i got the solution. its my mistake i didnt check in database.
Dhritirao's
8-Apr-13 3:23am
View
thanku very much
Dhritirao's
4-Apr-13 7:51am
View
yes i have cleared that one now working fine
Dhritirao's
4-Apr-13 7:20am
View
thanku veru much
Dhritirao's
20-Mar-13 7:33am
View
can u provide me the sample then i can check why i m getting the error
Dhritirao's
20-Mar-13 7:32am
View
i dont want to use any footer if i place the footer i need to keep in each and every row
Dhritirao's
20-Mar-13 4:54am
View
C#
Dhritirao's
15-Mar-13 7:10am
View
.
Dhritirao's
15-Mar-13 5:05am
View
in that link also there are two drop down in editable only
Dhritirao's
14-Mar-13 6:14am
View
i just need sum of the all columns in a grid view and sum sholud display in single label.
Dhritirao's
14-Mar-13 1:46am
View
i tried like that i am getting this error: Cannot implicitly convert type 'string' to 'System.DateTime
Dhritirao's
13-Mar-13 3:25am
View
ya i have tried its not working i think maintaining different master pages wont work
Dhritirao's
12-Mar-13 7:19am
View
ya but it is not redirecting getting error that the directory mentioned is not correct
Dhritirao's
12-Mar-13 7:16am
View
i have wrote code like before making seperate folders for roles like this: response.redirect("manager.aspx"); else response.redirect ("resource.aspx"); now this is not working after the seperation of folders
Dhritirao's
16-Feb-13 3:34am
View
this is the code i found to hide the div but it is not working
Dhritirao's
16-Feb-13 3:33am
View
if (User.IsInRole("Resource"))
{
this.Master.FindControl("linksmenu").Visible = false;
this.Master.FindControl("linksmenu2").Visible = true;
}
else
{
this.Master.FindControl("linksmenu").Visible = true;
this.Master.FindControl("linksmenu2").Visible = false;
}
Dhritirao's
15-Feb-13 6:01am
View
can we use user.isinrole. i think maintaing seperate div's we can set visibility.
Dhritirao's
15-Feb-13 5:40am
View
i got it its working
Response.Redirect("FullProfile.aspx?id="+ds.Tables[0].Rows[0]["id"].ToString())
Dhritirao's
15-Feb-13 5:25am
View
Deleted
i m unable to assign directly to id like this getting errors
Dhritirao's
15-Feb-13 5:24am
View
Deleted
yes i m having column for role
FullProfile.aspx?id=ds.Tables[0].Rows[0]["id"].ToString() i tried like this
Dhritirao's
30-Jan-13 23:53pm
View
y ur taliking like this. what are this comments i dnt need any help i can search.This is not the proper way to talk with unknown people.any way thanks for u help k leave it.
Dhritirao's
30-Jan-13 23:50pm
View
Deleted
i didnt talk in rude manner u thought like that. this is the site to gain some knowledge.
Dhritirao's
30-Jan-13 5:44am
View
yes
Dhritirao's
30-Jan-13 4:53am
View
thanks i will check it out
Dhritirao's
30-Jan-13 4:40am
View
Deleted
if u r not interestd to provide me the site leave it dont post comments
Dhritirao's
30-Jan-13 0:57am
View
here i m able to insert the row but i m not able edit the existing with new values
Dhritirao's
29-Jan-13 23:59pm
View
i have change that update.id to id now also the values which i have enetered are not editing in the textbox..
Dhritirao's
29-Jan-13 6:27am
View
Must declare the scalar variable "@Email". i m getting this error
Dhritirao's
29-Jan-13 0:52am
View
i m not getting error and the existing row in the database is not updating with new data it as it is
Dhritirao's
25-Jan-13 0:39am
View
is this for conversion of the database. no i just need only for queries.
Dhritirao's
24-Jan-13 7:41am
View
thanku
Dhritirao's
23-Jan-13 23:58pm
View
is there any answer then post it..
Dhritirao's
23-Jan-13 1:27am
View
i need in asp.net
Dhritirao's
19-Jan-13 4:47am
View
i need only the one record
Dhritirao's
18-Jan-13 4:07am
View
thanku
Dhritirao's
17-Jan-13 7:12am
View
public partial class UserInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
bindDropDownList();
}
}
protected void bindDropDownList()
{
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["MyConsString"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("Select ID,Role FROM RoleID", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
ddlrole.DataSource = ds;
ddlrole.DataTextField = "Role";
ddlrole.DataValueField = "ID";
ddlrole.DataBind();
ddlrole.Items.Insert(0, new ListItem("--Select--", "0"));
con.Close();
}
protected void btnNext_Click(object sender, EventArgs e)
{
Session["FirstName"] = FirstName.Text.Trim();
Session["LastName"] = LastName.Text.Trim();
Session["Password"] = Password.Text.Trim();
Session["Email"] = Email.Text.Trim();
Session["Phone"] = Phone.Text.Trim();
Session["Role"] = Convert.ToInt32(Phone.Text);
Response.Redirect("AddInfo.aspx");
}
}
this first page code
Dhritirao's
17-Jan-13 6:36am
View
public partial class AddInfo : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
FirstName.Text = Session["FirstName"].ToString();
LastName.Text = Session["LastName"].ToString();
Email.Text = Session["Email"].ToString();
Phone.Text = Session["Phone"].ToString();
}
protected void btnsubmit_Click(object sender, EventArgs e)
{
addinfo obj = new addinfo();
obj.FirstName = Session["FirstName"].ToString();
obj.LastName = Session["LastName"].ToString();
obj.Email = Session["Email"].ToString();
obj.Phone = Convert.ToInt32(Session["Phone"].ToString());
obj.TaxTerms = rbtaxterms.SelectedItem.Text.Trim();
obj.PrimarySkill = primaryskill.Text.Trim();
obj.SecondarySkill = secondaryskill.Text.Trim();
obj.ResourceManager = resourcemanager.Text.Trim();
obj.Customer=customer.Text.Trim();
obj.StartDate=Convert.ToDateTime(startdate.Text);
obj.Password = Session["Password"].ToString();
obj.Role = Session["Role"].ToString();
Adodata objadodata = new Adodata();
objadodata.userdetails(obj);
}
protected void btnprev_Click(object sender, EventArgs e)
{
Response.Redirect("UserInfo.aspx");
}
}
this is my second page code in that prev button i need to write the code
Dhritirao's
17-Jan-13 5:13am
View
can u tell me how to bind
Dhritirao's
17-Jan-13 4:26am
View
ya i need to redirect to the first page and the data which i entered in first page should be there. but im getting empty fields while redirecting to first page
Dhritirao's
17-Jan-13 3:36am
View
one more if we want to see the page 1 values if we click prev button in page 2 how it can be possible
Dhritirao's
17-Jan-13 2:40am
View
thanku
Dhritirao's
15-Jan-13 4:01am
View
my doubt is there any changes may occur while compared with normal application to master page no i have created master while i m clicking on login button im getting the screen like this :
<script runat="server">
protected void btnLogin_Click(object sender, EventArgs e)
{
}
</script>
Dhritirao's
15-Jan-13 3:58am
View
i tried i m not getting seperate code page.
Dhritirao's
15-Jan-13 3:53am
View
i have checked
Dhritirao's
11-Jan-13 2:40am
View
my doubt is how to pass the organisationid from the code
Dhritirao's
10-Jan-13 2:15am
View
Deleted
no actuallly we can directly assign the drop down list values by list item ok. but i need to assign the drop down list values directly with database table.
Dhritirao's
9-Jan-13 5:22am
View
what is it related to the program only... i dont understand
Dhritirao's
9-Jan-13 4:20am
View
i dnt knw it is useful to ur code or not but check it
Dhritirao's
9-Jan-13 1:48am
View
u r asking while the data entered in grid it should calculate the net salary
Dhritirao's
8-Jan-13 4:26am
View
i tried still i m not getting
Dhritirao's
8-Jan-13 4:24am
View
ya its a string
Dhritirao's
8-Jan-13 0:17am
View
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:treegrid
Dhritirao's
5-Jan-13 6:28am
View
Deleted
thanks for ur help. in place of employee i kept string
Dhritirao's
5-Jan-13 6:27am
View
Deleted
'Employee' is a 'namespace' but is used like a 'type'
Dhritirao's
5-Jan-13 5:42am
View
Deleted
of course i tried keeping employee but not working
Dhritirao's
5-Jan-13 1:45am
View
Select * from Employeertable INNER JOIN Employeetable on Employeertable.Employeerid= Employeetable.Employeerid where Employeertable.Employeerid='"+DropDownList1.SelectedItem.ToString()+"'"
this is my sql command to get he details of employees based on the employeerid selected in drop down but where this statement i have to keep is it possible to keep in the service. but in service there will be no dropdown so how to do
Dhritirao's
4-Jan-13 6:38am
View
micromax
Dhritirao's
4-Jan-13 6:15am
View
some more in detail ask the question
Dhritirao's
4-Jan-13 5:55am
View
http://dotnetzip.codeplex.com/releases/view/27890
i have downloaded the dll from this link only
Dhritirao's
4-Jan-13 5:15am
View
http://www.webdeveloper.com/forum/showthread.php?87385-Create-a-zipped-folder-using-php
check this link
Dhritirao's
4-Jan-13 4:59am
View
how the site map navigation is used
Dhritirao's
4-Jan-13 3:30am
View
i dont understand what is the problem..
Dhritirao's
4-Jan-13 2:35am
View
Deleted
Select * from Employeertable INNER JOIN Employeetable on Employeertable.Employeerid= Employeetable.Employeerid
upto this i able to get the table but i need the output base on the ID i have choseen. but total table is displaying so i use where statement there i m getting error
Dhritirao's
4-Jan-13 2:08am
View
i didnt wrote any code in wcf service appln but i wrote Using Employee.dll then i got that service is hosted
Dhritirao's
4-Jan-13 2:07am
View
ya i have done in the same way i added the dll, one doubt we need to write any code in this wcf service application?
Dhritirao's
3-Jan-13 6:41am
View
thanku so much i got it.................
Dhritirao's
3-Jan-13 2:02am
View
initially also i didnt add any public in iservice1.cs i just declared dataset getemployee(string str)
Dhritirao's
3-Jan-13 0:49am
View
thanks one doubt i have wrote public dataset and whereas in iservice1 what can be the return type. u suggested me interface dataset it is also not working..
Dhritirao's
1-Jan-13 2:49am
View
some one suggested me to do like that.
Dhritirao's
29-Dec-12 5:13am
View
thanks for ur help
Dhritirao's
29-Dec-12 4:55am
View
'Employeer.Service1.GetEmployee(int)': not all code paths return a value
now im getting this error
Dhritirao's
28-Dec-12 4:35am
View
http://www.codeproject.com/Articles/12003/JavaScript-Validation-in-User-Control
Dhritirao's
28-Dec-12 4:15am
View
ya i to know its free of cost. but without using those is there any possibility i asked.
Dhritirao's
28-Dec-12 4:14am
View
ok thanks for ur help
Dhritirao's
28-Dec-12 2:22am
View
i dnot want to downlaod any libraries
Dhritirao's
28-Dec-12 2:20am
View
actually ididnt get u, but what i mean to say is i have already worked the same with using third party dll i.e using ionic but now my t.l want to work me with out using any third party dll. but as per the above i m able to Zip for very less size files. i need it for upto 2gb
Dhritirao's
28-Dec-12 2:08am
View
actually i need it has to compres upto 2gb.. i m getting error like this: The file is too long. This operation is currently limited to supporting files less than 2 gigabytes in size.
Dhritirao's
28-Dec-12 2:05am
View
thanks for u hellp
Dhritirao's
28-Dec-12 1:28am
View
using System.IO.Compression;
i m using this but getting error like this
Error 1 'System.IO.FileStream' does not contain a definition for 'CopyTo' and no extension method 'CopyTo' accepting a first argument of type 'System.IO.FileStream' could be found (are you missing a using directive or an assembly reference?)
Dhritirao's
28-Dec-12 1:18am
View
Deleted
Still i m unable to get .by using this code
Dhritirao's
28-Dec-12 1:18am
View
Deleted
using System;
using System.IO;
using System.IO.Compression;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
string startPath = @"c:\example\start";
string zipPath = @"c:\example\result.zip";
string extractPath = @"c:\example\extract";
ZipFile.CreateFromDirectory(startPath, zipPath);
ZipFile.ExtractToDirectory(zipPath, extractPath);
}
}
}
Dhritirao's
27-Dec-12 11:32am
View
sorry first i dnt understood but i tried it. its working thanks for ur help.
Dhritirao's
27-Dec-12 11:30am
View
thanks for u all i got it
Dhritirao's
27-Dec-12 7:45am
View
no i didnt get any issue i m just asking is itpossible or not
Dhritirao's
27-Dec-12 6:08am
View
i m unable to understand in that what should i download i m not getting anything
Dhritirao's
25-Dec-12 1:45am
View
no what is my question is by adding the site map path we can also see the path that in which page we are for example: Home>menu>carrers like that i m not getting.
Dhritirao's
20-Dec-12 3:11am
View
actually i have two tables and empid is common column in two tables
Dhritirao's
19-Dec-12 6:30am
View
foreach (GridViewRow gr in GridView.Rows)
{
objOrderDetail.Add(new OrderDetail
{
Code = int.Parse(((Label)(gr.FindControl("lblcode"))).Text),
Descritpion = ((Label)(gr.FindControl("lbldescription"))).Text,
Rate = int.Parse(((Label)(gr.FindControl("lblrate"))).Text),
Qty = int.Parse(((Label)(gr.FindControl("lblqty"))).Text),
Total = ((Label)(gr.FindControl("lbltotal"))).Text
});
}
Dhritirao's
19-Dec-12 5:46am
View
here i m able to store only the last row in grid view how to store all rows in gridview.....
Dhritirao's
19-Dec-12 2:08am
View
i have a doubt i need to add one more column as orderid in my second table right
Dhritirao's
19-Dec-12 1:57am
View
What I need to do is insert into two different tables SQL databse.
1 will save data into Order1_sp using OrderNo identity.
2 will use the ID from the first Sp and then Save into OrderDetails_sp.
Dhritirao's
19-Dec-12 1:52am
View
here i m using OrderNo in two tables with the help of orderno and two tables has to be filled and i kept the identity for orderNo....
Dhritirao's
18-Dec-12 5:30am
View
Deleted
no i have assigned description and total as string datatype. while trying to debug i m getting invalid cast exception.
Dhritirao's
18-Dec-12 5:17am
View
Deleted
ya i have modified as u said but i m getting error like this: "Failed to convert parameter value from a List`1 to a Int32".
Dhritirao's
18-Dec-12 5:16am
View
Deleted
ya i have modified as u said but i m getting error like this:
"Failed to convert parameter value from a List`1 to a Int32".
Dhritirao's
18-Dec-12 5:10am
View
Deleted
it just represents empty value u r not assigning any value for that. thats it.
Dhritirao's
14-Dec-12 3:51am
View
sorry i didnt observe that.........
Dhritirao's
14-Dec-12 0:53am
View
thanku its working
Dhritirao's
12-Dec-12 6:28am
View
thanks for ur quick response.......
Show More