|
|
|
venky456 wrote: textdoc
What is this?
If it is TextBox then use textdoc.Text
bEst rEgard
PathAn
|
|
|
|
|
Hai all,
i have one grid view ,and in that i display all the employee list of perticular departement ,and for perticular employee attendance i have maintain 7 columns for day1,day2,day3......
if i want to select the radio buttonlist for attendance,
then what could i do,
send me some sample code with explanation
Thanks
Subbu.
|
|
|
|
|
Whats your actual requirement?Please first explain your query in brief.
beSt rEgard
pathAn
|
|
|
|
|
hai ,
my Requirement is maintaining attendance of a employee.
in my gridview i have employeename and one perticular week days as columns.
in every column of days ,i have radiobuttin list 1.present 2. half day 3. Abscent
in that if perticular employee is not attended the office ,then half day radio button should be checked and that perticular data should be saved in \DB
Thanks
Subbu.
|
|
|
|
|
Ok now
Take one Button control out side of gridview.On click of button,looping through gridview rows ,find out EmployeeId and attandance value from the radiobuttonList and insert data in the DB.
for example
on click of button
foreach(GridViewRow gRows in GridView1.Rows)
{
int EmpId=int.Parse(((Lable)gRows.FindContrl("EmpId")).Text);
int AttandaceVal=int.Parse(((RadioButtonList)gRows.FindControl("rBtn")).SelectedItem.Value);
}
bEst REgarD
pAthAn
please don't forget to vote on the post that helped you.
|
|
|
|
|
hi,
I am designing a ASP web based system using VB.Net language, it performs some calculations and should show results, I need these results to be in chart,
How can I do it to have the chart as output of the system
Thanks
There is always something to learn
|
|
|
|
|
I guess .NET Framework doesnot have a built-in Chart Component. You need to use some third party component .NET Charting[^] or Dundas Chart[^]. You can either try .NET crystal Report which has a Chart Control in it.
Regards - J O H N -
|
|
|
|
|
thanks,
do these third parties take the results from my program?it is realy nice
Best wishes
There is always something to learn
|
|
|
|
|
No. your company has to purchase the full version of the component from them. If you want check those components, You can download the Demo Version(dll) and the Sample .NET code from the Website and check whether it suit's your requirement. I have worked on .NET Charting Tool. It's really excellant and powerful.
Regards - J O H N -
|
|
|
|
|
Dear John !!
Im going to ask you a very stupid and simple question, please give me your valuable instructions...
dbo.Books is PK table
dbo.Category is PK table
dbo.BooksCategory is FK table
now im going to add a book into dbo.Books table. I got bookID=1001 and CategoryID=101.
my question is when should I insert data into dbo.BooksCategory table
1. insert data into dbo.books then dbo.bookscategory
2. insert data into dbo.bookscategory then dbo.books
is their anything i can do on my sql server 2005 database or i have to write a function to insert data into dbo.bookscategory from asp.net
waiting for a good instructions not like learn the basics
Sarfarj Ahmed
|
|
|
|
|
Please ask your Question in the Suitable Forum.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Thanks for your reply.
Im using asp.net and sql server 2005
i have design my database using sql server 2005 and writing code in asp.net (vb scipt)
Thanks
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: Dear John !!
This is a common forum. Donot Post your question to a particular person. Because Someone else in the forum may have a better solution.
Regards - J O H N -
|
|
|
|
|
Thanks John
I am not gonna do it again.
Im waiting for your instructions
Sarfaraj
Sarfarj Ahmed
|
|
|
|
|
You don't need to have a BooksCategory table. simplify it. Add a Foreign Key Column to the Books Table which will hold the CategoryID info.
Note: You have posted a SQL question in the ASP.NET forum.
Regards - J O H N -
|
|
|
|
|
books then bookscategory.
A simple way to test this would be to try and do it the other way around, you'll find it doesn't work. Note the word try here...
|
|
|
|
|
Hi friends
I am using following code in my page
Using(Employee objEmp=new Employee())
{
txt.EmployeeName.Text= .EmployeeName
}
This code is not working like as "With" for VB
can any one tell me how to use 'Using' in C#?
thanks
pAthAn
|
|
|
|
|
With and Using are two different things. When using 'using' the object created is disposed of when complete, and exists only for the duration of the statement. With is just a shortcut to save you typing the name of the object multiple times but has no other functionality.
|
|
|
|
|
|
hi,
i am developing an search engine based on indexing server.
in my application i give the search keyword at freetext in query.
it works well but problem is i want to search it as single phrase.but it search like multiple words.
its my query .
plz send reply asap.
string query = "Select Characterization,contents,DocPartTitles,Path,DocKeywords,DocTitle,Filename,Size,URL from Scope() where freetext('" + DDL_doctor.SelectedItem + "') order by filename ";
venkat
|
|
|
|
|
venky456 wrote: where freetext('" + DDL_doctor.SelectedItem + "') order by filename ";
DDL_doctor.SelectedItem.Text
Regards - J O H N -
|
|
|
|
|
sorry its also searching like multiple keywords not exact phrase.
regards
venkat
|
|
|
|
|