|
shriyangika wrote: how database connectivity is done in ASP.NET2.0 with C#
It isn't. ADO.NET is the component of the .NET framework responsible for database interaction.
|
|
|
|
|
Why would you ask such a thing ? If you're incapable of buying a book, or using google, why would you be capable of understanding the answer ? Assuming someone was willing to take the time to write a detailed article, in the form of a forum reply, when this site has articles explaining this, already.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
yaa!! realy they are a wasting for time and the creativity of forums
|
|
|
|
|
ok.........i m a cause of hampering interactivity and creativity of forum and time wasting...so i will never ask anythiing 4m now..
|
|
|
|
|
Hi,
I am importing records from csv file. It contains 3-4 columns but that are not fixed.
and there is no header for the column. I am sending sms through csv file. Now I am reading it from csv file and inserting it into the database and after then fetching each row from the database and fire the sms on a given number. So it takes time to execute when there are more than 1000 records.
User can write mob no any where in the column. There are 10 fixed column so that user can send sms with name or price with mob no.
Should I go with the windows service or webservice. I want fast processing.
Thanks
|
|
|
|
|
sjs4u wrote: Should I go with the windows service or webservice. I want fast processing.
Neither of those options will affect how fast you can process a line of data in a CSV file. They only affect how the applications runs.
A windows service can run constantly while windows is running.
A webservice runs inside IIS and runs only when it receives a request. IIS can, and will, shut down the service if it has not received any requests for a while.
|
|
|
|
|
sjs4u wrote: Should I go with the windows service or webservice. I want fast processing.
You are plainly clueless. A webservice and a windows service are two utterly different things. You would choose based on which does what you require. As it stands, I think you should abandon your project, and do some study.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi ,
I have doubt regarding the PopUps in .net.
I want popups from bottomright like Gmail Chats..
when we enter Gmail Chat we get popups from the bottom indicating new mails have come ... like that when i login in my website if there are any mails i have to get popups indicating new msgs came....
i have an example from codeproject.com
eeeksoft.web.popupwin
But this is not working properly...
Do anybody have the code.It is very very urgent for mee.....
Thanks
Murali
|
|
|
|
|
ballameharmurali wrote: i have an example from codeproject.com
eeeksoft.web.popupwin
But this is not working properly...
Why ? What problem are you facing to use it ? I have used that control few years back and its worked perfectly for me.
ballameharmurali wrote: It is very very urgent for mee.....
Really
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
hi,
It is working Fine in .net 2005 but in 2008 it is not working .... Error is not comming but pop up is not cooming ...
Is there any solution for this !!!!
Thanks
Murali
|
|
|
|
|
Are you stupid ? The solution is to fix your code. You've not posted any code, so how can we help you ? Try also explaining how you've done your own debugging. Did you set IE to report all errors ? Did you check the script to see what is being generated ? Did you step through the script in debug mode to see what is happening ? Did you do anything apart from asking us to do your job for you ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
ballameharmurali wrote: i have an example from codeproject.com
eeeksoft.web.popupwin
But this is not working properly...
What error it shows?
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
Hi ,
No error but no pop up is comming
Thanks
Murali
|
|
|
|
|
.I have 2 Labels in my asp.net page.The text Property of labels will be null.there will be a dropdown menu (Eg.Arabic,English).i want to pass dropdown menu value to class file and inside class file i should define labels.Label text property should be fetched from resource file(eg.ResourceEng,ResourceArab.resx)and pass text value to Labels in asp.net page.
|
|
|
|
|
Hi,
I have a ASP.NET page, in which I have to compare two Dates. One comes from Database, and other one is selected from Calendar Control, assigned to textbox. When I code...
If CDate(txtDespDate.Text) < CDate(MasterDispDt) Then
LabelMsg.Text = "Invalid Date Selection"
Exit Sub
End If
This is the Error I am getting,
Error Message: Conversion from string "21-04-2009" to type 'Date' is not valid.
Source : Microsoft.VisualBasic
Stack Trace : at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value)
at DocTransfers.BtnTransfer_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
|
|
|
|
Dim time1 As String = DateTime.Parse("2:15 PM").ToString("t") <br />
Dim time2 As String = DateTime.Now.ToString("t") <br />
<br />
If DateTime.Compare(DateTime.Parse(time1), DateTime.Parse(time2)) < 0 Then <br />
Response.Write("time1 is less than time2") <br />
Else <br />
Response.Write("time1 is greater than time2") <br />
End If
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
use DateTime.ParseExact to convert your date in "dd/mm/yyyy" fromat to "mm/dd/yyyy" format, since sql only recognises the latter format.
eg:
<br />
Dim invoicedate As DateTime = DateTime.ParseExact(Inv_Date.Text, "dd/MM/yyyy", System.Globalization.CultureInfo.CurrentCulture)
Hope it helps...
When you fail to plan, you are planning to fail.
|
|
|
|
|
To convert a string to date, the date format should be MM/DD/YYYY OR MM/DD/YY.
The date "21-04-2009" is in the format dd-mm-yyyy.
This is the reason for the error.
Convert the string to correct format and your will get the result.
|
|
|
|
|
can i create theme of custom control if yes then how??
Government Dyal Singh College Lahore.
|
|
|
|
|
Yes. Themes
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
Hi,
I have a button in my .aspx file and i have written a method called btnGetDetails() in javascript. But when i run the file, its saying ASP.something_aspx does not contain a definition for btnGetDetails().
Can anybody help me please........
scarface
|
|
|
|
|
You need to understand what happens on the server and what happens on the client. OnClientClick is what you want to call. Return false to stop a postback.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
you need to call btnGetDetails() onClentClick event ,and stop the postback....
prabhakar dwivedi
|
|
|
|
|
You can also do like this:
YoubtnID.Attributes.Add("onclick","return btnGetDetails()");
Then put the code in Page_Load Event
|
|
|
|
|
how to add scrollbar in ajax autocomplete extender
and is thr any way to fetch data from database table(4000 records) quickly... n use client caching.. n filter data in autocomplete extender using caching...
????????????????
|
|
|
|