Apart from the encryption and decryption methods which uses different algorithms
given in different sites on Internet,I want to encrypt and decrypt data in a different manner.
I will define a custom string or array such as
($,@,!,%,^,&) ---a way like this.
If I give a name or any information in textbox,it should be encrypted using the above characters only.
for example,If I give as
...
User Profile
Collapse
-
Encryption and Decryption
-
Invoke a webservice method during installation of a WebSetup
Hi,
I have created a ASP.Net Web Service application which has a method for validating the registration key entered. Hosted this web service in IIS.
Then,I created a ASP.Net Web Application.Add ed reference of this web service to the application.
Created a web setup for the application and built it in release mode.
To be resolved
---------------------
When I click to install... -
using stored procedures in a LINQ query
Hi,
Suppose if there are 10 records in employee table.
I have a stored procedure named GetEmpCount which returns employee count. (i.e., The answer is 10).
i.e., Select count(*) from employee
--------------------------------------------------------------------------------------------------------------------
I have drag and dropped GetEmpCount stored procedure on to the LINQ dbml desig... -
Import data from comma delimited text file into an SQL Server table
I have a comma delimited text file which has data like this.
1, 11, "abc" ,False
2, 12, "def" ,False
3, 13, "ghi" ,False
4, 14, "jkl" ,False
The name of this file is somedata.txt. Only one column has double quotes.
i.e., "abc" "def" etc.
I want to store these values into a table named temp in SQL Server.
I am using... -
Displaying a horizontal rule in an asp:Textbox
Hi,
I have created a new web application in asp.net.I am using VS 2008.
In the web form,I have placed a textbox and a button.
In the button click event,I have written as follows:
TextBox1.text=" abc"+ Environment.New Line + "<hr>";
I want to get the output as (abc and a horizontalrule in the textbox)
abc
-----------------------------... -
Using Multiple Left joins in LINQ query
Hi,
I have an SQL query like this
select distinct t1.prodID from Table1 t1
left join Table2 t2 on t2.prodID = t1.prodID
left join Table3 t3 on t3.serialno = t2.Id and t3.Qty = 0
where t3.Id is null
This query is having 2 left joins.
How to write a LINQ query for this.
When I searched over Internet regarding this Linq query,I have found that the samples... -
Regarding Connection string name when a user adds a dbml file
Hi,
I am doing a sample VS 2008 project.
I have added a dbml file.On the designer,I have dragged a table "emp" from a database "Employee" which is in my server(for example Server1).
It created an app.config with connection string as
<connectionStri ngs>
<add name="LinQ2008. Properties.Sett ings.EmployeeConnect ionString"
connectionStrin g="Data... -
Refereshing SQL schema changes in LinQ to SQL O/R designer
Hi,
The Visual Studio Linq for SQL designer is not supporting refreshing tables and column information from the database.
For example,I have created LINQ to SQL classes that are mapped to database tables by dragging tables from Server Explorer onto the O/R Designer.
I dragged a table named emp onto the O/R designer.
Now,if add a new column in emp table in database,and if I refresh O/R designer,... -
UltraWinGrid in a VS 2008 Windows Application
Hi,
I have created a VS 2008 Windows Application.I placed an UltraWinGrid on the form which displays records from a table say "emp".
I placed two buttons named "left" and "right" above the UltraWinGrid.
The functionality of these buttons should be like
"left"------>when we click "left" button,it should behave like clicking once on the horizontal scrollbar... -
Generating Website for API documentation using Sandcastle
Hi,
For Generating Website for API documentation using Sandcastle
I opened Powershell window and gave the command
scbuild –framework 2.0 –sources Class1.dll,comm ents.xml –BuildWebsite
An error is thrown which is as follows:
Sandcastle build...
ERROR: The Website build is not yet implemented.
I request to kindly help me regarding this issue.
... -
Creating a Chm build using Sandcastle in Visual Studio 2008
Hi,
I have creates a c# Class Library project in Visual Studio 2008.I have created a class with XML Comments in it.
I need to generate a "chm"(compi led html file) help file for this.
In the VS 2008 command promp , I began by compiling the C# file and extracting the /// comments.
csc /t:library /doc:comments.xm l test.cs
An xml file and dll are... -
Calendar Extender Problem in asp.net 2.0
Hi,
I have a problem with calendar extender.
Example:
<asp:ScriptMana ger ID="ScriptManag er1" runat="server">
</asp:ScriptManag er>
<asp:TextBox ID="TextBox1" runat="server"> </asp:TextBox>
<img id="a" src="../images/arrowleftmonth. gif" runat="server" />
<cc1:CalendarEx tender... -
Retrieving UserID
Hi,
I am doing a web application using c# asp.net 2.0.
In the login page, I placed Login control.
Email Address is given as Username.
i.e.,
UserName---------<EmailAddress >
Password----------<something>
When I press the login button it goes to a default page named myprofile.aspx
myprofile.aspx should display all the information about... -
silpa started a topic Upload images into SQLServer2005 database and display in Gridview using c#.net 2.0in .NETUpload images into SQLServer2005 database and display in Gridview using c#.net 2.0
Hi,
I have a table with one field.
filed name----Picture
datatype---- image
I am using c#.net and asp.net 2.0.
1.How to upload image using fileupload into the database which is stored as binary data.
2.I want the images to be displayed in a GridView when page loads.
i.e.,the binary data in database should be visible to us as .bmp or .gif or .jpeg.
... -
Need help for doing a sample web based project and N Tier architecture
Hi,
I am new(or a learner) to web based projects and N Tier architecture.
I want to do a sample project on asp.net 2.0 with c#.net and SQL Server 2005
using N-Tier architecture for gaining knowledge.
The project I want to do is regarding Address Book.
I request you to kindly send me code for this if possible
containing data layer, business layer and UI layers.
... -
changing images in a gridview in asp.net 2.0
Hi,
I have a gridview. It has two columns.first column contains a thread.
Second column contains an image which is of type buttonfield to close this thread which is shown below.
The image is a key icon.
<asp:ButtonFiel d ButtonType="Ima ge" ImageUrl="~/Images/key.gif" CommandName="Cl ose">
<ItemStyle HorizontalAlign ="Center" Width="20px" />... -
Value in a Textbox not retrieving as a result of refresh in asp.net 2.0
I have a form named dataentry1.aspx
It has Name,Age,centim etres,metres textboxes.
we will enter name in name textbox,age in age textbox.
when we enter height in centimetres textbox, and after focusout from it,height in metres will be automatically displayed in metres textbox.
The dataentry1.aspx also has a placeholder.The placeholder gets reference of usercontrol(.as cx) when the page is... -
Javascript onfocusout problem
Hi,
I have placed two text boxes(server side) for Name and Age in asp.net 2.0.
Their ids are txtPatientName and txtPatientAge.
The validation to be done is both text boxes should not be left empty.
I have written two javascript functions as follows.
[code=javascript]
function isName()
{
var str = document.forms[0].txtPatientName .value;
if (str... -
Hi,
Thankyou very much for helping me by sending the code.
Silpa... -
Employee ID Autogeneration
Hi,
i have a windows based aplication in that A field named EmployeeID (textbox) is there.Its value should be autogenerated from the sql server database.
the condition is that
1) The ID should start with A01,A02,....... .A99
After A99, the next ID should be B01,B02.......s o on.
pls give me any suggestion and if possible give me a sample code for reference with records. ...
No activity results to display
Show More
Leave a comment: