15,998,033 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 TarunKumarSusarapu (Top 161 by date)
TarunKumarSusarapu
28-Nov-17 0:24am
View
suppose i take the departments D1,D2,D3,D4 etc....
For D1 the groups will be G1,G2,G3,G4 etc...
When I click on D1 it should display Groups G1,G2,G3,G4 and each group how many employees are there group by month and year
Please suggest me one single query for all this
TarunKumarSusarapu
31-Oct-17 1:08am
View
OK Thank you
TarunKumarSusarapu
7-Sep-17 7:15am
View
NO its completely normal angualar js.Please suggest me how to display 11k rows in grid using paging.
TarunKumarSusarapu
6-Sep-17 4:27am
View
I tried with same code with sample data and it is working fine.
But here i am getting error.
TarunKumarSusarapu
6-Sep-17 1:12am
View
I changed it but still throwing the same error
TarunKumarSusarapu
28-Aug-17 3:25am
View
Just give me some example on grid which deals with large amount of data with in less time
TarunKumarSusarapu
28-Aug-17 2:34am
View
But here in paging also it takes more time to move to next page.Its again calling action method again.
TarunKumarSusarapu
11-Aug-17 7:43am
View
Please check the code which i mentioned here and suggest me the best way
TarunKumarSusarapu
11-Aug-17 7:41am
View
Here My requirement is first of all page is being loaded.After clicking the button it should display popup which contains partial view of Main_Menu.cshtml.
Here GetReqSelection() method which contains linq query to retrieve the data should be called after clicking the button.
Here I have created 4 partial views in index.cshtml.One of the partial view is popup.cshtml.
In that popup.cshtml i am rendering main_Menu partial view which contains the combobox.
Here I have taken two models and that is defined in the tuple.
TarunKumarSusarapu
11-Aug-17 7:30am
View
Hi Graeme_Grant,
Thank you for your explanation with the example.
I understood your example but here where should i call GetReqSelection() method.
I think it should be called in Post method of action in controller.
TarunKumarSusarapu
11-Aug-17 6:02am
View
Would u please elaborate the scenario with example?
TarunKumarSusarapu
11-Aug-17 2:43am
View
Would u please elaborate the scenario with example?
TarunKumarSusarapu
9-Aug-17 6:21am
View
Still got the error on assigning models to the partial view
@model Tuple<DevExpress.DashboardWeb.WorkingMode, DashboardDemo.Models.vw_100_QUERY_FOR_XLS_WEEK_IN_PROGRESS_016_Forecast_Follow_Current_Data>
@Html.Partial("~/Views/Home/DashboardPartial.cshtml",Model.Item1)
@Html.Partial("~/Views/TreeView/VirtualModePartial.cshtml")
@Html.Partial("~/Views/Home/PopupPartial.cshtml",Model.Item2)
@Html.Partial("~/Views/Home/ForecastGridPartial.cshtml",Model.Item2)
TarunKumarSusarapu
9-Aug-17 6:07am
View
Here I am explaining in simple way
This is my main view rendering four partial views with different models that's why i created Tuple.
@*@model Tuple<DevExpress.DashboardWeb.WorkingMode, DashboardDemo.Models.vw_100_QUERY_FOR_XLS_WEEK_IN_PROGRESS_016_Forecast_Follow_Current_Data>*@
@Html.Partial("~/Views/Home/DashboardPartial.cshtml")
@Html.Partial("~/Views/TreeView/VirtualModePartial.cshtml")
@Html.Partial("~/Views/Home/PopupPartial.cshtml")
@Html.Partial("~/Views/Home/ForecastGridPartial.cshtml")
For Popuppartial view in the content section i am calling another partial view which contains model as item2 in the tuple
PopupPartial.cshtml
@(Html.DevExpress().PopupControl(settings =>
{
settings.Name = "PopupControlSelectSub";
settings.ShowOnPageLoad = false;
settings.ShowMaximizeButton = true;
settings.Width = 1200;
settings.Height = 900;
settings.CallbackRouteValues = new { Controller = "Home", Action = "Main_Menu" };
settings.AllowDragging = true;
settings.CloseAction = CloseAction.CloseButton;
settings.PopupAnimationType = AnimationType.Slide;
settings.HeaderText = "Main Menu";
settings.Modal = true;
settings.PopupHorizontalAlign = PopupHorizontalAlign.WindowCenter;
settings.PopupVerticalAlign = PopupVerticalAlign.WindowCenter;
settings.PopupElementID = "btnName_CD";
settings.ScrollBars = ScrollBars.Horizontal;
settings.SetContent(() =>
{
Html.RenderPartial("Main_Menu");
});
}).GetHtml())
On loading the page I got this error
The model item passed into the dictionary is of type 'devexpress.dashboardweb.workingmode', but this dictionary requires a model item of type '@model DashboardDemo.Models.vw_100_QUERY_FOR_XLS_WEEK_IN_PROGRESS_016_Forecast_Follow_Current_Data'
TarunKumarSusarapu
9-Aug-17 5:59am
View
I have already given but still getting the same error
TarunKumarSusarapu
7-Aug-17 6:18am
View
Thanks
TarunKumarSusarapu
28-Jul-17 6:26am
View
Its a basic MVC Flow.Please suggest me
TarunKumarSusarapu
3-Jul-17 1:18am
View
Hi Karthik,
Thank you for your information provided.
But here I have taken devexpress extension of dashboard for html.
@Html.DevExpress().DashboardViewer(settings => {
settings.Name = "DashboardViewer";
settings.Width = Unit.Percentage(100);
settings.Height = Unit.Percentage(200);
settings.CallbackRouteValues = new { Controller = "Home", Action = "DashboardViewerPartial" };
settings.ExportRouteValues = new { Controller = "Home", Action = "DashboardViewerPartialExport" };
settings.ClientSideEvents.ItemClick = "function(s, e) { getUnderlyingData(e); }";
settings.ClientSideEvents.ItemElementCustomColor = "function(s, e) { setColors(e); }";
//settings.ClientSideEvents.ItemVisualInteractivity = "function(s, e) { GetCalculatedFields(e); }";
}).BindToSource(Model).GetHtml()
In network tab it is showing span class for that emoji text.
Now my question where should i add the above code?
Or Can i change the color using javascript?
TarunKumarSusarapu
22-Jun-17 5:06am
View
I tried to add field in the textbox in devexpress dashboard and it is showing error on displaying the value and it's been solved.Thank you.
TarunKumarSusarapu
7-Jun-17 5:41am
View
Suppost my project file path is C:\Temp\Original\SourceCode\AINIPMKPIDashboard\App_Data\Dashboards\Data Extracts\
How can add it in app.config file without hard coding.
TarunKumarSusarapu
7-Jun-17 5:31am
View
Hi F-ES Sitecore,
Would you please modify the code
string sPath = HttpContext.Current.Server.MapPath(string.Format(@"~/App_Data/Dashboards"));
string[] lstFiles = Directory.GetFiles(sPath, "*.xml");
TarunKumarSusarapu
11-May-17 0:38am
View
I am new to this MVC dashboard controls using devexpress.Please help me
TarunKumarSusarapu
11-May-17 0:33am
View
I have also added cdn js files to the view.But getting the same error on the mechine
TarunKumarSusarapu
11-May-17 0:30am
View
This is my layout.cshtml
<!DOCTYPE html>
<meta charset="UTF-8" />
<title>@ViewBag.Title
@Html.DevExpress().GetStyleSheets(
new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },
new StyleSheet { ExtensionSuite = ExtensionSuite.GridView },
new StyleSheet { ExtensionSuite = ExtensionSuite.Dashboard },
new StyleSheet { ExtensionSuite = ExtensionSuite.DashboardViewer }
)
@Html.DevExpress().GetScripts(
new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
new Script { ExtensionSuite = ExtensionSuite.Editors },
new Script { ExtensionSuite = ExtensionSuite.GridView },
new Script { ExtensionSuite = ExtensionSuite.Dashboard },
new Script { ExtensionSuite = ExtensionSuite.DashboardViewer }
)
@RenderBody()
TarunKumarSusarapu
11-May-17 0:30am
View
At first I have taken sample devexpress dashboard application using MVC.While running I got the runtime error like this.
TarunKumarSusarapu
20-Jan-17 0:35am
View
No Exception is getting here.But crashing of data taken place
TarunKumarSusarapu
16-Dec-16 0:39am
View
Bro,I tried in the way you mentioned here.But still crashing happens.Would u please suggest me
TarunKumarSusarapu
17-Nov-16 4:08am
View
I have so much code to change it in a parametrized query.Is there any way to change easily or another way?
TarunKumarSusarapu
15-Nov-16 2:25am
View
OK.I will try it.I will confirm u when it works.Thank you.
TarunKumarSusarapu
23-Aug-16 2:22am
View
It must contains alphanumeric letters so please suggest what to do?
TarunKumarSusarapu
17-Aug-16 1:57am
View
Actually this happens in the client system. Can we copy our dlls in Sdk folder to client system? should it work properly?
TarunKumarSusarapu
22-Jul-16 5:08am
View
I have clicked on Publish website and given connection details but i got error like this
'Invalid Web Deploy service URL'
TarunKumarSusarapu
22-Jul-16 4:46am
View
Thank you it's working
TarunKumarSusarapu
22-Jul-16 4:46am
View
Thank you it's working
TarunKumarSusarapu
22-Jul-16 2:51am
View
Thank you koolprasad2003 for your suggestion. I will try my level best.
TarunKumarSusarapu
21-Jul-16 6:41am
View
Thank you OriginalGriff. I will try my level best.
TarunKumarSusarapu
9-Mar-16 4:28am
View
In 32 bit system it is working fine in 64 bit i got this type of problem
TarunKumarSusarapu
9-Mar-16 4:03am
View
I modified the question and i indicated error at the execute nonquery method
TarunKumarSusarapu
22-Jan-16 7:16am
View
How can we know this Fax server respond or not? here it recognizes pc name and taking the file name but on sending only i got error like this
TarunKumarSusarapu
12-Dec-15 1:21am
View
Thanks a lot.It helped me a lot.Can u please provide the links for examples to interact with database
TarunKumarSusarapu
4-Dec-15 5:48am
View
But my script incluedes GO statements we can't execute GO statements in ADO.NET objects that's why i take server
TarunKumarSusarapu
4-Dec-15 3:46am
View
Yeah we can but here i have used server connection
TarunKumarSusarapu
4-Dec-15 2:09am
View
to show the version of the server and need to run the scripts in database dynamically
TarunKumarSusarapu
4-Dec-15 1:29am
View
Server server = new Server(new ServerConnection(conn));
TarunKumarSusarapu
14-Nov-15 3:44am
View
This can't effect on the output I got the same error
TarunKumarSusarapu
14-Nov-15 1:59am
View
I got this error while running on Network service 'OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "ClientAc484" returned message "Unspecified error".' Can u pls solve this error
TarunKumarSusarapu
14-Nov-15 1:59am
View
I got this error while running on Network service 'OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "ClientAc484" returned message "Unspecified error".' Can u pls solve this error
TarunKumarSusarapu
12-Nov-15 0:07am
View
Can u pls explain this briefly in 32 bit pc it is working fine in 64 bit it is getting like this. How to modify the folder permissions or other wise how to alter the linked server permissions
TarunKumarSusarapu
10-Nov-15 1:23am
View
No I have n't opened i closed the connection in the query still got same error i am using 64 bit version of windows.
TarunKumarSusarapu
9-Nov-15 5:29am
View
I got error like this while connecting to linked server using ACE Engine 'Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ClientAc825".
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ClientAc825" returned message "Cannot open database ''. It may not be a database that your application recognizes, or the file may be corrupt.".'
TarunKumarSusarapu
9-Nov-15 5:18am
View
How can we use ACE Engine instead of Jet Engine Can u please explain briefly
TarunKumarSusarapu
21-Oct-15 2:24am
View
Here I am using Linked server to retrieve data from msaccess database and then by using linkserver i am copying the total database tables from msaccess to sql server.Here all the tables copied but the is identity property is missing i.e it set to NO
TarunKumarSusarapu
20-Oct-15 0:56am
View
Here we are copying total database that contains 1000 tables from msaccess mdb files to sql server db. For every table we can't give identity and create one table that table copied into another table it takes a lot of time. Would u pls explain this query briefly
TarunKumarSusarapu
19-Oct-15 4:59am
View
I don't know how to use it Can u give me the brief explanation while running a method
TarunKumarSusarapu
19-Oct-15 3:07am
View
windows foms
TarunKumarSusarapu
14-Oct-15 23:55pm
View
That table does not exist or you don't need permissions Because here i have used select * into query so we can copy the table with schema
TarunKumarSusarapu
14-Oct-15 2:54am
View
I have successfully imported database from msaccess to sql server using linked servers but it doesn't set is identity prpoerty to columns in destination table.
I have written one stored procedure with setting the identity_insert on before the select * into query but it is being gotten error.
This is my procedure
create proc
SP_Create(@servername nvarchar(100),
@datasr nvarchar(MAX),@table nvarchar(100),
@table1 nvarchar(100),@db nvarchar(100))
as begin EXEC sp_addlinkedserver @server = @servername,
@provider = 'Microsoft.Jet.OLEDB.4.0',
@srvproduct = 'OLE DB Provider for Jet',
@datasrc = @datasr,@provstr=''
exec sp_addlinkedsrvlogin @rmtsrvname=@servername,
@useself = N'false',@locallogin = NULL,@rmtuser = N'Admin',
@rmtpassword = NULL declare @sql nvarchar(MAX)
set @sql=' SET IDENTITY_INSERT '+@table1+' ON; select * into '+@table1+' from '+@servername+'...'+@table+' with (nolock) SET IDENTITY_INSERT '+@table1+' ON '
Exec(@sql)
declare @sql1 nvarchar(MAX) set @sql1 ='EXEC master.sys.sp_dropserver '+@servername+',''droplogins''' exec(@sql1)
end
TarunKumarSusarapu
8-Oct-15 4:56am
View
is there any use with nolock using here
TarunKumarSusarapu
8-Oct-15 1:43am
View
I tried same with stored procedure but got same error here. Actually we have more than 50 mdb files in a folder and each have 40 tables we need to access one by one and executing the query. would u pls write the above query and use SSMS
TarunKumarSusarapu
8-Oct-15 0:41am
View
Actually we are calling the commands from front end we need to do import from access to sql on button click can u pls elaborate this?
TarunKumarSusarapu
7-Oct-15 7:50am
View
Thank you very much for your information bro But I got error while saving table into destination table would u pls observe below solution and guide me your suggestion
TarunKumarSusarapu
6-Oct-15 7:39am
View
I got eeror like this 'ODBC Call Failed' converting mdb to sql database would u pls solve this error
http://www.codeproject.com/Questions/1036469/I-got-error-like-lis-ODBC-Call-Failed-when-importi?arn=0
TarunKumarSusarapu
6-Oct-15 5:16am
View
I got this error when while executing the code
//cn1 = new SqlConnection(con);
//if (cn1.State != ConnectionState.Open) { cn1.Open(); }
//SqlCommand cmd = new SqlCommand("select * into [" + tableName + "] from OPENROWSET('Microsoft.Jet.OLEDB.4.0','" + tr + "';'Admin';'',[" + tableName + "])");
//cmd.Connection = cn1;
//cmd.ExecuteNonQuery();
OleDbCommand cmd = new OleDbCommand("select * into [" + con + "].[" + tableName + "] FROM [" + tableName + "]", connection);
//OleDbCommand cmd = new OleDbCommand("select [[" + tableName + "].*] into [" + con + "].[" + tableName + "] From [" + tableName + "]");
cmd.Connection = connection;
cmd.ExecuteNonQuery();
connection.Close();
select * into [ODBC;Driver=SQL Server;Data Source=serverpc\sqlexpress,52120;Initial Catalog=TARUN_DB;Persist Security Info=True;User ID=vipl-user;Password=vipl-user!@#$%;MultipleActiveResultSets=True].[ACTYPE] FROM [ACTYPE]
TarunKumarSusarapu
5-Oct-15 3:05am
View
Would u please elaborate it for one table here is the sample query
select * into [ACTYPE] IN ODBC; Driver={SQL Server};Server='PC01';Initial Catalog=TARR;Persist Security Info=True;User ID= 'sa';Password='123' FROM [ACTYPE]
TarunKumarSusarapu
5-Oct-15 2:32am
View
Boss I want to copy total database from ms access to sql in which it has to create its own table and copy that data into sql like insert * into query. Upto 2nd step it is ok we can retrieve the data from access table and load that data into datatable but to copy that data into sql we need to create that same table with all columns in sql then use write to server method.
I have more than 1000 tables in my access mdb it takes a more time to create every table in sql and copy that database.
TarunKumarSusarapu
1-Oct-15 2:44am
View
K Thanks for ur info I will try in your way and tell u soon
TarunKumarSusarapu
1-Oct-15 1:43am
View
I tried all that i got error like this 'Access to the remote server is denied because no login-mapping exists.' while accessing the data from the linked server i created linked server login and linkedserver also but i am using a server which is connected to all the machines.
Is it necessary to take the permission from admin to do this operation? Here Mdb files are in local machine i.e my pc. I will try this one also
TarunKumarSusarapu
1-Oct-15 1:43am
View
Bro I tried all that i got error like this 'Access to the remote server is denied because no login-mapping exists.' while accessing the data from the linked server i created linked server login and linkedserver also but i am using a server which is connected to all the machines.
Is it necessary to take the permission from admin to do this operation? Here Mdb files are in local machine i.e my pc.
TarunKumarSusarapu
1-Oct-15 0:45am
View
Thanks for your consideration I got error like this 'Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server.' while using openrowset. I will try linked server.
This is my query
insert into [ACTYPE] select * from OPENROWSET('Microsoft.Jet.OLEDB.4.0','c:\EZACC\DATA\AH.mdb';'Admin';'',[ACTYPE])
TarunKumarSusarapu
30-Sep-15 8:27am
View
I also used openrowset but it is also getting error.Any help to my problem would be much appreciated
TarunKumarSusarapu
30-Sep-15 2:35am
View
Bro I have a problem in converting mdb to sql database would u pls solve this error
http://www.codeproject.com/Questions/1016561/IErrorInfo-GetDescription-failed-with-E-FAIL-x?arn=0
TarunKumarSusarapu
21-Sep-15 1:09am
View
Thank u bro its working Keep it up have a bright future bro
TarunKumarSusarapu
21-Sep-15 0:05am
View
OK Thank u I will check it once and i will tell u
TarunKumarSusarapu
19-Sep-15 7:40am
View
Suppose i inserted three invoices for STOCK IN with quantity & cost
10 11
10 12
10 13
i inserted four invoices for STOCK OUT with quantity & cost
1 5
2 5
12 5
3 5
then u have to findout the fifo cost for stock out
for 1 5 invoice stock in -stock out 10-2=9 for this invoice fifo cost 11
for 2 5 invoice 9-2=7 for this invoice also fifo cost 11
similarly
for 12 5 invoice 7-12=-5 that will be added to next invoice qty
i.e 10 12 invoice in STOCK IN so the final qty is 10-5 =5 for next invoice in STOCK OUT 2 5 the fifo cost is 12.
Like that we need to find FIFO QTY by comparing stock in & StockOut
TarunKumarSusarapu
19-Sep-15 5:51am
View
Have u found out any other ways to calculate this cost?
TarunKumarSusarapu
19-Sep-15 5:12am
View
Previously I have asked one question In that all the logic will be there at front end so that you can easily understand the calculation part.
http://www.codeproject.com/Questions/1029415/How-to-write-a-cursor-in-sql-to-compare-two-table?arn=0
TarunKumarSusarapu
19-Sep-15 4:41am
View
Here It checks every record with another record in another table to find the fifo cost that's why i have written two cursors to calculate the fifo cost. Would u please elaborate the code without use cursors so that we can increase the performance.
TarunKumarSusarapu
15-Sep-15 1:29am
View
are u free to do this have u found any solution for this?
TarunKumarSusarapu
14-Sep-15 5:04am
View
K Thank you
TarunKumarSusarapu
14-Sep-15 4:43am
View
Yeah I tried this from last two days would u pls spend a 10 min for this
TarunKumarSusarapu
14-Sep-15 0:27am
View
Its OK bro what about the solution have u tried or not
TarunKumarSusarapu
11-Sep-15 6:30am
View
take table 1 qty_in column and table 2 qty_out column if Qty_in is greater than or equal to qty_out then find the stock followed by calculate fifo cost. I have clearly written that code
TarunKumarSusarapu
11-Sep-15 5:37am
View
Thanks for your Help But i want logic to write cursor in sql for that you can follow below code in front end
TarunKumarSusarapu
31-Jul-15 2:29am
View
Thank a lot
TarunKumarSusarapu
31-Jul-15 1:53am
View
It is not getting with appropriate result after 1.sql it is showing 10.sql
TarunKumarSusarapu
30-Jul-15 7:33am
View
Not working bro I tried that also
TarunKumarSusarapu
30-Jul-15 7:22am
View
Thanks for ur information Actually That has been posted by me That is different from this one can u pls solve this
TarunKumarSusarapu
30-Jul-15 3:01am
View
Thanks for your advice but that is completely different from my question how can u run queries step by step or line by line in .sql file using c#
see above TarunKumarSusarapu at 33 mins ago
TarunKumarSusarapu
30-Jul-15 2:34am
View
Would u pls write that query using exception handling without error
TarunKumarSusarapu
30-Jul-15 2:24am
View
--------------------------RUN THIS SCRIPT IF GRADEDDETAILS TABLE CONTAINS DATA / IF ERROR OCCURS WHILE CONVERTING THE ABOUVE SRIPT---------
ALTER TABLE GradedDETAILS ADD STOCK_DATE1 DATETIME NULL ----STEP 1--
ALTER TABLE GradedDETAILS ALTER COLUMN [STOCK_DATE] NVARCHAR(100) ----STEP 2--
UPDATE GradedDETAILS SET [STOCK_DATE]=CONVERT(DATETIME, [STOCK_DATE], 104) ----STEP 3--
UPDATE GradedDETAILS SET [STOCK_DATE1]=[STOCK_DATE] ----STEP 4--
ALTER TABLE GradedDETAILS DROP COLUMN [STOCK_DATE] ----STEP 5--
SP_RENAME 'GradedDETAILS.STOCK_DATE1','STOCK_DATE','COLUMN' ----STEP 6--
I want to execute query step by step in sql using C# with single click
if you execute it once then i got error like this
Incorrect syntax near 'SP_RENAME'.
TarunKumarSusarapu
30-Jul-15 2:15am
View
Yeah I want the answer for that i want to execute it line by line should i use any condition in front of each query
TarunKumarSusarapu
29-Jul-15 8:52am
View
I have tried still it is getting same error
Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server.
Would u please elaborate ad-hoc queries in a stepwise
TarunKumarSusarapu
29-Jul-15 8:47am
View
I got error like this
Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server.
TarunKumarSusarapu
29-Jul-15 7:22am
View
select * into [Driver=SQL Server;Data Source='serverpc\sqlexpress';Persist Security Info=True;User ID= 'vipl-user';Password='vipl-user!@#$%';Initial Catalog=TTT].[ClientAc] from [ClientAc]
Is it Correct or not
TarunKumarSusarapu
29-Jul-15 7:13am
View
After Executing that query only i got error like this
Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server.
TarunKumarSusarapu
29-Jul-15 6:34am
View
I have used OPENROWSET also but i am getting errors not executed
cn1 = new SqlConnection(con);
if (cn1.State != ConnectionState.Open) { cn1.Open(); }
SqlCommand cmd = new SqlCommand("select * into [" + tableName + "] from OPENROWSET('" + connection.ConnectionString + "';,'admin','',[" + tableName + "])");
cmd.Connection = cn1;
cmd.ExecuteNonQuery();
select * into [ClientAc]
from
OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'c:\ezacc\DATA\accountdata.mdb';'';'',[ClientAc])
I got error like this
Ad hoc access to OLE DB provider 'Microsoft.Jet.OLEDB.4.0' has been denied. You must access this provider through a linked server.
TarunKumarSusarapu
29-Jul-15 5:25am
View
OleDbCommand cmd = new OleDbCommand("select * into ["+con+"].["+tableName+"] from [" + tableName + "]");
cmd.Connection = connection;
cmd.ExecuteNonQuery();
I got Invalid Argument error
TarunKumarSusarapu
29-Jul-15 4:54am
View
I tried that
select * into ClientAc from [Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\ezacc\DATA\accountdata.mdb].[ClientAc]
I got error like this
Invalid object name 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\ezacc\DATA\accountdata.mdb.ClientAc'.
TarunKumarSusarapu
29-Jul-15 3:11am
View
This is my query
select * into [Data Source='serverpc\sqlexpress';Persist Security Info=True;User ID= 'vipl-user';Password='vipl-user!@#$%';Provider=SQLOLEDB.1;Initial Catalog=TTT].[ClientAc] from [ClientAc]
while executing I got error
TarunKumarSusarapu
29-Jul-15 2:50am
View
would u please correct the code and post it in this
TarunKumarSusarapu
28-Jul-15 2:10am
View
Thanks for your information bro will try and contact u soon
TarunKumarSusarapu
28-Jul-15 2:02am
View
But how to integrate those tools in c# code and getting output in a single click
TarunKumarSusarapu
28-Jul-15 1:31am
View
It is not working bro retrieving tables is ok but how to generate script for those tables would u pls suggest me the solution
TarunKumarSusarapu
27-Jul-15 7:28am
View
How can you access it from a specific folder containing many .mdb files
TarunKumarSusarapu
27-Jul-15 6:34am
View
Can you please elaborate it
TarunKumarSusarapu
17-Jul-15 2:46am
View
Same I did here but it has been taken more time to create invoice in the server for multiple users
at a single time clicking the save button
TarunKumarSusarapu
17-Jul-15 2:37am
View
what is the techniques to isolate the database at the front end?
TarunKumarSusarapu
17-Jul-15 2:22am
View
would you please elaborate it?
TarunKumarSusarapu
17-Jul-15 1:40am
View
I agree with you brother but here i have taken two different tables for Inserting and getting new invoice no. Here I need to change the transaction behaviour as you said or creating temp table or cache. How to create cache between sql and c#?
TarunKumarSusarapu
17-Jul-15 1:22am
View
we don't have that much of resources to hire DBA Please tell me how to optimise database traffic
TarunKumarSusarapu
17-Jul-15 1:22am
View
Dude this is not the joke can you please tell me how to optimise sql server database
TarunKumarSusarapu
20-Feb-15 3:37am
View
I want to ask one more question to you how to add database to y points
TarunKumarSusarapu
20-Feb-15 3:33am
View
Yeah it's working.Thank You For your Information.
TarunKumarSusarapu
20-Feb-15 2:24am
View
I have already added using DevExpress.XtraCharts namespace.Still I am getting same error.
TarunKumarSusarapu
16-Feb-15 7:07am
View
K Let me try on my side. Any way Thank you for your valuable information.
TarunKumarSusarapu
16-Feb-15 5:12am
View
Can u please suggest me another way of getting this because i didn't get u
TarunKumarSusarapu
16-Feb-15 4:47am
View
I want to retreive Qty,Product_No,AC_NO and Amount According to the sales in months in the year. In Reports I want to Display All Months i.e January to December and also print Qty and Amount based on Product_no according to sales in Prooper Months.
TarunKumarSusarapu
13-Feb-15 1:14am
View
Here I have taken invoice,cashbill and salesreturn tables in which i want to select
inv_no from all tables.
Here Every table has its own values for inv_no.
But i want to select single inv_no value for common product in all tables group by
customer.
TarunKumarSusarapu
28-Jan-15 7:32am
View
Same Thing I have done but it is not getting.Is there any another way to do this
TarunKumarSusarapu
28-Jan-15 7:05am
View
EF6 and VS2012
TarunKumarSusarapu
28-Jan-15 7:02am
View
At first I have added Entity Data Model to the solution. Later I added Entity Data Source Control to the form from the toolbox then i selected EntityDataSource Control Properties there it is showing only ObjectContextType Property not DbContext Type Property there I am getting only none instead of DataContext in Entity Model.
TarunKumarSusarapu
28-Jan-15 6:37am
View
I tried but no use
TarunKumarSusarapu
28-Jan-15 6:29am
View
Yes I have added but it is not showing on that property.
TarunKumarSusarapu
28-Jan-15 5:35am
View
Sorry to disturb you. I added Entity Data Source control to toolbox in my project. I have taken that into form but it is showing only none not showing any datasource in property ObjectContextType in EntityDataSource Control Properties.Can u Please solve this
TarunKumarSusarapu
28-Jan-15 5:01am
View
K Its Working Thank you for your information.But They have created classes for entity datasource and navigator.I want to take from toolbox by default.How to enable that in toolbox.
TarunKumarSusarapu
28-Jan-15 2:31am
View
Thank you for your information I already tried this but i want to do crud operations using EntityDataSource Control.
TarunKumarSusarapu
20-Nov-14 23:06pm
View
What i mean to say u is i want to appear scroll bar to drag a row down or vertically to change that row height.
TarunKumarSusarapu
19-Nov-14 6:28am
View
For all rows
TarunKumarSusarapu
13-Oct-14 5:23am
View
Would u please explain breifly what should I do
TarunKumarSusarapu
13-Oct-14 5:20am
View
Here Have u taken empty xml file or adding any columns
TarunKumarSusarapu
13-Oct-14 4:46am
View
Would u please tell me how to use local users database
TarunKumarSusarapu
13-Oct-14 2:52am
View
Here we should not use database for saving the column width it automatically saves and after re debugging also it shows same width
TarunKumarSusarapu
13-Oct-14 1:14am
View
when we close a form the datagridview columns width will be saved.
Whenever we debug again and again it will show that column width as Saved column width
in the datagridview.
For that where should I write these code.
TarunKumarSusarapu
10-Oct-14 23:57pm
View
I did n't understand what u wrote here.Can u please explain briefly
TarunKumarSusarapu
10-Oct-14 6:08am
View
No I set datatype as image and it stored like this hexagonal
0x53797374656D2E44726177696E672E4269746D6170
TarunKumarSusarapu
10-Oct-14 5:06am
View
In database it stored like this 0x53797374656D2E44726177696E672E4269746D6170
Can u pls solve the error
TarunKumarSusarapu
9-Oct-14 3:20am
View
in Db
TarunKumarSusarapu
9-Oct-14 3:06am
View
I have taken field datatype as image
TarunKumarSusarapu
9-Oct-14 3:03am
View
Thanks for your Information but still i am getting same error 'parameter is not valid'
at pictureBox1.Image= Image.FromStream(stmBLOBData);
TarunKumarSusarapu
9-Oct-14 2:54am
View
Thanks for your information but it is also getting same error'Parameter is not valid'
TarunKumarSusarapu
25-Sep-14 3:00am
View
I created but i didn't get it.
TarunKumarSusarapu
25-Sep-14 2:28am
View
I have added User control2 in User control1 so I want to close user control 2 and display user control1 when the exit button is pressed in the usercontrol2 both i have taken in the same form by using panel1.
TarunKumarSusarapu
25-Sep-14 2:12am
View
Panel6.visible=false;
TarunKumarSusarapu
19-Sep-14 7:32am
View
K I got it I used Convert.Todouble() method Thanks For ur valuable suggestions
TarunKumarSusarapu
19-Sep-14 7:32am
View
K I got it I used Convert.Todouble() method Thanks For ur valuable suggestions
TarunKumarSusarapu
19-Sep-14 7:11am
View
Thanks What is the solution I am asking. can u pls solve it
TarunKumarSusarapu
19-Sep-14 7:06am
View
yes I want accurate value
TarunKumarSusarapu
19-Sep-14 6:37am
View
I tried but I have taken Exchangerate datatype as float.
When I pass value in the front end 1.25555555
then it takes same value at the backend 1.26
TarunKumarSusarapu
19-Sep-14 6:30am
View
I got the result in front end but it did n't convert at the backend. In Backend I have taken Exchange rate as float
TarunKumarSusarapu
19-Sep-14 6:25am
View
What is 2 in the Math.Round() method
TarunKumarSusarapu
19-Sep-14 6:16am
View
I have Improved My Question did u see that
TarunKumarSusarapu
19-Sep-14 6:04am
View
I tried but i didn't get that accurate result
TarunKumarSusarapu
19-Sep-14 5:36am
View
I want to write this in windows not console
TarunKumarSusarapu
25-Jul-14 2:53am
View
Its getting error like this "Object reference not set to an instance of an object." at obj.Controls["Txt_EmpCode"].Text = dataGridView1.Rows[row].Cells[1].Value.ToString();
TarunKumarSusarapu
25-Jul-14 2:00am
View
Its not working bro
TarunKumarSusarapu
25-Jul-14 1:53am
View
welcome
TarunKumarSusarapu
25-Jul-14 1:32am
View
Its not a c# code it means "thank you"
TarunKumarSusarapu
21-Jul-14 23:46pm
View
Just see on this below link
http://www.onlinebuff.com/article_step-by-step-3-tier-architecture-in-aspnet-using-c-example_45.html
TarunKumarSusarapu
14-Jul-14 5:55am
View
I have taken two user controls named as work and empsearch.
When user wants to click Collapsed button in work form then it will display empsearch form with datagridview data.
In Empsearch form I have taken select button.After selecting a row in datagridview then click on select button.Then it displays work form with all the selecting row columns in the textboxes.
For that I have written above code.Kindly see this code.
TarunKumarSusarapu
14-Jul-14 5:24am
View
I tried that also.But it is showing empty code in the notepad.What should I do to resolve this error.
TarunKumarSusarapu
14-Jul-14 5:21am
View
I Have tried all these methods.But It is always showing same error.
Show More