16,004,833 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 .NET 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 choudhary.sumit (Top 130 by date)
choudhary.sumit
5-Mar-13 6:52am
View
i can understand you like this:
1. You want a email program written in c#.
2. You also want a timer code.
3. You are failed to make me understood what is outtime and intime here.
elaborate.
choudhary.sumit
5-Mar-13 6:45am
View
ok. post your code here in which you are binding your datasource.
choudhary.sumit
5-Mar-13 6:38am
View
USe parameterized query in that case. if u r passing table name with the textbox1, then replace the "animal" with the "+textbox1.text+" in the above example.
choudhary.sumit
5-Mar-13 6:29am
View
Dear sheriff what you want to ask exactly?
choudhary.sumit
5-Mar-13 6:00am
View
what you have tried so far?
choudhary.sumit
5-Jan-13 4:34am
View
i have visited those links already. they are gud for running macros if macro are inbuilt with the doc. but i have to call macros from .dotm file. so i m not getting help from you. please update solution if u can.
choudhary.sumit
22-Dec-12 2:26am
View
post your code here.
choudhary.sumit
14-Dec-12 6:46am
View
Deleted
thanx graus for providing hint.
i make it possible.
choudhary.sumit
14-Dec-12 2:24am
View
can you provide me a XSLT format for this.
choudhary.sumit
13-Dec-12 2:15am
View
it seems ok so far.post "Rating1_Changed" event code.
choudhary.sumit
13-Dec-12 2:07am
View
put your rating star control inside the update panel not the whole page. post your design code here so that i can identify the issue.
choudhary.sumit
13-Dec-12 2:03am
View
when submitting your login information:
<pre lang="c#">
Session["Username"] = txtusername.text;
//on login page on load event!
(Session["UserName"] != null)
{
Response.write("You are already logged in");
}</pre>
choudhary.sumit
12-Dec-12 23:33pm
View
so why you have not started it yet? is there any problem or issue you want to ask?
choudhary.sumit
12-Dec-12 6:43am
View
do you have only .mdf file. dont you have log file which has a extension .ldf
choudhary.sumit
12-Dec-12 6:41am
View
s'il vous plaît envoyer votre question en langue anglaise
choudhary.sumit
12-Dec-12 5:36am
View
what are your strategies to define connection strings. in the same page, web.cofig or a saprate layer i.e. a class??
choudhary.sumit
12-Dec-12 5:26am
View
gud question.
choudhary.sumit
12-Dec-12 5:11am
View
its wonderful, can you please explain me what is difference between those two formats.
choudhary.sumit
12-Dec-12 5:05am
View
post your query which you are using to fetch data and make the EmployeeBindingSource.
choudhary.sumit
12-Dec-12 5:01am
View
what are you doing? what is your purpose?? be clear?
choudhary.sumit
12-Dec-12 4:59am
View
which one is question why or how??
choudhary.sumit
12-Dec-12 4:55am
View
what you want to do with this piece of code??
choudhary.sumit
12-Dec-12 4:50am
View
if it realy helped you. you can mark it as Answer.
choudhary.sumit
12-Dec-12 3:27am
View
this is the feature of textbox whose textmode is "password".
i suggest you to use update panel in this case.
choudhary.sumit
12-Dec-12 2:50am
View
why don't you code this? what are you searching for?
if(textBox1.Text =="" && textBox2.Text ==""){// show error}
choudhary.sumit
12-Dec-12 2:40am
View
answer updated! you can also use between keyword instead of using < and >
choudhary.sumit
12-Dec-12 2:19am
View
you created a website or a software ???
choudhary.sumit
12-Dec-12 2:17am
View
post your connectionstring here from web.config file
choudhary.sumit
12-Dec-12 2:01am
View
why page is postbacked after filling the password???
choudhary.sumit
11-Dec-12 6:54am
View
aren't you using any front end?
choudhary.sumit
11-Dec-12 6:47am
View
ok, gud! now just delete your comments from here. see you.
choudhary.sumit
11-Dec-12 6:45am
View
from where NumberOfLables values are coming?? i think the first row is insrted manually and the rest should be automatic. am i right??
choudhary.sumit
11-Dec-12 6:42am
View
Deleted
jansath road , aggarsen vihar.
choudhary.sumit
11-Dec-12 6:37am
View
Deleted
u from mzn? me too.
choudhary.sumit
11-Dec-12 6:27am
View
what are your doubts??
choudhary.sumit
11-Dec-12 6:09am
View
so why wrote the code on click_event, if u want output on mousehover??
choudhary.sumit
11-Dec-12 6:06am
View
bhai samjh me nahi aayi baat, khul k bata thoda!
choudhary.sumit
11-Dec-12 5:53am
View
don't be angry paul! help him.
choudhary.sumit
11-Dec-12 5:46am
View
how are defining your timeout limit?
choudhary.sumit
11-Dec-12 5:35am
View
are you working on web application or a desktop application?
choudhary.sumit
11-Dec-12 5:28am
View
Post your code mam so that members can help you!
choudhary.sumit
11-Dec-12 4:47am
View
in which browsers you have tested it so far?
choudhary.sumit
11-Dec-12 4:29am
View
ok, then just build a backup, keep it in you application directory, take away your code, restore it on the machine either through code or directly from the sql server wizard. you must have sqlserver installed on client machine in that case!
choudhary.sumit
11-Dec-12 4:24am
View
are the systems are connected through intranet or LAN?
choudhary.sumit
11-Dec-12 4:19am
View
why dont u use a TextBox with autocompletesource=custom for this purpose? set autocompletemode to "suggest & Append" then it will be useful as you want!
choudhary.sumit
11-Dec-12 2:02am
View
anyways i post a code for you if it can help. but it is not the proper way to do coding
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
private void textBox1_Leave(object sender, EventArgs e)
{
if (!button1.Focused)
{
if (textBox1.Text == string.Empty)
{
MessageBox.Show("TextBox Is Empty");
textBox1.Focus();
}
}
else
{
}
}
choudhary.sumit
11-Dec-12 0:06am
View
post your full query with some table records fro example.
choudhary.sumit
10-Dec-12 23:02pm
View
are u using WPF or simply winforms??
choudhary.sumit
10-Dec-12 1:05am
View
i gave u the link, go through it. there is one thing u didn't see..
"Copy not only new records and changes, but specify what to do if the datasets do not have the same schemas."
choudhary.sumit
10-Dec-12 0:55am
View
if they are empty, what is the reason to be exist of them in table? elaborate your question.
choudhary.sumit
10-Dec-12 0:49am
View
what if i suggest you to use http://www.codeproject.com/Articles/10093/Validators-for-Windows-Forms-ValidationProvider-Co
choudhary.sumit
9-Dec-12 23:08pm
View
why don't you use DataList control?
choudhary.sumit
7-Dec-12 23:47pm
View
so what is the problem?? why u are not able to do this? any error?
choudhary.sumit
7-Dec-12 6:36am
View
gud example.
choudhary.sumit
7-Dec-12 6:31am
View
what you exactly want dear..?? when will u want to send me an email :)
choudhary.sumit
7-Dec-12 6:17am
View
post your code.
choudhary.sumit
7-Dec-12 6:15am
View
what error u r facing?
choudhary.sumit
7-Dec-12 6:13am
View
so what is the problem. on which event u want to do so?
choudhary.sumit
7-Dec-12 6:10am
View
close your reader at the very top line in GetDataReader(..) method.
choudhary.sumit
7-Dec-12 6:05am
View
what equality u r comparing.as far as i understood, ABCD & DCCD has D& C equal.. if i m right and i will produce a query for u. otherwise elaborate your problem further.
choudhary.sumit
7-Dec-12 5:28am
View
wat you mean by access all controls? explain in detail..
choudhary.sumit
7-Dec-12 5:00am
View
use only row instead of Rows[row] in "(CheckBox)GridView1.Rows[row].FindControl("CheckBox1");"
choudhary.sumit
7-Dec-12 4:48am
View
do you have any front end?
choudhary.sumit
7-Dec-12 4:47am
View
are you using any database?? in which this data is stored?
choudhary.sumit
7-Dec-12 3:21am
View
what error u r facing?
choudhary.sumit
7-Dec-12 3:13am
View
are you filling your grid from sql database??
choudhary.sumit
7-Dec-12 2:27am
View
where is your code block for checking the status of checkbox1??
choudhary.sumit
7-Dec-12 1:42am
View
then follow the solution given by mehdi gholam in solution1
choudhary.sumit
7-Dec-12 1:35am
View
how are u binding your ListView? post the code
choudhary.sumit
7-Dec-12 1:33am
View
why don't you save the path of the file in the database instead??
choudhary.sumit
7-Dec-12 1:20am
View
what you want to do actually??
choudhary.sumit
6-Dec-12 23:50pm
View
http://www.codeproject.com/Articles/38682/Overview-of-SQL-Server-Stored-Procedure
choudhary.sumit
6-Dec-12 6:04am
View
what?
choudhary.sumit
6-Dec-12 4:15am
View
post your code here
choudhary.sumit
6-Dec-12 1:55am
View
what u mean by auto generation in c#.net.. explain in detail.
choudhary.sumit
6-Dec-12 1:44am
View
it can help you to insert new row at 0 index after binding grid. in the first row you can have you desired column with the sum of the downwards value.
choudhary.sumit
6-Dec-12 1:08am
View
u can tell me error u r facing.. ok?
choudhary.sumit
6-Dec-12 0:57am
View
how you are filling your grid?
choudhary.sumit
6-Dec-12 0:55am
View
ok. then there should not be an issue of administrator permissions. may i know what the error u r facing?
choudhary.sumit
6-Dec-12 0:50am
View
which operationg system u are using??
choudhary.sumit
6-Dec-12 0:14am
View
ok ok.. i got you. so why u have two diffrent datatables for this. use only one containing all 8 columns.
choudhary.sumit
6-Dec-12 0:06am
View
just use aliasing with every column you retrieved
choudhary.sumit
6-Dec-12 0:05am
View
ok suppose you are using this query "select itemname,quantity,.... from mytable" just change your query with "select itemname as [ITEM NAME], quantity as [QUANTITY],... & so on from mytable"
choudhary.sumit
6-Dec-12 0:00am
View
gimme your "select" query, which u r using to fetch data.
choudhary.sumit
5-Dec-12 23:36pm
View
what u have tried so far?
choudhary.sumit
5-Dec-12 5:56am
View
ok.. right click on your setup project in solution explorer. goto "Add" >> "file".. and add your stand.bak file here.
and make a restoration from here with the code shown in the above comment's link... keep your backup somewhere also. becoz you have to delete the databse from server if u r just testing your code with restore.
choudhary.sumit
5-Dec-12 5:45am
View
hi. you will need a database backup script when you will run your app first time so we create a code for this.. you must have a look on this...
http://www.codeproject.com/Articles/26390/SQL-Server-2005-Database-Backup-and-Restore-using
it is just an code we need some more. we will have to check the same database does'nt exist already on the other computer. if not then we will run the script and if yes then we skip the restoration and just redirected to our main windows form.. so u already created your backup.. temporarily put it anywhere and use this code.just do it and i will b back with u after some time.
choudhary.sumit
5-Dec-12 3:28am
View
ok tell me how are you deploying your project.are u using a setup project or anything else.? i will leave a video tutorial for u.. wait for the eve.
choudhary.sumit
5-Dec-12 2:49am
View
ok..i can. first make a backup file of your database. put it in your application directory in which application will be installed. continued..
choudhary.sumit
5-Dec-12 2:43am
View
so u r just looking for the name written on the head of the virus file.
its worthless. first study about viruses, what they are.
choudhary.sumit
5-Dec-12 2:28am
View
why don't u use way2sms api?
choudhary.sumit
5-Dec-12 2:27am
View
are you attaching your database with this setup?? and wrote script to restore on another machine??
choudhary.sumit
5-Dec-12 2:22am
View
Wikipedia.
choudhary.sumit
5-Dec-12 1:46am
View
explain "diffrent"?do u mean more then one datasourse?
choudhary.sumit
5-Dec-12 1:35am
View
what is button1 codebehind?
choudhary.sumit
5-Dec-12 1:30am
View
ha ha ha... help him kryukov.
choudhary.sumit
5-Dec-12 1:28am
View
insert india at 0 index of the dropdown. dont fetch it from database..
choudhary.sumit
5-Dec-12 1:23am
View
post your code..
choudhary.sumit
4-Dec-12 2:30am
View
did you forget to bind your listview to the appropriate dataset??
choudhary.sumit
4-Dec-12 2:28am
View
in which format you want your print file?
choudhary.sumit
21-Nov-12 6:39am
View
what error u are getting?
choudhary.sumit
21-Nov-12 6:22am
View
what u mean by "deleting the folder".. explain in detail.
choudhary.sumit
21-Nov-12 5:00am
View
post your code.. how u r filling ur datatable!!
choudhary.sumit
2-Nov-12 6:15am
View
i think reason may be the datetime format.
may be it read 1st november to 11th of January.
choudhary.sumit
2-Nov-12 5:55am
View
thanks.. very helpful
5 star
choudhary.sumit
18-Oct-12 4:52am
View
thanks dear.
it works great!! :)
choudhary.sumit
9-Oct-12 6:29am
View
what you need exactly bro???
choudhary.sumit
9-Oct-12 4:25am
View
sory.. i cant understand you. what is the messageboxfont here.. will you please explain in detail?
choudhary.sumit
21-Sep-12 2:41am
View
thanks for your response sir but i know how to change the background i want to know only what is that thing with that dataset designer form. i want to use exactly that.
choudhary.sumit
31-Aug-12 5:22am
View
no effect :(
nothing happening when i hit enter... none of the events are firing
choudhary.sumit
31-Aug-12 4:46am
View
yes i m working on winforms
choudhary.sumit
15-Mar-12 8:10am
View
but i m using listbox not listview...:(
choudhary.sumit
17-Feb-12 14:20pm
View
what size of image control you have set in item template?
choudhary.sumit
17-Feb-12 5:50am
View
if u have windows7 or Vista, then open your visual studio as "Run as administrator"
choudhary.sumit
17-Nov-11 7:45am
View
thanx..it works great!
choudhary.sumit
12-Nov-11 4:41am
View
ok. i just want to insert the image name in database along with the rest of the registration fields.
choudhary.sumit
18-Oct-11 3:47am
View
thanks !! really helpfull
choudhary.sumit
7-Oct-11 8:01am
View
"restore failed for server PC1\SQLEXPRESS "
i want to make to remember that code works fine for every backup file other than sms.bak
choudhary.sumit
7-Oct-11 7:11am
View
post your code!
choudhary.sumit
1-Oct-11 15:59pm
View
i need any c# code to accomplish, i really cant do this by reading definition.
choudhary.sumit
24-Sep-11 3:39am
View
yes I've learn a lot!!
sorry for the statements.
i wrote that here coz many times we does'nt get what we want from the references.
but i should be reliable on members like u.
so please put ur anger for me aside and do something for me.
choudhary.sumit
23-Sep-11 1:54am
View
tried!! but nothing happened.
should i send u file??
give me your email.
choudhary.sumit
21-Sep-11 2:00am
View
second one can now fire a shot!!
thanx alote
choudhary.sumit
21-Sep-11 1:56am
View
dear
i got this error "The name 'ImageButton1' does not exist in the current context"
should i do some changes on imagebutton control source??
choudhary.sumit
19-Sep-11 10:23am
View
Thanx pawar.. Problem Resolved.!!
choudhary.sumit
19-Sep-11 10:15am
View
i got this error please resolve...
Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls.TableItemStyle does not have a DataBinding event.
choudhary.sumit
25-Aug-11 8:56am
View
dear..will u please help me how can i tell my installer to copy files in program files
choudhary.sumit
25-Aug-11 8:42am
View
thanx simon
choudhary.sumit
24-Aug-11 9:07am
View
thanks wayne... i've tried it but framework installation starts from microsoft website.. i want to include it in my application. is there any specific directory in my app from where it starts download and install
choudhary.sumit
24-Aug-11 7:24am
View
I m using Sql Enterprise version. and i think deployment does'nt depends upon number of machines.
Show More