|
Hi,
I am developing a web application using c#.
My application login form takes 4 values like Server Name, Database Name, UserName, and Password. I want to create a connectionstring based on this values in log form at runtime.
Thanks in advance
Hari
|
|
|
|
|
A connection string is just a string. You can just build it in memory, the trick is, you need to store it somewhere ( the session, probably ), in order for it to then be available when you want to use it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Hi All,
How would i change incoming mms videos in 3G format to DVCpro 50 ?
Thanks for your time
|
|
|
|
|
I assume they get uploaded, then you write some DirectX code which converts them. Do you intend on sending them back again ? I expect you don't want to stream them in as one, and back as another ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi, Christian
Thank for your response.I am not intending to send them back,I get them from Mobiles uploaded in to the website then play the video.
I hope it gives you an idea of what i am doing.
Thanks once again
|
|
|
|
|
Hi there ,
Do you think its possible to do it? Please let me know if you can assist.
Thanks
|
|
|
|
|
Can somebody tell me about Duwamish Architecture? I mean I need some literature about it other than MSDN.
Mujtaba
|
|
|
|
|
I've never heard of it, but I checked, and google has.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
As far as I know its an architecture by Microsoft and is used for web applications.
http://msdn2.microsoft.com/en-US/library/aa288541(VS.71).aspx[^]
is the link of msdn but I need some other details. So far what I searchd from google is small one paragraph articles.
-- modified at 7:06 Tuesday 21st August, 2007
Mujtaba
|
|
|
|
|
Hi friends,
In my project i create a text file in runtime and upload to another FTP.
My text file formate is
HD8/21/200715:30:4300000008
RC8/21/200715:30:43 hfghg 000000009477276 5gfgf fdgdfg AA1 1AA UK hfghg 34534
CR8/21/2007
AS hfghg 5gfgf fdgdfg AA1 1AA 34534
CA
CO00001OS 0001000011.0011011011cm
AD fgdfg dfgdfg fgdfg AA1 1AA 3443 United Kingdom
TR00000008
I have tryed System.Environment.NewLine, vbLf, Chr(13 + 10), vbLrLf, vbCr, ControlChars.NewLine
Local its came rite formate but in live the formate will not come like this. the square character will come.
What is the right way to inject a new line in a stringbuilder object
Praveen Kumar.R
|
|
|
|
|
System.Environment.NewLine is correct. If it's been uploaded, then how is it being rendered, it sounds like a rendering problem.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Local its came rite formate but in live the formate will not come like this.
HD02/08/200716:34:40:4000000008[]CR03/08/07/2007[]CR03/08/07/2007
the square character will come.
Praveen Kumar.R
|
|
|
|
|
If you are rendering in a web browser, the Environment.NewLine might not have any effect unless encompassed within a PRE tag. You may like to replace them with BR tags to get that line break effect.
|
|
|
|
|
hi,
i designed a webpage in asp.net. in that i want to call one flash file.
i dont know how to call flash file, so please help me how to call it.
jai prakash
|
|
|
|
|
ASP.NET cannot interact with flash, you'd just embedd the HTML to show a flash file in your aspx, or create it through codebehind, if it needs to be dynamic.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i have a login page where i am taking the user given details username and password and i want to match with the database and correspondingly i have to redirect him to the next page
can any body help to write the query ........
|
|
|
|
|
Gosh - I'd suggest buying a book on SQL.
create proc CheckLogin @username nvarchar(500), @password nvarchar(500)
as
select count (*) from users where username = @username and password = @password
This will return 0 if the user does not exist, and 1 if it does.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I am using full text searching with SQL Server 2005. I have written my code in VB.NET 1.1.
When I type in text1 text2 it will then go and search for text1 and text2 in the column. But when I type in "text1 text2" then it must go and search for the phrase text1 text2, instead of text1 and text2. I do not know how to do this.
Please can someone help.
Regards,
.NET Enthusiast
|
|
|
|
|
i have data list which has check box in item template. i bound this data list to data source through coding. but when i try to read check box values which are checked i donot get any value though check box is checked. my code is like
protected void Button1_Click(object sender, EventArgs e)
{
foreach (DataListItem _obj in dlAddressType.Items)
{
if (_obj.ItemIndex > -1)
{
Label _lbl = (Label)_obj.FindControl("lblAddressTypeID");
int chkID;
string chkVal;
chkVal = _lbl.Text;
chkID = Convert.ToInt32(chkVal);
CheckBox _checkBox = (CheckBox)_obj.FindControl("chkAddressType");
if (flag != 1)
{
if (_checkBox.Checked == true)
{
_ag.AddAddress(ad);
// now the addressGroup object has 2 addresses in it.
// indicate this is the shipping address AddressTypeID = 5
_ag._AddressDetails[chkID].AddressClientSideID = ad.ClientSideID;
}
}
else
{
if (_checkBox.Checked == true)
{
_ag = new AddressGroup(ad);
_ag._AddressDetails[chkID].AddressClientSideID = ad.ClientSideID;
flag = 0;
}
}
}
}
}
|
|
|
|
|
hi friends,
i have one form in that form i have two tabs when i refresh the form according to time interval its working fine but when iam in second tab the page is refresh and come to tab one it should not come to tab one it should stay in the tab two and it has to refresh.
-- modified at 5:30 Tuesday 21st August, 2007
kirankumar
|
|
|
|
|
Well, you can put what the active tab is on the URL, so that when you refresh, it knows what to show. Or you can move to AJAX for the data you're polling in your refresh
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I see you know that punctuation marks DO exist, so why don't you start using them so we can better understand what you're saying?
What kind of tab is it? in ASP.NET, you don't have a tab control, only in Windows forms do they exist.
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
thanks Rich cook
its a asp:menu control in that i taken items as asp:menuitem and named the two tabs..
kirankumar
|
|
|
|
|
Ok, so you use a menu to select the tabs. but the tabs themselves, how do you define them? do you have for example a multiview control with 2 views inside? or what?
And i'm not Rich Cook
Talal
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|