|
I need to put "<b>" in a stored procedure so that one of the columns is in bold. The reason I am doing it this way is because I am merging 2 columns into 1 and then displaying it in a listbox.
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
The answer is yes, as long as your database columns are not numeric types - if they are then you need to cast them to varchar.
create table #b1 (nme varchar(10), valuecol in)
select name + 'html codes' + convert(varchar,valuecol)
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Its possible as described above, but rarely is it a good solution. Databases are for data, UI's are for presentation.
|
|
|
|
|
Hi
i want write a windows service and start it in spesific time and date but i dont know set a parameter for onstart method. can any body help me or give me a sample
|
|
|
|
|
|
can u say where should i ask?
|
|
|
|
|
Hi,
Windows services are program that runs in the background forever, however if you want to start your service at a particular time you will have to implement service controller. But i dont know why you want to do that. Just implement timer control and check for the event at which you want your windows service to do something
Regards
|
|
|
|
|
i want it start a particulat time or date . my mean is i want run it in particular time or date.
can write me a simple example about time plz. my behinde code is this:
protected override void OnStart(string[] args)
{
//TODO: Add code here to start your service.
ServiceController controller = new ServiceController();
string status = controller.Status.ToString();
eventLog1.WriteEntry("my service started");
//Start the service
controller.Start();
//Stop the service
controller.Stop();
}
and how can we trace it?
|
|
|
|
|
|
for encryption and decryption of the web.config file iam using data DataProtectionConfigurationProvider the problem is when the project was in d drive then
the encryption and decryption of config file working properly .but whn it is kept in the c: drive it is giving a error that unterminate string error it is giving .how this problem resolved.
|
|
|
|
|
The project is working when it was in drive d and then keeping it in c drive if is not working then there must be some configuration issue.
I have face the same kind of problem but for issue tracker and It got reslove by Registering the DLL
Start>Run>
regsvr32 %windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
so just try it
Good Luck
|
|
|
|
|
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll was loaded, but the DllRegisterServer entry point was not found.
|
|
|
|
|
Just go to IIS and right clicked on your website, clicked permissions, then add IIS_WPG from the local server and give full permission to it.
|
|
|
|
|
hello joshi iam not able to find this one will u please the correct process again
|
|
|
|
|
|
Hi Guys
Is it possible to show two columns in a Listbox?
thanks
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
No there is no way to show to coloumns in ListBox as per my knowledge
Why do you want to show 2 coloumns in one ListBox ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
I need to show the ID and the description of a field
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
There is another way put the description as tool tip instead
or create one arrayList with ID +" add space "+description
and use this array list as datasource to listbox
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Perfect, that is what I needed, thanks!
Deliver yesterday, code today, think tomorrow.
"http://www.heuse.com/cphumor.htm"
|
|
|
|
|
Do that CONCAT your column fields in Your Query.and get return back it
then bind your List.
Like this
select (id +' | ' +name )as name,id from Emp
and bind your
List.DataTextField="name";
List.DataValueField="id";
..............
..............
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
I have a user control which is used in three different place of page. i have to save the data from each of these user control
to first datatable(temporary) and then finally from that datatable to database.
so if i have a usercontol1 which have textboxes and submit button (temp_submit) these user control is used in different place of same page
so when i press temp_submit from one place i.e where usercontrol is used, it should save to datatabe now again if the same user control
from another place in page, if button (temp_submit) is clicked the then the values of text box should be append to that datatable
and latter on when i click main submit button every thing should be save to datatbase.
|
|
|
|
|
Just create a property that will differetiate between the control's submit button will update database and the control's submit button will update DataTable
Assign this property in while decalring the cotrol only
<UC:UCNAME id="IDPARYT" UpdateDatabase="true" runat="server"></UC:UCNAME >
lt;UC:UCNAME id="DontUpdate" UpdateDatabase="False" runat="server"></UC:UCNAME >
In code Behind in button click just check this property
if(UpdateDatabase)
{
Update Database
}
else
{
Update Data Table
}
If things are very comlicated then create different user control instead
it is not going to hit perforamance any way
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
hi
is it possible that i open a invisible window open through javascript. is there any attribute of the java function window.open property invisible?
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
I think for that you will have to write invisible javascript code
just kidding
Not possible i think
Can you tell why you want to open such window ?
Whats the requirement
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|