|
In ASP.NET you can use three different types of authentication. Form being the most used one, I take it as you're after this. Try reading from here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconthecookieauthenticationprovider.asp
modified 17-Jul-19 21:02pm.
|
|
|
|
|
does anybody have a clue how i can display and manipulate this format. it should be supported, but i can't handle it. perhaps the reason is the size of 2880*2160 px. please help
|
|
|
|
|
Hi all,
I have a statusbar with 3 panels an want to change the forecolor of one of them. Is there a way to do that ?
Thanks
regards
Frank
|
|
|
|
|
|
hi,
how do i give a name to a dialog box? when i put MessageBox.Text it gives me an error n i cant run the program.. what shd i do?
thz
|
|
|
|
|
When you do MessageBox.Show, the first parameter is the text to display in the box, the second parameter can be a string that will display as the name. Is that what you are looking for?
|
|
|
|
|
Hi!
I´m trying to write some kind of media-management-software, where i have the name of the media and some other information to be stored in some kind of variable/database/etc...
What i want to do is to offer some kind of full-text-search, which provied searching over some (not all) fields of my information-set. It also should work quite fast and with regular expression, somkind like the search-function in iTunes oder MSHelp/Index, so that as soon as i start typing the RegExp the results matching to that pattern are displayed in a result-window.
I don´t care, in which way the data is stored permanently on my HD, because i would load the data on program-start into a C#-Datafield. But which one should i use to make this work?
Who could recommend me a method to do this?
Thanks
J.Holzer
|
|
|
|
|
I think you can use lightweight database like mysql. Its very fast. Check this out.
Live Life King Size
Alomgir Miah
|
|
|
|
|
Hello...
In my opinion to find the best method for this problem, you must resolve yourself some problems...
How much data you will be store (1000 or 100000 strings) ???
Do you need a permant data access or only sometimes ???
The main problem when you use mySQL is that your Application is absolutly addicated to them and you need licenses for commercial use.
I believe the best choice to store the data is xml when you not store 100000 of strings...
It's well structered, easy to parse, independent from any other libraries and completly implemented in the net framework...
|
|
|
|
|
That depends on so many things... Desktop/Web app? How much data? How many simultaneous users you expect? Do you expect significant grow of amount of data and users?
IMHO it is like XML < Access < MySQL < MSDE* < SQLServer. (ordered by amount of data/users)
Some time ago I answered question about Access/MSDE, search the forum, there is link to MSDN page about different scenarios for Access/MSDE/SQL Server.
*I put MSDE > mySQL because of easy upgrade to SQL Server
Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy
|
|
|
|
|
I plan a Desktop-App, that should work on it´s own without any external software. So all data-access-routines should be in my software/.net-framework.
I wonder if an sql-query is that fast. The results should be seen instantly, while typing the pattern i´m searching for...
|
|
|
|
|
Hi!
I want to Add/Update/Get one record at one time.
suppose i have userTable with
int userID
nvarchar username
nvarchar email
to add data to userTable which is better?
1. using DataRow and fill it with userID,username,email and pass it to DataAccessLayer
2.Create user Class (USEREN) and using USEREN userBObj and fill it with userID,username,email and pass it to DataAccessLayerDataAccessLayer
thanks.
|
|
|
|
|
I think DataTable can be considered as generic Business object. If the number of records you are dealing with is huge go for (2) else (1) is the better solution.
Please note when using DataTable the entire schema information is also filled when you do DataAdapter.Fill().
Hope this helps.
Live Life King Size
Alomgir Miah
|
|
|
|
|
|
|
using(BinaryWriter binWriter =
new BinaryWriter(File.Open(fileName, FileMode.Create)))
{
binWriter.Write(aspectRatio);
binWriter.Write(lookupDir);
binWriter.Write(autoSaveTime);
binWriter.Write(showStatusBar);
}
Live Life King Size
Alomgir Miah
|
|
|
|
|
hi all,
I need to rename Column "address" of TEST Table to "Name".
MY SQL Query is like this:
alter table test modify column address to Name char (50)
after I run this in SQL Query analizer,I am getting following error:-
Error:
Incorrect syntax near the keyword 'column'.
thanks in advance..
|
|
|
|
|
Take a look at the help for sp_rename.
|
|
|
|
|
Try this:
ALTER TABLE TEST ADD [Name] char(50) NULL
UPDATE TEST SET Name = address
ALTER TABLE TEST DROP COLUMN address
This is creating a new column, copying the existing data from the old column into the new column before deleting the old column. Thanks.
modified 17-Jul-19 21:02pm.
|
|
|
|
|
From the SQL Server Enterprise Manager rename the column and the clic the 3° toolbar's button "Save change script" and look at the TSQL code.
Michele
|
|
|
|
|
Hello!
I'm working on some kind of voice-over-IP application, and need to change input for recording to something else then a microfone.
Windows volume control offers you to change recording devices - microfone, cd, AUX device, etc...i wasn't able to find any way to change it in my application.
I'm using win api - Windows multimedia functions like waveInOpen, etc.. i simply cannot find any function doing what i need.
Can anyone help me?
|
|
|
|
|
hi all,
I need to rename Column "address" of TEST Table to "Name".
MY SQL Query is like this:
alter table test modify column address to Name char (50)
after I run this in SQL Query analizer,I am getting following error:-
Error:
Incorrect syntax near the keyword 'column'.
Can any one tell me How to fix this error?
thanks in advance..
|
|
|
|
|
sp_rename
Live Life King Size
Alomgir Miah
|
|
|
|
|
Problem when try to save icon with a color depth of 16bit or higher:
I try to extract an icon from an exe/dll file by using API ExtractIcon. Then I got the handle of the icon. I use Icon.FromHandle(hIcon) to create the instance of the Icon, then use Icon.ToHBitmap() to convert it to an Image instance.
When I use Image.Save(filename, ImageFormat.Icon) method, it save the Icon to an Png format image file. ( But when I use Icon.Save(stream), then save the stream to a file. The format is ok, but the color drops to 4bits(only 16 colors) (.
But if I draw the icon to a window, it is 16bits in color depth, no colors lose.
Who can give me a solution to save the icon(16bits or higher)?
I'm using WinXP.
E-mail: zc_djx@hotmail.com
I'm learning VB.Net & C#, you are always welcome to help me!
|
|
|
|
|
hi,
how can i put string formatting to my textbox?for example i want user to input the date so i want to have two "/" in the textbox to have the "yyyy/mm/dd" formatting
thanks
|
|
|
|