16,004,587 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 Er. Puneet Goel (Top 200 by date)
Er. Puneet Goel
17-Sep-18 9:41am
View
please format properly. Use Code tags for writing code. This way you get the solution quicker.
Er. Puneet Goel
14-Sep-18 4:04am
View
you question is not complete. I mean can you show what string you are talking about?
Er. Puneet Goel
14-Sep-18 4:03am
View
Ahmed..any progress?
Er. Puneet Goel
12-Sep-18 1:43am
View
try to look into the console or add debugger. Atleast we need some clue to reach it,
Er. Puneet Goel
11-Sep-18 8:08am
View
There are cases we have to use such api's.
Er. Puneet Goel
11-Sep-18 8:07am
View
What is the error you are getting ?
Er. Puneet Goel
30-Aug-18 5:14am
View
Please share some code login you implemented. A genuine effort is welcome.
Er. Puneet Goel
28-Aug-18 6:39am
View
On that page, they are not just using the above formula but they have some other logic. A financial person will tell what they are doing and then you can convert them to program. That's how development works.
Er. Puneet Goel
28-Aug-18 6:38am
View
See, we can provide you with how you can solve what you ask not what your business want. So, you need to see what logic they are implementing. Hope you understand.
Er. Puneet Goel
28-Aug-18 4:29am
View
You can use your own connection string directly to the application.
Er. Puneet Goel
28-Aug-18 2:50am
View
Please edit and repost the question.
Er. Puneet Goel
28-Aug-18 2:44am
View
Can you show us how you tried...we are happy to help you must put efforts for that first. Hope you understand.
Er. Puneet Goel
28-Aug-18 2:22am
View
You can use Ado.Net for sql Linking.
Er. Puneet Goel
28-Aug-18 2:21am
View
Please accept the solution first then we can proceed.
Er. Puneet Goel
28-Aug-18 2:21am
View
Deleted
Please mark the above as solution then we can proceed further.
Er. Puneet Goel
28-Aug-18 2:10am
View
Are you using code first approach?
Er. Puneet Goel
28-Aug-18 2:08am
View
Then I recommend you to look for the option to import data from MySql To SQL Server. SSIS package can do the same. Also, SQL Server Import Export functionality can do this as well.
Er. Puneet Goel
28-Aug-18 1:57am
View
You basically need to import all data from MYSQL to SQL. rights?
Er. Puneet Goel
28-Aug-18 1:51am
View
welcome
Er. Puneet Goel
27-Aug-18 2:24am
View
use only this section, static void Main(string[] args)
{
//Console.BufferHeight = 10;
for (int i = 1; i <= 10; i = i + 1)
{
MessageBox.Show(i.ToString());
}
Console.ReadLine();
}
and include 'using System.Windows.Forms;' namespace.
This is ver basic
Er. Puneet Goel
27-Aug-18 2:23am
View
Ok, but once the image is saved and you have to save the new image you again have to enter the new path or basically image name as the path is same. Right?
Er. Puneet Goel
27-Aug-18 1:53am
View
Alright, and what is the problem with your code?
Er. Puneet Goel
27-Aug-18 1:13am
View
you have to use asynchronous call to update any server-side property.
Er. Puneet Goel
27-Aug-18 1:05am
View
Welcome.
Er. Puneet Goel
27-Aug-18 1:04am
View
Without dialog box means? are you passing folder path in the dialog box or you don't need dialog box for upload?
Er. Puneet Goel
27-Aug-18 1:02am
View
you see its already adding 4 digits to your TAX_ID.
Er. Puneet Goel
22-Aug-18 2:41am
View
Definitely
Er. Puneet Goel
22-Aug-18 0:57am
View
While writing code we always aim for performance. While achieving this, we sometimes end up writing too messy code. So a code must be a balance between performance and readability (easy to understand)
Er. Puneet Goel
9-Jul-18 6:45am
View
Just go through this article: this may help you https://stackoverflow.com/questions/25186380/adapter-fill-takes-long
For such things we can't actually share any example but can share related content.
Er. Puneet Goel
9-Jul-18 6:45am
View
Deleted
Just go through this article: this may help you https://stackoverflow.com/questions/25186380/adapter-fill-takes-long
For such things we can't actually share any example but can share related content.
Er. Puneet Goel
9-Jul-18 6:37am
View
The loader time taken is related with Query execution plan. You may try using Option(Recompile) or With Compile. Give it a try.
Er. Puneet Goel
9-Jul-18 6:32am
View
please answer to "is your sp 'sp_web_reports' is using Dynamic Query? Just provide us with some information."
Also, please inform how much time SSMS is taking?
Er. Puneet Goel
9-Jul-18 6:30am
View
is your sp 'sp_web_reports' is using Dynamic Query? Just provide us with some information.
Er. Puneet Goel
9-Jul-18 6:23am
View
Can you please share like if your ajax is throwing any error. if it's separate JS file, please check if the file is loaded.
Er. Puneet Goel
1-Jun-18 5:27am
View
Goran, your question is a little bit unclear, can you please present it another way.
Er. Puneet Goel
30-Oct-17 7:28am
View
It is very simple. You can search for Quiz type of projects. We can help you if you face problems, but you should try first.
Er. Puneet Goel
22-Sep-17 6:29am
View
try to put some thoughts and you will find a solution. If you find issue while implementing idea, we will help you out.
Er. Puneet Goel
12-Sep-17 8:39am
View
What is the error/issue you are facing here ?
Er. Puneet Goel
8-Aug-17 5:52am
View
have you checked the details from the reference link ? That could provide you more depth knowledge.
Er. Puneet Goel
19-Jul-17 1:55am
View
I hope you did not get it. 'What I have tried' section can not be the same as your query. It should be the efforts you put in.
Er. Puneet Goel
18-Jul-17 7:48am
View
Please check if you are doing some client side work before posting. Sharing code the only way we could dig in.
Er. Puneet Goel
18-Jul-17 7:47am
View
Are you using MVC or asp.net webforms ? Also post if you wants to use Entity framework.
Er. Puneet Goel
6-Apr-17 7:55am
View
I wants to know why this is happening ? Why distinct keyword throwing this error ?
Er. Puneet Goel
23-Mar-17 5:41am
View
ignore red line, let me know in case you getting any error while running project. Bcoz when i run your code, its works for me.
Er. Puneet Goel
21-Mar-17 3:04am
View
can you tell what is the error ?
Er. Puneet Goel
20-Mar-17 5:32am
View
I found its working fine. Can you please tell me what is the issue exactly ?
Er. Puneet Goel
8-Mar-17 1:50am
View
This is not clear enough what you need. Please post in details and try to google something you will get lots of solutions.
Er. Puneet Goel
8-Mar-17 1:42am
View
So if you start with 1, every year it will start repeating. So you can go for Year_InvoiceNo like 2017-10000, 2017-10001 etc.
Er. Puneet Goel
23-Feb-17 6:44am
View
Do you want to export MS-Word content to Text or what ? Your question is not clear. Please provide more information.
Er. Puneet Goel
22-Feb-17 4:28am
View
look at it ?? http://net-informations.com/csprj/data-providers/cs-procedure-parameter.htm
Er. Puneet Goel
22-Feb-17 3:38am
View
Problem is at "SqlCommand cmd = new SqlCommand("Select * from [gvempdetails]", cn);"
You do not call Procedure this way.
Er. Puneet Goel
22-Feb-17 3:37am
View
Does the sp works fine when you execute it ?
Er. Puneet Goel
22-Feb-17 3:36am
View
Have you checked the the event log if there is anything ?
Er. Puneet Goel
22-Feb-17 1:13am
View
ok I will help you out, can you tell which 3 sql query you want to convert into proc and use it ? In you code there are sevral queries with DML operation.
Er. Puneet Goel
22-Feb-17 0:22am
View
What exactly is the problem ? Any error or distorted report or what ?
Er. Puneet Goel
22-Feb-17 0:20am
View
What is the problem exactly? You wants to know how to call SP in project?
Er. Puneet Goel
10-Feb-17 4:15am
View
Yes ! Happy to share all knowledge
Er. Puneet Goel
7-Feb-17 6:55am
View
It was when I was opening the project in VS2012. It throws sevral error. I found a solution.
Er. Puneet Goel
10-Jan-17 1:05am
View
What is the trouble in this code ?
Er. Puneet Goel
27-Dec-16 6:36am
View
Please accept it as ans if you find this helpful.
Er. Puneet Goel
8-Dec-16 5:13am
View
Are you creating website ?
Er. Puneet Goel
8-Dec-16 4:18am
View
Please share what have you done?
Er. Puneet Goel
8-Dec-16 4:05am
View
What kind of error ?
Er. Puneet Goel
24-Nov-16 5:10am
View
Welcome. :)
Er. Puneet Goel
24-Nov-16 5:10am
View
you mean at GetDataTable?
Er. Puneet Goel
24-Nov-16 5:06am
View
Please share your code, what have you done so far?
Er. Puneet Goel
22-Nov-16 3:53am
View
So basically what is your problem ? The null reference error or how to bind grid view on dropdown selected value change ?
Er. Puneet Goel
22-Nov-16 3:26am
View
are you still looking for help ?
Er. Puneet Goel
22-Nov-16 3:24am
View
Hey! Have you got the solution or still need some help ?
Er. Puneet Goel
22-Nov-16 3:22am
View
I think you are using the datatables.net jquery grid. Right? You want an additional row to add data to grid?
Er. Puneet Goel
21-Nov-16 4:11am
View
Dear, Just accept the the Solution 1 above as solution. I have just updated solution.
Er. Puneet Goel
21-Nov-16 0:41am
View
Select1 and select2 are the dropdowns. For implementation see the fiddler below:
https://jsfiddle.net/erpuneetgoel507/eum8m92v/
Er. Puneet Goel
21-Nov-16 0:34am
View
//Convert DateTime to bytes (always convert datetime to ticks)
byte[] byteValue = BitConverter.GetBytes(DateTime.Now.Ticks);
//Convert datetime to longvalue
long longVar = BitConverter.ToInt64(byteValue, 0);
//Convert to datetime.
DateTime dateTimeVar = new DateTime(longVar);
Er. Puneet Goel
18-Nov-16 6:01am
View
please give ratting to solution
Er. Puneet Goel
18-Nov-16 5:59am
View
As you are able to hit your webmethod, thread is closed. Please create new question for this issue.
Er. Puneet Goel
18-Nov-16 5:56am
View
i don't where you are....
see if(ht.containskey("Hello") tell if it exists or not
so it tells you if its duplicate or not. YOu need to put this before adding as i mentioned in solution.
Er. Puneet Goel
18-Nov-16 5:51am
View
yes!
Er. Puneet Goel
18-Nov-16 5:42am
View
Oh God...you are crzy...!
replace your signature with
public static void Range(string Price1, string Price2)
Please accpect solution as answer.
Er. Puneet Goel
18-Nov-16 5:39am
View
have you replaced the data line with the one i provided?
data: "{Price1:'" + ui.values[0] + "',Price2:'" + ui.values[1] + "'}",
Er. Puneet Goel
18-Nov-16 5:37am
View
please accept this as solution for further assistance as this will help others as well.
Er. Puneet Goel
18-Nov-16 5:35am
View
replace your data line with:
data: "{Price1:'" + ui.values[0] + "',Price2:'" + ui.values[1] + "'}",
make sure your function must have Range(string Price1, string Price2) this signature.
Er. Puneet Goel
18-Nov-16 5:29am
View
the slier is working perfect but its your ajax function that is throwing error.
Er. Puneet Goel
18-Nov-16 5:27am
View
I have explained that in solution 2. I don't understand what's the issue in that. Try to run that.
Er. Puneet Goel
18-Nov-16 5:26am
View
You can verify this by:
alert(ui.values[0]);
alert(ui.values[1]);
Er. Puneet Goel
18-Nov-16 5:24am
View
ui.values[0] and ui.values[1] is providing you the value. What is the error you are getting ?
Er. Puneet Goel
18-Nov-16 5:23am
View
Welcome :)
Er. Puneet Goel
18-Nov-16 5:23am
View
if (hashtable.ContainsKey("Hello") && Convert.ToDateTime((hashtable["Hello"])) != Convert.ToDateTime(LoggedOn))
{
// Add value
}
Er. Puneet Goel
18-Nov-16 5:21am
View
Check the solution i added below, that what you need
Er. Puneet Goel
18-Nov-16 5:19am
View
I have just updated the solution, check that.
Er. Puneet Goel
18-Nov-16 4:12am
View
Please post your html also so that we can get your structure to provide you better solution.
I hope you solve this. Idea is, on change of 1st dropdown, get the value selected. Now loop through the 2nd dropdown to see if item with same value exits or not. If yes, remove that.
Er. Puneet Goel
18-Nov-16 4:00am
View
Please post what you have tried with your html
Er. Puneet Goel
18-Nov-16 3:43am
View
Use Jquery...Let me know if you need help in that.
Er. Puneet Goel
18-Nov-16 3:30am
View
thats so easy. Just Use Ajax post cal and use webservice and Json where I mention '//Write Code to Call ajax or _dopostback to filter records'
Er. Puneet Goel
18-Nov-16 3:29am
View
welcome.
Er. Puneet Goel
18-Nov-16 3:18am
View
google uses the meta data keyword or the hope page contents etc. Your website URL is also a key point.
Er. Puneet Goel
18-Nov-16 3:16am
View
In sql let table has no of columns as your form1 has.Now, when you click on form 2 put the data in table's respective column and display to form 1. Now when you open form 3 and click datagridview cell_click again copy data to sql table for fetch whole data back to form 1 from sql table. Thus you can maintain the previous data.
Going high leve: Create a class with static property and assign value.
here is the solution
http://stackoverflow.com/questions/14599127/session-for-windows-forms-application-in-c-sharp
Er. Puneet Goel
18-Nov-16 1:10am
View
Please post your code in code segment.
Er. Puneet Goel
18-Nov-16 1:07am
View
This is too much of details also incomplete. Please conclude your issue in short with code.
Er. Puneet Goel
10-Nov-16 0:53am
View
What error you are getting ?
Er. Puneet Goel
12-May-16 1:40am
View
Please post what you have tried so far?
Er. Puneet Goel
10-May-16 5:30am
View
you need to provide full page html and code then !
Er. Puneet Goel
10-May-16 5:15am
View
So is it throwing any warning ?
Er. Puneet Goel
10-May-16 2:39am
View
i used your code, it works for me. Issue can be related to page attributes. Can you mention complete page html with markups
Er. Puneet Goel
6-May-16 8:24am
View
Please check you connection string. As that contains the DB name.
Er. Puneet Goel
3-Mar-16 4:05am
View
Will it always me either AN or FN incase From and to date are same ?
Er. Puneet Goel
3-Mar-16 2:38am
View
Can you please tell a scenario where my query fails so that i can provide better solution.
Er. Puneet Goel
12-Feb-16 2:22am
View
Can you provide details about about your DB size and schema ?
Er. Puneet Goel
12-Feb-16 2:18am
View
Will you be comfortable with Video Tutorials ?
If So go to http://www.lynda.com/SQL-Server-tutorials/Developing-Microsoft-SQL-Server-2014-Databases/383047-2.html
Er. Puneet Goel
12-Feb-16 2:16am
View
Depends on how you are interacting with CRM. If you could show us that we can better suggest you.
Er. Puneet Goel
11-Feb-16 3:40am
View
please tell me how to do that
Er. Puneet Goel
25-Mar-15 4:50am
View
basically this is not random string you want...so you have to code it on your own....! Jist give it try..its not hard. You have the logic. I will help out.
Er. Puneet Goel
25-Mar-15 0:52am
View
Ok so your pattern will be like EA-1, EB-1, EC-1 or some other format you have?
Er. Puneet Goel
24-Mar-15 1:16am
View
What is the purpose for that? i will help once I understood your target!
Er. Puneet Goel
17-Mar-15 8:40am
View
you can better handle this from jqyery.
Er. Puneet Goel
17-Mar-15 7:45am
View
please provide details like html and how you are selecting.
Er. Puneet Goel
17-Mar-15 7:34am
View
ohh...yes i just misssed that :) Thanks for correcting
Er. Puneet Goel
17-Mar-15 7:20am
View
Not Clear!! What exactly you want ? please explain scenario !!
Er. Puneet Goel
17-Mar-15 7:16am
View
where you want to perform this conversion ? server side or client side ? Please provide full details.
Er. Puneet Goel
21-Jan-15 2:22am
View
Let me know in case you need futher detials on the error in any move to get it solved.
Thanks
Er. Puneet Goel
16-Jan-15 6:52am
View
What type of compare you want ? Can you give some better example. As table 2 has 2 rows and table one has 1.So which type of compare ?
Er. Puneet Goel
12-Jan-15 23:54pm
View
They've provided the rest documentation but haven't mentioned such thing anywhere. I also posted the same to their dev community but no response yet. I posted this here just in case someone has faced same thing before and concluded some solution.
Er. Puneet Goel
6-Jan-15 11:40am
View
But it fulfill the requirements in join 'On' part. SO no where condition is needed. But it might be somethings else you try to catch here. ;)
Er. Puneet Goel
6-Jan-15 7:44am
View
I have updated the solution. Please check and mark it as solution if its helpful.
Er. Puneet Goel
6-Jan-15 7:32am
View
Also, '3, 1002, 10, 15, 54, 20140231' this is invalid date as fab cann't have 31 days. Please cehck this meanwhile
Er. Puneet Goel
6-Jan-15 7:29am
View
OK, Hold on let me update this
Er. Puneet Goel
6-Jan-15 6:38am
View
Hi,
It is not clear what you exactly want to ask. Please provide us details like how you want to insert data using the Server Side or Direct sql Queries, etc ?
Er. Puneet Goel
27-Nov-14 4:49am
View
Definitely you need the permission to access the target data and you are using an account that actually not exists there.
Er. Puneet Goel
27-Nov-14 4:47am
View
Partially uncleared question. You want to display the value of any linkbutton from one page to the textboxes on another page that are generated using Jquery ?
Er. Puneet Goel
27-Nov-14 4:24am
View
Incomplete OR Not A valid question
Er. Puneet Goel
24-Nov-14 5:24am
View
Helps alot, Thanks
Er. Puneet Goel
24-Nov-14 5:23am
View
I tried that only..but still no result.
Er. Puneet Goel
20-Nov-14 2:34am
View
Ah sorry to hear that...but without watching the code..its hard to answer. Better if you consult with some IT guy!!
Er. Puneet Goel
4-Nov-14 0:15am
View
Please post the code for ShowTab(arg1, arg2, arg2).
Er. Puneet Goel
3-Nov-14 23:51pm
View
Post full details like the Code for Popup, Validation etc.
Er. Puneet Goel
19-Sep-14 2:37am
View
Post your code. We will catch the issue and will fix it...Show us your efforts.
Er. Puneet Goel
19-Sep-14 2:35am
View
Have you prepared the sql stored procedure for that ?
Er. Puneet Goel
19-Sep-14 2:31am
View
the hover effect is done through jquery only. Just show me show code i will set an example.
Er. Puneet Goel
10-Sep-14 5:13am
View
This is actually the answer. You cannot access the client machine due to security reasons.
Er. Puneet Goel
10-Sep-14 5:09am
View
please post you code. So that we can figure out the issue.
Er. Puneet Goel
8-Sep-14 5:34am
View
Which browser are you using ?
Er. Puneet Goel
8-Jul-14 6:18am
View
If you found it solution to your query, do mark it as solution.
Help The Community.
Er. Puneet Goel
23-May-14 17:30pm
View
Reason for my vote of 1 \n detect navigation not close of window
Er. Puneet Goel
6-May-14 11:22am
View
Add no of parameter to the query you want to search than add checks like:
if(@a != '')
@Query = @Query + ' and column1 = ' + @a + ''
if(@b != '')
@Query = @Query + ' and column2 = ' + @b + ''
Er. Puneet Goel
12-Apr-14 7:42am
View
yea off course
Er. Puneet Goel
12-Apr-14 7:41am
View
#thatraja style ...
Er. Puneet Goel
12-Apr-14 7:41am
View
hey do accept the answer if you likes it
Er. Puneet Goel
12-Apr-14 7:40am
View
hey do accept the answer if you likes it
Er. Puneet Goel
12-Apr-14 7:40am
View
welcome! DO ACCEPT THE ANSWER IF ITS HELPFUL TO YOU
Er. Puneet Goel
9-Apr-14 7:42am
View
yes the color will be yellow, use of more than one class depends on your requirement like
You have three text box, In one you need Border:red, in second you need Color:red
Now in third you need both border and color red than instead of creating three class, just create two class and in third text box use both class.So two properties will be merged.
please mask solution accepted in case you get the solution.
Er. Puneet Goel
9-Apr-14 7:34am
View
Ok, then once you saved the record with the following code
conn = new SqlConnection(@"Data Source..........");
conn.Open();
SqlCommand command = new SqlCommand();
command.CommandText = "insert into test(id,name)values('" + textbox1.text + "','" + textBox2.Text + "'")";
command.Connection = conn;
command.ExecuteNonQuery();
Here, get the value of last saved ID with folowing query
"SELECT Max(id) FROM test"
And display this.
Er. Puneet Goel
9-Apr-14 7:24am
View
please post your code block where you are getting this error
Er. Puneet Goel
9-Apr-14 7:19am
View
post full details!!
Er. Puneet Goel
9-Apr-14 7:17am
View
all the best, please accept the solution in case you are happy.
Er. Puneet Goel
9-Apr-14 7:14am
View
For this you can check the Free Sms gateways in your country region.
Er. Puneet Goel
9-Apr-14 7:11am
View
you want to do this from client side or server side. Means how you get to know that there is a an update available?
Er. Puneet Goel
9-Apr-14 7:04am
View
Ok got it,try this
System.IO.StreamReader streamReader = new System.IO.StreamReader("D:\\Licence.DAT");
string text = streamReader.ReadToEnd();
string macAddress = text.Split('=')[2].ToString();
string replacement = Regex.Replace(macAddress, @"\t|\n|\r", "");
streamReader.Close();
Er. Puneet Goel
9-Apr-14 6:46am
View
in such case if you want to add HTMl or Element from server side you can do that.
Er. Puneet Goel
9-Apr-14 6:42am
View
ok, all the best :)
Er. Puneet Goel
9-Apr-14 6:39am
View
Use This:
System.IO.StreamReader streamReader = new System.IO.StreamReader("D:\\Licence.DAT");
string text = streamReader.ReadToEnd();
string macAddress = text.Split('=')[2].ToString();
macAddress = macAddress.Substring(0, 13);
streamReader.Close();
Note: 0, 13 means mac address length is 14(12 + 2) digit
exp: 0123.4567.89ab
Er. Puneet Goel
9-Apr-14 6:26am
View
But this is the solution to what your question is. What You can do is close this question my marking is accepted and add new one with more details if required.
Er. Puneet Goel
9-Apr-14 6:24am
View
This depend on what you have saved in the text file. In my text.txt i have saved the folowing lines.
ABC Licence Version 1.0
Validated Days=10
MAC Address=xxxxxxxxxxxx
So if you have something other that this, let me know. Coz this text is very important to be same.
Er. Puneet Goel
9-Apr-14 6:22am
View
First go to Start >> Run >> CMD (Open command prompt). Once in command prompt run following command based on SQL Server version installed on local machine.
For SQL Server 2000:
C:\> isql -L
For SQL Server 2005 / SQL Server 2008:
C:\> osql -L
OR
C:\> sqlcmd -L
Er. Puneet Goel
9-Apr-14 5:50am
View
try to create you function and best is to do your home work yourself. Be a good programmer.
Er. Puneet Goel
9-Apr-14 5:27am
View
your question is not clear please Improve your question ?
Er. Puneet Goel
9-Apr-14 5:25am
View
you want to insert image pragramatically or manually?
Er. Puneet Goel
9-Apr-14 4:05am
View
what actually you trying to do?
Er. Puneet Goel
9-Apr-14 3:57am
View
ok, y you want to change using jquery? is there any special case? else you can do it in code behind. Let me know what exactly you trying to do?
Er. Puneet Goel
9-Apr-14 3:54am
View
For which type of application you want to do this? web , window or what?
Er. Puneet Goel
9-Apr-14 3:52am
View
please post the code details you have tried yet!
Er. Puneet Goel
9-Apr-14 3:33am
View
are you using the same as you mentioned above or something else..! provide more details
Er. Puneet Goel
9-Apr-14 3:20am
View
I have modified the solution, please check and mark solution accordingly. Let me know if any issue is there?
Er. Puneet Goel
9-Apr-14 0:32am
View
please poet more details about code, errors, controls etc
Er. Puneet Goel
9-Apr-14 0:13am
View
what error you are getting?
Er. Puneet Goel
8-Apr-14 9:23am
View
By Adding '((TextBox)c).Attributes.Add("onclick", "ValidateButton(this.id);");'
you have added the onclick event to the textbox.
Also, in function change:
function ValidateButton(objID)
{
//here write your code of enabling or disabling
}
Er. Puneet Goel
8-Apr-14 9:15am
View
means? what you trying to do by getting number?
Er. Puneet Goel
8-Apr-14 8:57am
View
yes you can. But using masking is much preferred. But still if you need, let me know?
Er. Puneet Goel
8-Apr-14 8:52am
View
i will post the solution, if you have any query let me know in the same
Er. Puneet Goel
8-Apr-14 8:45am
View
means you want to get all record group by Metal like all Gold, than all chain ?
Er. Puneet Goel
8-Apr-14 8:16am
View
mean you want records grouped by metal ?
Er. Puneet Goel
8-Apr-14 7:51am
View
Actually this is what is reuired in MVC. I can understand that for one who begin with mvc it very difficult to get value of multiple control on Controls. So i suggest you to please undergo below article (or google in case you don't find them sufficient about MVC) to get a base to work on MVC:
http://www.codeproject.com/Articles/741632/Start-With-MVC-Push-Start-For-Beginners-Part
http://www.codeproject.com/Articles/747868/Start-With-MVC-Push-Start-For-Beginners-Part
http://www.codeproject.com/Articles/750747/MVC-With-Ajax-Push-Start-For-Beginners-Part
Er. Puneet Goel
8-Apr-14 7:47am
View
you seems to be confused! this is improper question or In-sufficient details. Please post some valid info about it.
Er. Puneet Goel
8-Apr-14 7:36am
View
what do you mean by 'not fixed'?
Er. Puneet Goel
8-Apr-14 7:31am
View
yes yes here in this page, it show how you can get value and save the data (in database)
Er. Puneet Goel
8-Apr-14 7:22am
View
For more details on MVC and other you can visit these articles
http://www.codeproject.com/Articles/741632/Start-With-MVC-Push-Start-For-Beginners-Part
http://www.codeproject.com/Articles/741632/Start-With-MVC-Push-Start-For-Beginners-Part
http://www.codeproject.com/Articles/750747/MVC-With-Ajax-Push-Start-For-Beginners-Part
http://www.codeproject.com/Tips/755203/Export-HTML-table-to-Excel-With-CSS
Er. Puneet Goel
8-Apr-14 7:19am
View
yes:
http://www.csharptutorial.in/2014/01/AspNet-GridView-How-to-Update-Delete-Insert-in-GridView-in-csharpnet.html
http://www.dreamincode.net/forums/topic/184448-using-gridview-and-rowcommand-events/
Er. Puneet Goel
8-Apr-14 7:13am
View
Na main ni.....
Er. Puneet Goel
8-Apr-14 7:10am
View
means please provide more details! the above details are confusing
Er. Puneet Goel
8-Apr-14 7:04am
View
Excellent
Er. Puneet Goel
8-Apr-14 7:03am
View
always welcome
Er. Puneet Goel
8-Apr-14 7:02am
View
are you generating the excel programmatically?
Er. Puneet Goel
8-Apr-14 6:52am
View
i think you have return the opposite condition. You want to open when row count is > 0. is it?
Er. Puneet Goel
8-Apr-14 6:46am
View
provide your model structure
Er. Puneet Goel
8-Apr-14 6:45am
View
explain your table structure and requirements cearly
Er. Puneet Goel
8-Apr-14 6:22am
View
What actually you want to do with that UC?
Er. Puneet Goel
8-Apr-14 6:05am
View
you want to get diff in days or what?
Er. Puneet Goel
8-Apr-14 6:04am
View
This is not a good forum to ask such question.
Er. Puneet Goel
8-Apr-14 5:57am
View
so whats the issue now?
Er. Puneet Goel
8-Apr-14 5:54am
View
no no Like the data table you are using to bind gridview, add check on that like dt is datatable then
if(dt.Rows.count > 0){
TextBox.Text="open"}
Er. Puneet Goel
8-Apr-14 4:50am
View
See, for 1st gridview, the data will come only if there are some record having status other than Repaired. So you can add a check on that.
Er. Puneet Goel
8-Apr-14 4:44am
View
YOu have mention in your Quest "If all the status of a gate pass is repaired then the textbox should show open otherwise close"
But here you saying if "if all are repaired then 1sr gridview will not appear only second gridview wil appear .
in this case the textbox will show close"
This is contradict to each other!!
Show More