|
Check the link [^]">
Cheers!!
Brij
|
|
|
|
|
First of All welcome to Code Project.
kumar Rajiv wrote: What is postback? Why it is used? what is the meaning for !Is postback?
Please reply to this question
Before posting in this forum, Just read the forum guide line. As a new member you should read it.
Google can give you billion of result of that question, so first try to find it in google. Then post here. Other wise it will just spamming the sites. Lots of people will give the same answer.
So please keep it in mind from next time .
Good luck !!!
cheers,
Abhijit
|
|
|
|
|
Assuming this is really your first post, welcome to CP. We have subject lines in our posts so we can tell people what we want help with. Everyone here wants help with ASP.NET, although I agree that your problem appears to be that you have no idea at all. You're at the stage where you need to buy a book and work through it, not post random questions to the internet based on stuff you heard the programmers you work near ( I assume you're not a programmer at this point ), discuss over the water cooler.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Morning all,
My appologies in advance if i'm asking this in the wrong page - my train of thought was that most people in here would have a opinion.
Anyway.....i've started learning c# at university and all is going well (so far !!) and i increasingly see ASP.NET mentioned alongside.
Can anyone give me some advice as to a good book to pick up to start learning ASP.NET also.
I'v looked on Amazon and places like that and there are plenty to choose from, i just don't want to buy a book that i won't understand because it's too advanced so though i'd ask those that might know - you guys !
If it helps anyone - i've used the O'Reilly 'Head First' range and found them very helpful in the past.
Thanks in advance
Neil
|
|
|
|
|
Here hundreds of pages of tutorials and dozens of hours of video to help you learn ASP.NET 2.0 and Visual Web Developer. This content is tailored to a variety of learning styles and technical levels
http://www.asp.net/learn/
You can download free of cost.
|
|
|
|
|
You can a lotz more books.I found books from APress really good.You can go for Wrox too.Google is always in one of the best options.
Cheers!!
Brij
|
|
|
|
|
Read Beginning and Pro Asp.net From Apress.
and Google
nlowdon wrote: My appologies in advance if i'm asking this in the wrong page
From next time while post, first search google
cheers,
Abhijit
|
|
|
|
|
Thanks folks, i'll look some of theses up !
Abhijit Jana wrote: From next time while post, first search google
Like i said Abhijit, i have already searched online bookstores, google etc -sometimes it better to ask people who have possibly been in the same situaton, or found a book that really 'worked' well.
Don't worry - i wasn't asking anyone to do any of the work FOR me. Mearly asked for an opinion.
Neil
|
|
|
|
|
Hi, I'm using crystal report, which is in vs 2005.
I've created a report with Sql Command. In the command, I've writen my query with parameter. I can preview the report by giving the parameter. How should I pass the query parameter to the report?
param1Field.ParameterFieldName = "pEmpCode"
param1Range.Value = ddlEmpCode.SelectedValue
param1Field.CurrentValues.Add(param1Range)param1Fileds.Add(param1Field)CrystalReportViewer1.ParameterFieldInfo = param1Fileds CrystalReportViewer1.ReportSource = "Reports\rptEmpDetails1.rpt" CrystalReportViewer1.RefreshReport()CrystalReportViewer1.Visible = True
If i use this, It is asking again the parameter value. Thanks in adv.
Balasubramanian K.
|
|
|
|
|
Please Ignore : Repost
cheers,
Abhijit
|
|
|
|
|
I'm sorry my dear friend. I could not view the previous post well. Thats why I post my qstn. again.
Balasubramanian K.
|
|
|
|
|
Then you can always edit it, instead of posting it again.
|
|
|
|
|
Hi all....!
I am using ScriptManager.RegisterStartUpScript(); in my login form to open new window. this is working properly. Now the problem is i don't want to allow user to have access of the parent window (i.e. the window from which new window is open) until the new window is closed. So What should i do for this. This means I want to disable background window untill new window is closed.
Is anybody has answer for this, please reply soon.
Thank u all.
.
|
|
|
|
|
Use modalDialog instead of new popup windowIt doesn't allow the user to access parent window till modaldialog is closed.
Cheers!!
Brij
|
|
|
|
|
Hi I am using crystal report, which is in vs 2005. I've created a report with Sql Command. In the command, I've writen my query with parameter. I can preview the report by giving the parameter. How should I pass the query parameter to the report?
param1Field.ParameterFieldName = "pEmpCode" param1Range.Value = ddlEmpCode.SelectedValue
param1Field.CurrentValues.Add(param1Range)
param1Fileds.Add(param1Field)
CrystalReportViewer1.ParameterFieldInfo = param1Fileds CrystalReportViewer1.ReportSource = "Reports\rptEmpDetails1.rpt" CrystalReportViewer1.RefreshReport()
CrystalReportViewer1.Visible = True
If i use this, It is asking again the parameter value. Thanks in adv.
Balasubramanian K.
|
|
|
|
|
|
Hi,
I need to post my application 's content (link or html code) to Blogger by getting Blogger username & password from the user & post my application 's content (link or html code) in his Blogger site.
(More details:
In this following link
http://www.quibblo.com/quiz/3b_qEvo/Have-you-finished-your-Holiday-gift-shopping-yet
To the right side of the page you can see YOUR QUIZ TITLE WILL GO HERE
,below that option are there to post the my application 's content (link or html code) to Blogger;i need to implement that functionality ; ie i need to post my application 's content (link or html code) to Blogger.)
Please help me with regard to the problem.
Regards,
prabhu
|
|
|
|
|
Hi! I am keep getting this error in my web application, here is what I am doing:
<pre> sqlDataSource sqlDataSource2 = new SqlDataSource();
sqlDataSource2.ID = "workoutScheduleDataSource";
Page.Controls.Add(sqlDataSource2);
sqlDataSource2.ConnectionString = WebConfigurationManager.ConnectionStrings["ClassScheduleConnString"].ConnectionString;
sqlDataSource2.SelectCommand = "SELECT Workout_Name, WorkoutType, MembersAttending, DateSelected, Explanation FROM WorkoutTable WHERE AddedBy = '" + user + "'";
gridviewWorkout.DataSource = sqlDataSource2;
gridviewWorkout.AutoGenerateSelectButton = true;
gridviewWorkout.DataBind();</pre>
when it gets to the last line gridviewWorkout.DataBind(), it gives me the error that: "A field or property with the name 'AddedBy' was not found on the selected data source." I am testing the query with SSMSE, at the same table, and it works just fine...but here I am getting error. Any help will be appreciated. Thx ahead, Laziale
|
|
|
|
|
In your binding in the markup, are you trying to bind a column called AddedBy, as it is not returned in your source.
|
|
|
|
|
here is what I have in my markup:
<pre> <asp:GridView ID="gridviewWorkout" runat="server" AutoGenerateColumns="false">
<Columns>
<asp:BoundField HeaderText="Workout Name" DataField="Workout_Name" />
<asp:BoundField HeaderText="Added By" DataField="AddedBy" />
<asp:BoundField HeaderText="Workout Type" DataField="WorkoutType" />
<asp:BoundField HeaderText="Members Attending" DataField="MembersAttending" />
<asp:BoundField HeaderText="Date" DataField="DateSelected" />
<asp:BoundField HeaderText="Explanation" DataField="Explanation" />
</Columns></pre>
within the DataField I have declared the columns as they are in my table in the database.
|
|
|
|
|
Yes, but your SQL statement does not actually return a column for the AddedBy, you just have it in your where clause.
|
|
|
|
|
I have this piece of code at another page within this project, and it works just fine:
<pre> SqlDataSource sqlDataSource1 = new SqlDataSource();
sqlDataSource1.ID = "trainingScheduledatasource";
Page.Controls.Add(sqlDataSource1);
sqlDataSource1.ConnectionString = WebConfigurationManager.ConnectionStrings["ClassScheduleConnString"].ConnectionString;
sqlDataSource1.SelectCommand = "SELECT Class_Name, ClassType, MembersAttending, Staff, DateSelected, Explanation FROM ClassSchedule WHERE AddedBy = '" + user + "'";
gridviewClass.DataSource = sqlDataSource1;
gridviewClass.AutoGenerateSelectButton = true;
gridviewClass.DataBind();</pre>
where is the difference? it looks same to me
|
|
|
|
|
That's very nice. You've said in your grid (in the markup), that you want to display data for a field called AddedBy.
When you bind the data, the grid goes and looks in your returned data for a field by that name. It's not there. Grid isn't happy and throws an error.
You need to put another field in your select statement for the first case, return the AddedBy field, or remove that column from the grid.
|
|
|
|
|
laziale wrote: WHERE AddedBy = '" + user + "'";
Error Says , AddedBy not found . Did you try with "Like " rather than "="
cheers,
Abhijit
|
|
|
|
|
no...it didn't help , thx anyway
|
|
|
|