DataSource Controls :: How To Make A Tool For Data Archiving Utility
Mar 29, 2010
i have contineous data stream and saving in database. database size is growing. as per out data retention policy we have to archieve data and only keep last 6 month data on server.
if archieve data is required in future in current/live database so how do i bring it back.
View 1 Replies
Similar Messages:
Jan 3, 2010
I have a row in datagrid with a ID field and some other fields
When i'm updating i want to also insert a record to a different table with the old values of the row
How can i read the row values in the RowUpdated event?
View 5 Replies
Mar 11, 2010
load bcp utility from C# code? I need to do that for .NET 1.1.
I need to move data from a flat file to a database, I was suggested to use BCP. Are there any other options in .NET 1.1?
View 1 Replies
Mar 17, 2010
I am using xsd /c book.xsd to generate the a cs file. THe default cs file will be book.cs. I am wondering what swtich I can add so that i can name the generated cs file as document.cs instead of the default one. I attached the book/xsd and book.cs file, I am wondering why it generated two partial class? Should i name the generated file to match one of the partial class like BookForm.cs?
book.xsd:
[Code]....
Book.cs:
[Code]....
View 3 Replies
Feb 18, 2010
I wants to implement free text search utility for my web project,
to implement greate search utility for free text.
Also i have some knowledge of SQL SERVER 2005's FULL Text utility.
View 2 Replies
Nov 23, 2010
This is my first class ever buildt (I am a real beginner) in C#. My aim is to "Sanitize a string". The class should do: trim an input make the first letter upper case. Is there a way to better code it? Would it make sense to use a PARAMETER for a method like: CapitalizeFirstLetterTrim(string x) when I initiate an object I need write a lot of code like below, any other way to make it shorter?
UserInputSanitizer myInput = new UserInputSanitizer();
myInput.Input = " ciao world";
string ouput = myInput.CapitalizeFirstLetterTrim();
Useful resource http://msdn.microsoft.com/en-us/library/bb311042.aspx
----------- CLASS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebProject.Core.Utilities
{
public class UserInputSanitizer
{
// Backing variables
private string _input;
// Properties
public string Input
{
set { _input = value; }
}
private string _output;
// Backing variables
// Properties
public string Output
{
get { return _output; }
}
public string CapitalizeFirstLetterTrim()
{
// Trim
_input.Trim();
// Make First letter UpperCase and the rest levae lower case
_output = _input.Substring(0, 1).ToUpper() + _input.Substring(1);
return Output;
}
}
}
View 5 Replies
Apr 26, 2010
I have SQL Server Standard 2008 installed on my machine, alongside Visual Studio 2008.
My current hosting provider (not a huge fan) requires me to access my db's remotely via SQL Server Management Utility. To date, I've been doing it by connecting remotely in VS2008. Their troubleshooting documentation/steps, though, are for the SQL Server Management Express 2008, and i'm having a lot of connectivity issues with them.
I followed the steps here: [URL] to "add additional features to an existing installation" - but when I did so, the setup wizard indicated that the Management Tools-Basic were already installed.
View 1 Replies
May 7, 2015
How to get these all details from an image in asp.net ?
View 1 Replies
Mar 1, 2011
I need to make an online automatic post tool using ASP.NET C# to post items (using post or get) to ASP (VB script) webstore sites, for example how to capture the post data and how to reproduce it using ASP.NET C#.
how to upload post and get variables also with cookies
View 1 Replies
Feb 21, 2011
I have a SqlDataSource connected to database and use a parametrized query to fetch out data.Query has got a very large varchar field on which i have to perform a search.To make search, i have 2 combobox and a textbox organized in this way
MAIN CATEGORY (combobox)-> CATEGORY TYPE(combobox) -> MODEL(textbox).
Based on main category choose, category type is filled from database. At last, it's added a "nothing" combobox item.Now i should search into big varchar field adding category type condition but, if nothing is specified, i should make identical search like all combobox value are selected. How should i, in your opinion, make this using SqlDataSource?
View 5 Replies
Oct 29, 2010
I am running VS2010 and trying to make the asp.net configuration tool to work. The problem is: when I click on in in the menu, the server goes up but nothing happens.
If I type the url (localhost:port) in the browser, I get the following error:
Server Error in '/asp.netwebadminfiles' Application.
HTTP Error 404 - Not Found.
and if I copy and paste the /asp.netwebadminfiles to the url (localhost:port/asp.netwebadminfiles), the page loads with the following message:
[Code]....
View 1 Replies
Nov 17, 2010
I need to make a non-voice chat support tool for a client in ASP.NET 3.5 framework.Can anyone tell me how can i make it using ajax control toolkit??
View 4 Replies
Feb 6, 2010
I have a datagrid, with a template with a textbox in it. I am trying to add a "update" feature to my datagrid, writing my own code. Stuck on one thing though. I try to update the DataSet with this code:
[Code]....
But when running the code, an error message is showed saying that there where no changes to the GridView. This should probably be because the textbox in the gridview is never declared as a datasource for the gridview. How do i make the TextBox in the gridview template a datasource?
View 6 Replies
Jun 10, 2010
I want to mak a Dynamic Report Generator with the facility to create the report structure and change the report information.
whether I can use any crystal report generating tool or have to make my own report generator
View 1 Replies
Jan 26, 2011
I am getting error on attempted Databind call to DataList1 with nested SqlDataSource tool after attempting to update or delete a record.
The SqlDataSource control 'sqldsfilelist' does not have a naming container. Ensure that the control is added to the page before calling DataBind.
Here is the aspx page code.
[Code]....
And the code behind....
[Code]....
View 1 Replies
Jul 24, 2010
i have a gridview that show data from sql data source . how i can make a button for save as gridview data into mdb access file !?
View 6 Replies
Jan 29, 2010
I am trying to create strogly typed datasets for my project. When I right click on the xsd file that I need to generate a strongly typed dataset for I can't find the 'Advanced' properties as described in the below article (almost half way down)[URL]As I do not see the Advanced properties option I can't find the 'Custom Tool' property/option to set its value to 'MSDatasetGenerator'. Do I have to install some kind of patch on my VS 2005?
View 5 Replies
Apr 11, 2010
in my application i should make an union query thay union 15 tables
and this query begin with 150000 rows and will grow .
i need get just 10 rows from this query
i want make this query as best as possible
2 qustion
-----------------------------------------------------------1------------------------------------------
********View1*******
select id, lang, active from table1
union
select id,lang,active from table2
...--same way to all other 15 tables
*******SP***********
select top 10 from View1 where active=1 and lang='he' order by id desc
or
********View1*******
select id, lang, active from table1 where active=1 and lang='he'
union
select id,lang,active from table2 where active=1 and lang='he'
...--same way to all other 15 tables
*******SP***********
select top 10 from View1 order by id desc
---------------------------------------------2---------------------------------------
becauseof that this query is very complicate i want to know if i need take just 10 from each table
------------------------------------------------3--------------------------------------
if there is an idea how make this query better, i will glad to know.
View 7 Replies
Jan 3, 2010
i have to make a three primary key in one table
View 2 Replies
Mar 18, 2010
If I m using Windows Auth in my connectionstring i.e Integrated Security = SSPI / Trusted_Connection = Yes,
Is there any way to retrieve the USERID that is being used to make connection?
View 3 Replies
Apr 17, 2010
I have 2 databases one called DB1, and the other DB2. Both of them has exactly the same design (tables, procedures and etc..)
Now, I am using SQLMETAL to create the DataContext. problem is that there are two lines that direct to a certain database and so I cannot use the same code for both databases.
here is the code:
[Code]....
Now, What I am lookin for is a programmatically way to change this two lines (DataBaseAttribute and the connrection string) .
The easiest solution for me of course is to create the class twice, with the same code and just change manually what I need which is not what I am looking for.
There is a full discussion with microsoft stuff right here: [URL]
View 4 Replies
May 16, 2010
how to create multilanguage website using database not localization
when i select desired language ,data in datagride display with that language. how to make that to all my website pages
View 3 Replies
Jun 10, 2010
I have a gridview which I connect by C# and SqldataSource. I use asp.net 2.0 - 3.5.
I want to parameterized the queries and how do I do this in the C# file ? how do I set the selectparameters in C# ?. I do not want to do this in the aspx fil.
My code in C# is:
SqlDataSourceMachineName.SelectParameters.Clear();
SqlDataSourceMachineName.SelectCommand = "Select MachineName from tblMachine inner join tblLocation on tblMachine.MachineLocationID = tblLocation.LocationID where tblLocation.LocationName = 'New York' and
tblMachine.StatusID = '1'";
View 9 Replies
Jun 24, 2010
cannot create datacontext for make a select
View 2 Replies
Aug 16, 2010
I try to connect my database for so long so i wrote two type of codes. Let's discuse first on.
I have database called PhoneDirectory.
It have only one table named Residents.
I have button wiht ID="Button1".
I want when i click this button to see all of my residents.
I want to see the result in DetailsView and to be able to edin, delete and add new resident.
First try with SqlDataSource so i wrote this:
<asp:SqlDataSource ID="Resident Details" runat="server" ProviderName="System.Data.SqlClient" ConnectionStrings="<%$ ConnectionStrings:ThisIsTheConnection%>"
View 57 Replies